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
/* * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". */ /* $Id$ */ #ifndef UTIL_OPT_TYPES_H #define UTIL_OPT_TYPES_H typedef char byte; typedef char bool; typedef struct line line_t; typedef struct line *line_p;...
Godzil/ack
util/opt/types.h
C
bsd-3-clause
701
<?php namespace backend\helpers; use backend\models\Order; use backend\models\Call; use backend\models\Review; use yii\helpers\Html; class AdminMenuStatus { public static function badges($modelName) { $count = 0; switch ($modelName) { case 'Order': $count = Order::...
Ravend6/php_yii2_ecommerce
backend/helpers/AdminMenuStatus.php
PHP
bsd-3-clause
1,160
<?php namespace Auth\Model; use Zend\Db\TableGateway\TableGateway; class UserTable { protected $tableGateway; protected $_name = 'users'; public function __construct(TableGateway $tableGateway) { $this->tableGateway = $tableGateway; } public function getUser($id) { ...
Zbintiosul/zf2-tutorial
module/Auth/src/Auth/Model/UserTable.php
PHP
bsd-3-clause
1,927
/* -- MAGMA (version 2.1.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date August 2016 @author Hartwig Anzt @generated from sparse-iter/src/zcustomic.cpp, normal z -> s, Tue Aug 30 09:38:58 2016 */ #include "magmasparse_inte...
maxhutch/magma
sparse-iter/src/scustomic.cpp
C++
bsd-3-clause
4,038
/** * Css lint grunt task for CARTO.js * */ module.exports = { task: function() { return { dist: { options: { check: 'gzip' } }, themes: { options: { banner: '/* CartoDB.css minified version: <%= version %> */', check: 'gzip' }...
splashblot/cartodb.js
grunt/tasks/cssmin.js
JavaScript
bsd-3-clause
475
package nodejs_test import ( "log" "net" "net/http" "net/http/httptest" "os" "os/exec" "path/filepath" "syscall" "testing" "time" "github.com/yookoala/gofast/example/nodejs" ) func examplePath() string { basePath, err := os.Getwd() if err != nil { panic(err) } return filepath.Join(basePath, "src", "...
yookoala/gofast
example/nodejs/nodejs_test.go
GO
bsd-3-clause
7,583
package net.ripe.db.whois.api.whois; import com.google.common.base.Function; import com.google.common.base.Joiner; import com.google.common.base.Splitter; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import com.google.common.net.InetAddresse...
APNIC-net/whois
whois-api/src/main/java/net/ripe/db/whois/api/whois/WhoisRestService.java
Java
bsd-3-clause
27,939
package com.wixpress.petri.petri import java.util import java.util.UUID import com.wixpress.petri.experiments.domain.{Experiment, ExperimentSpec} /** * @author Dalias * @since 3/22/15 */ trait PetriDeveloperApi { def getFullUserState(userGuid: UUID): UserState def migrateStartEndDates(): Unit def addSpec...
wix/petri
petri-server-core/src/main/java/com/wixpress/petri/petri/PetriDeveloperApi.scala
Scala
bsd-3-clause
449
FactoryGirl.define do factory :dmi_order_ready_to_ship, parent: :order_ready_to_ship do dmi_status 'processed' dmi_order_number { (1..8).map { rand(10) }.join } end factory :shipped_dmi_order, parent: :shipped_order do dmi_status 'processed' dmi_order_number { (1..8).map { rand(10) }.join } en...
manmartinez/spree_dmi
lib/spree_dmi/factories.rb
Ruby
bsd-3-clause
777
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com // Original code is licensed as follows: /* * Copyright 2008 ZXing authors * ...
DrAlexx/pdfium
xfa/fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp
C++
bsd-3-clause
6,779
<!DOCTYPE html> <meta charset="utf-8"> <style> body { font-family: Helvetica; font-size: 10px; } .point { fill: black; } rect, circle, line { fill: none; stroke: black; stroke-width: 1; } </style> <body> <script src="../node_modules/d3/build/d3.js"></script> <script src="../build/d3-gridding.js"></script> ...
romsson/d3-gridding
example/layout-benchmark.html
HTML
bsd-3-clause
2,050
// 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/devtools/devtools_window.h" #include <algorithm> #include "base/command_line.h" #include "base/json/json_reader.h" #include...
ChromiumWebApps/chromium
chrome/browser/devtools/devtools_window.cc
C++
bsd-3-clause
56,093
/*================================================================================ 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/LicenseServerUnavailableEvent.java
Java
bsd-3-clause
1,988
// // KBPGPDecryptAppView.h // Keybase // // Created by Gabriel on 4/27/15. // Copyright (c) 2015 Gabriel Handford. All rights reserved. // #import <Foundation/Foundation.h> #import <Tikppa/Tikppa.h> #import "KBRPC.h" @interface KBPGPDecryptAppView : YOView @property KBNavigationView *navigation; @property (non...
keybase/client
osx/KBKit/KBKit/UI/PGP/KBPGPDecryptAppView.h
C
bsd-3-clause
354
// vim:filetype=java:ts=4 /* Copyright (c) 2007 Conor McDermottroe. 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, th...
conormcd/exemplar
tests/junit/src/junit/com/mcdermottroe/exemplar/input/AbstractInputModuleTest.java
Java
bsd-3-clause
2,000
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd 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...
wayfinder/Wayfinder-Server
Server/MapGen/src/OldMapIdByName.cpp
C++
bsd-3-clause
7,659
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2016, Image Engine Design 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: // // * R...
chippey/gaffer
include/GafferSceneUI/ShaderView.h
C
bsd-3-clause
4,310
<?php /** * @var $cart \yz\shoppingcart\ShoppingCart */ use app\modules\store\models\StoreProduct; use app\modules\store\models\StoreProductCartPosition; use common\models\Currency; use metalguardian\fileProcessor\helpers\FPM; use yii\helpers\Url; $cart = Yii::$app->cart; $positions = $cart->getPositions(); $totalCo...
tolik505/baby
frontend/themes/basic/modules/store/views/cart/cart.php
PHP
bsd-3-clause
4,156
/* * Copyright (C) 2011 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
endlessm/chromium-browser
third_party/blink/renderer/core/scroll/scrollbar_theme.cc
C++
bsd-3-clause
13,214
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"> <link rel="up" title="FatFs" href="../00index_e.html"> <link rel="al...
rodb70/gendosfs
doc/en/dread.html
HTML
bsd-3-clause
2,992
<?php namespace app\modules\admin\controllers; use yii\web\Controller; use yii; class TestController extends Controller { public $enableCsrfValidation = false; //后台登录界面 public function actionIndex(){ return $this->renderPartial('index.html'); } //登录 public function actionLogin(){ ...
uoi00/basic
modules/admin/controllers/TestController.php
PHP
bsd-3-clause
1,092
<?php namespace common\libraries\sdk\alipay\request; /** * ALIPAY API: alipay.trade.wap.pay request * * @author auto create * @since 1.0, 2016-04-29 17:06:46 */ class AlipayTradeWapPayRequest { /** * 手机网站支付接口2.0 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $termin...
Youxiang11/wenheyou
common/libraries/sdk/alipay/request/AlipayTradeWapPayRequest.php
PHP
bsd-3-clause
1,901
""" Menu-driven login system Contribution - Griatch 2011 This is an alternative login system for Evennia, using the contrib.menusystem module. As opposed to the default system it doesn't use emails for authentication and also don't auto-creates a Character with the same name as the Player (instead assuming some sort...
GhostshipSoftware/avaloria
contrib/menu_login.py
Python
bsd-3-clause
13,491
<?php /* @var $this \yii\web\View */ /* @var $content string */ use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use frontend\assets\AppAsset; use common\widgets\Alert; AppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$a...
FeR-S/judlit
frontend/views/layouts/main.php
PHP
bsd-3-clause
9,460
// 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 CHROME_BROWSER_UI_BROWSER_H_ #define CHROME_BROWSER_UI_BROWSER_H_ #include <map> #include <set> #include <string> #include <vector> #include...
ltilve/chromium
chrome/browser/ui/browser.h
C
bsd-3-clause
40,773
// Copyright 2013 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 "net/quic/crypto/quic_crypto_server_config.h" #include <stdlib.h> #include <algorithm> #include "base/macros.h" #include "base/memory/ref_coun...
was4444/chromium.src
net/quic/crypto/quic_crypto_server_config.cc
C++
bsd-3-clause
64,803
#!/usr/bin/env python # # Copyright (c) 2013 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. """Runs Android's lint tool.""" import argparse import os import re import sys import traceback from xml.dom import minidom fr...
was4444/chromium.src
build/android/gyp/lint.py
Python
bsd-3-clause
12,623
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE129_fscanf_14.c Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE129.label.xml Template File: sources-sinks-14.tmpl.c */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: fscanf Read data fr...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE122_Heap_Based_Buffer_Overflow/s06/CWE122_Heap_Based_Buffer_Overflow__c_CWE129_fscanf_14.c
C
bsd-3-clause
8,100
{-# LANGUAGE LambdaCase #-} module Main (main) where import System.Environment (getArgs) eyes = cycle ["⦿⦿", "⦾⦾", "⟐⟐", "⪽⪾", "⨷⨷", "⨸⨸", "☯☯", "⊙⊙", "⊚⊚", "⊛⊛", "⨕⨕", "⊗⊗", "⊘⊘", "⊖⊖", "⁌⁍", "✩✩", "❈❈"] shells = cycle ["()", "{}", "[]", "⨭⨮", "⨴⨵", "⊆⊇", "∣∣"] bodies = cycle ["███", "XXX", "⧱⧰⧱", "⧯⧮⧯", "⧲⧳⧲","🁢�...
getmillipede/millipede-haskell
app/Main.hs
Haskell
bsd-3-clause
1,023
<?php /** * JJPHP 视图基本类 * @package comm * @author zhuli <www.initphp.com> * @author zhengyouxiangxiang <zhengyouxiang00@gmail.com> * @copyright www.111work.com */ class View extends JJBase { public $variable = array(); //视图变量 private $templates = array(); //视图存放器 private $header; private $footer; ...
zhengyouxiang/JVPHP
core/comm/View.php
PHP
bsd-3-clause
2,004
/* * Copyright (C) 2015-2019 Fabrice Bouyé * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ package api.web.gw2.mapping.v2.professions; import api.web.gw2.mapping.core.IdValue; import api.web.gw2.mapping.core.Loc...
fabricebouye/gw2-web-api-mapping
src/api/web/gw2/mapping/v2/professions/Profession.java
Java
bsd-3-clause
2,236
<?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...
karthiksekarnz/educulas
tests/Zend/Form/_files/decorators/TableRow.php
PHP
bsd-3-clause
1,481
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.1008 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
NCIP/annotation-and-image-markup
AimPlugin4.5/XnatWebBrowser/SR.Designer.cs
C#
bsd-3-clause
3,623
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_class_malloc_18.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml Template File: sources-sinks-18.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Man...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s01/CWE762_Mismatched_Memory_Management_Routines__delete_array_class_malloc_18.cpp
C++
bsd-3-clause
3,254
""" Concurrent downloaders """ import os import sys import signal import logging import itertools from functools import partial from concurrent.futures import ProcessPoolExecutor from pomp.core.base import ( BaseCrawler, BaseDownloader, BaseCrawlException, ) from pomp.contrib.urllibtools import UrllibDownloadWorke...
estin/pomp
pomp/contrib/concurrenttools.py
Python
bsd-3-clause
5,193
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\Docreceive */ $this->title = 'Update Docreceive: ' . $model->id; $this->params['breadcrumbs'][] = ['label' => 'Docreceives', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $...
N1kolayS/PCExpert
backend/views/docreceive/update.php
PHP
bsd-3-clause
538
var map; window.onload = function() { var mm = com.modestmaps; var dmap = document.getElementById('map'); wax.tilejson('https://a.tiles.mapbox.com/v3/examples.map-i86l3621.jsonp', function(tj) { map = new com.modestmaps.Map(dmap, new wax.mm.connector(tj), null, [ ...
mapbox/easey-DEAD
index.js
JavaScript
bsd-3-clause
1,531
#ifndef FUNCTION_TRAITS_HPP_071DD1DD_F933_40DC_A662_CB85F7BE7F00 #define FUNCTION_TRAITS_HPP_071DD1DD_F933_40DC_A662_CB85F7BE7F00 #pragma once /* function_traits.hpp */ /* Copyright © 2014 Far Group All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted pr...
FarGroup/FarManager
far/common/function_traits.hpp
C++
bsd-3-clause
2,852
/* - Fahre zu Position Start - Falls nicht moeglich, emergencyStop - Mache x milisekunden Xsens-Following, dann einen Turn - Falls nicht moeglich, state ueberspringen - Fahre zu Position B - Falls nicht moeglich, emergencyStop - Mache Turn 180 - Falls nicht moeglich, stat...
iti-luebeck/HANSE2011
Hanse/TaskXsensNavigation/taskxsensnavigation.cpp
C++
bsd-3-clause
11,340
/** * */ package gov.nih.nci.cagrid.portal.portlet.discovery.list; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.springframework.orm.hibernate3.HibernateTemplate; import gov.nih.nci.cagrid.portal.domain.DomainObject; import gov.nih.nci.cagrid.portal.portlet.discovery.dir...
NCIP/cagrid
cagrid/Software/portal/cagrid-portal/portlets/src/java/gov/nih/nci/cagrid/portal/portlet/discovery/list/ListBean.java
Java
bsd-3-clause
1,495
<?php require __DIR__ . '/src/Beers/Module.php';
fxcosta/APIgility-skeleton
module/Beers/Module.php
PHP
bsd-3-clause
48
/* Copyright (c) 2007, Robert Wallström, smithimage.com All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of condition...
smithimage/MIMER
MIMER/RFC822/Field.cs
C#
bsd-3-clause
2,010
package com.jamierf.rsc.dataserver.api; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; public class SessionCredentials extends UserCredentials { public static boolean isValid(String username, String password, int[] keys) { return UserCredentials...
reines/rsc
dataserver/dataserver-api/src/main/java/com/jamierf/rsc/dataserver/api/SessionCredentials.java
Java
bsd-3-clause
998
<?php /** * @see https://github.com/laminas/laminas-view for the canonical source repository * @copyright https://github.com/laminas/laminas-view/blob/master/COPYRIGHT.md * @license https://github.com/laminas/laminas-view/blob/master/LICENSE.md New BSD License */ namespace Laminas\View\Helper; use Lamina...
deforay/odkdash
vendor/laminas/laminas-view/src/Helper/HtmlList.php
PHP
bsd-3-clause
2,190
<?php use yii\helpers\Html; /** * @var yii\web\View $this * @var app\models\UnidadeGeografica $model */ $this->title = 'Editar Unidade Geográfica ' . $model->getLabel() . ''; $this->params['breadcrumbs'][] = ['label' => 'Unidades Geográficas', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => (stri...
schvarcz/SisBIO
views/unidade-geografica/update.php
PHP
bsd-3-clause
798
// 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. #include "chrome/browser/importer/firefox_importer_utils.h" #include "base/file_util.h" FilePath GetProfilesINI() { FilePath ini_file; // The de...
rwatson/chromium-capsicum
chrome/browser/importer/firefox_importer_utils_linux.cc
C++
bsd-3-clause
670
<!-- BEGIN AUTHORED CONTENT --> <p id="classSummary"> The <code>chrome.types</code> module contains type declarations for Chrome. Currently this comprises only a prototype for giving other modules access to manage Chrome browser settings. This prototype is used, for example, for <a href="proxy.html#property-settings"...
keishi/chromium
chrome/common/extensions/docs/server2/templates/intros/types.html
HTML
bsd-3-clause
4,011
// Copyright (c) 2016-2018 Vivaldi Technologies AS. All rights reserved #include "extensions/api/access_keys/access_keys_api.h" #include <vector> #include "app/vivaldi_apptools.h" #include "extensions/api/tabs/tabs_private_api.h" #include "extensions/schema/access_keys.h" #include "ui/vivaldi_ui_utils.h" namespace ...
ric2b/Vivaldi-browser
extensions/api/access_keys/access_keys_api.cc
C++
bsd-3-clause
2,307
import {Content} from './Content'; export interface GuideCategory { id: number; name: string; content: Content; displayOrder: number; summary: string; description: string; additionalInfo: string; icon: string; }
UoA-eResearch/research-hub
src/app/model/GuideCategory.ts
TypeScript
bsd-3-clause
229
/* Title: Tools/jEdit/src/font_info.scala Author: Makarius Font information, derived from main jEdit view font. */ package isabelle.jedit import isabelle._ import java.awt.Font import org.gjt.sp.jedit.{jEdit, View} object Font_Info { /* size range */ val min_size = 5 val max_size = 250 ...
MerelyAPseudonym/isabelle
src/Tools/jEdit/src/font_info.scala
Scala
bsd-3-clause
2,074
package com.dslplatform.api.client import com.dslplatform.api.patterns.AggregateRoot import com.dslplatform.api.patterns.Identifiable import scala.reflect.ClassTag import scala.concurrent.Future class HttpCrudProxy(httpClient: HttpClient) extends CrudProxy { import HttpClientUtil._ private val CrudUri = "C...
ngs-doo/dsl-client-scala
http/src/main/scala/com/dslplatform/api/client/HttpCrudProxy.scala
Scala
bsd-3-clause
1,536
// 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 <GLES2/gl2.h> #include <GLES2/gl2ext.h> #include "base/threading/platform_thread.h" #include "gpu/command_buffer/tests/gl_manager.h" #includ...
junmin-zhu/chromium-rivertrail
gpu/command_buffer/tests/gl_query_unittests.cc
C++
bsd-3-clause
2,990
<?php namespace Artist\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; /** * Class Genre * @package Artist\Entity * @ORM\Entity * @ORM\Table(name="genres") */ class Genre { /** * @ORM\OneToMany(targetEntity="Artist", mappedBy="genre") */ private $artis...
JoshBour/byband
module/Artist/src/Artist/Entity/Genre.php
PHP
bsd-3-clause
2,512
// 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/predictors/autocomplete_action_predictor.h" #include <math.h> #include <vector> #include "base/bind.h" #include "base/guid...
keishi/chromium
chrome/browser/predictors/autocomplete_action_predictor.cc
C++
bsd-3-clause
20,718
// // NSItemProvider+TJImageCache.h // Wootie // // Created by Tim Johnsen on 5/13/20. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSItemProvider (TJImageCache) + (nullable instancetype)tj_itemProviderForImageURLString:(nullable NSString *const)imageURLString; @end NS_ASSUME_NONNULL...
timonus/TJImageCache
TJImageCache/NSItemProvider+TJImageCache.h
C
bsd-3-clause
325
# -*- tab-width : 4 -*- #======================================================================= # @file # @brief RX72N Makefile # @author 平松邦仁 (hira@rvf-rc45.net) # @copyright Copyright (C) 2020, 2021 Kunihito Hiramatsu @n # Released under the MIT license @n # https://github.com/hirakuni45/RX/blob/master/...
hirakuni45/RX
CAN_sample/RX72N/Makefile
Makefile
bsd-3-clause
1,163
# 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. import logging import os import time import traceback import urlparse import random import csv from chrome_remote_control import page_test from chrome_re...
junmin-zhu/chromium-rivertrail
tools/chrome_remote_control/chrome_remote_control/page_runner.py
Python
bsd-3-clause
6,385
// 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/extensions/browser_event_router.h" #include "base/json/json_writer.h" #include "base/values.h" #include "chrome/browser/exte...
junmin-zhu/chromium-rivertrail
chrome/browser/extensions/browser_event_router.cc
C++
bsd-3-clause
23,531
import * as asn1js from "asn1js"; import { getParametersValue, clearProps } from "pvutils"; import CertID from "./CertID.js"; import Extension from "./Extension.js"; //************************************************************************************** /** * Class from RFC6960 */ export default class Reques...
GlobalSign/PKI.js
src/Request.js
JavaScript
bsd-3-clause
6,218
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #ifndef NATIVE_EXTENSION_VTK_VTKINTERACTORSTYLEJOYSTICKACTORWRAP_H #define NATIVE_EXTENSION_VTK_VTKINTERACTORSTYLEJOYSTICKACTORWRAP_H #include <nan.h> #include <vtkSmartPointer.h> #include <vtkInteractorStyleJoystickActor.h...
axkibe/node-vtk
wrappers/8.1.1/vtkInteractorStyleJoystickActorWrap.h
C
bsd-3-clause
2,242
// $Id$ // Copyright (c) 2008-2009 Oliver Lau <oliver@von-und-fuer-lau.de> // Alle Rechte vorbehalten. #ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS 1 #endif #include <iostream> #include <iomanip> #include <fstream> #include <cstdlib> #include <cmath> #include <errno.h> #include <getopt.h> #include "gpslib/Track.h...
ola-ct/gpstools
areameter/areameter.cpp
C++
bsd-3-clause
4,031
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_75) on Sun Mar 22 18:10:17 CET 2015 --> <title>Uses of Class thobe.logfileviewer.gui.RestrictedTextFieldRegexp</title> <meta name="date...
ThomasObenaus/LogFileViewer
api/thobe/logfileviewer/gui/class-use/RestrictedTextFieldRegexp.html
HTML
bsd-3-clause
4,239
package info.tregmine.database; public interface IContextFactory { public IContext createContext() throws DAOException; }
EmilHernvall/tregmine
src/info/tregmine/database/IContextFactory.java
Java
bsd-3-clause
127
/* * Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider, * Jérémie Comarmond, Didier Colin. * 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 ...
benkaraban/anima-games-engine
Sources/HOO/HOOUserProtocol/CreateUserAccount.cpp
C++
bsd-3-clause
3,320
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Facebook; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; using OrchardCore.DisplayManagement.Handlers; using OrchardCore.Facebook.Login.Con...
petedavis/Orchard2
src/OrchardCore.Modules/OrchardCore.Facebook/StartupLogin.cs
C#
bsd-3-clause
1,754
// 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/chromeos/drive/drive_scheduler.h" #include "base/bind.h" #include "base/threading/sequenced_worker_pool.h" #include "chrome/...
junmin-zhu/chromium-rivertrail
chrome/browser/chromeos/drive/drive_scheduler_unittest.cc
C++
bsd-3-clause
8,727
{-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE KindSignatures #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE TemplateHaskell #-} -- | This module builds Docker (OpenContainer) images. ...
rvion/stack
src/Stack/Image.hs
Haskell
bsd-3-clause
8,426
<?php /* * This file is part of Cachet. * * (c) Alt Three Services Limited * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return [ // Setup form fields 'setup' => [ 'email' => 'Email', 'userna...
thijs1108/ParnasSys-statuspage
resources/lang/sq/forms.php
PHP
bsd-3-clause
7,472
// 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. /** * Global wallpaperManager reference useful for poking at from the console. */ var wallpaperManager; function init() { window.addEventListener(...
junmin-zhu/chromium-rivertrail
chrome/browser/resources/chromeos/wallpaper_manager/js/main.js
JavaScript
bsd-3-clause
659
function FileData_Pairs(x) { x.t("managing","samples"); x.t("clear","fields"); x.t("home","page"); x.t("required","click"); x.t("having","entered"); x.t("execute","copy"); x.t("copying","existing"); x.t("icon","having"); x.t("icon","search"); x.t("entitled","new"); x.t("sample","managing"); x.t("sample","c...
NCIP/cananolab
docs/webappOnlineHelp/wwhdata/js/search/pairs/pair25.js
JavaScript
bsd-3-clause
2,843
// 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 NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_ #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_ #include "base/basictypes.h" #include "...
junmin-zhu/chromium-rivertrail
net/url_request/url_request_context_storage.h
C
bsd-3-clause
3,981
<?php namespace Alpha\Controller; use Alpha\Util\Logging\Logger; use Alpha\Util\Logging\KPI; use Alpha\Util\Config\ConfigProvider; use Alpha\Util\Security\SecurityUtils; use Alpha\Util\Extension\TCPDFFacade; use Alpha\Util\Http\Request; use Alpha\Util\Http\Response; use Alpha\Util\Service\ServiceFactory; use Alpha\Ut...
alphadevx/alpha
Alpha/Controller/ArticleController.php
PHP
bsd-3-clause
25,517
<?php /* * This file is part of the Monolog package. * * (c) Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Monolog\Handler; use Monolog\Logger; /** * NativeMailerHandler uses the...
ruitiagocosta/veinteractive
www/veinteractive/vendor/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php
PHP
mit
4,920
/* * The Yices SMT Solver. Copyright 2014 SRI International. * * This program may only be used subject to the noncommercial end user * license agreement which is downloadable along with this program. */ /*********************************************************** * EXTENSION OF THE EGRAPH TO DEAL WITH FUNCTION ...
maelvalais/ocamlyices2
ext/yices/src/scratch/update_graph.c
C
isc
27,220
/*- * Copyright (c) 1991 Keith Muller. * Copyright (c) 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Keith Muller of the University of California, San Diego. * * Redistribution and use in source and binary forms, wit...
TigerBSD/TigerBSD
FreeBSD/usr.bin/pr/egetopt.c
C
isc
5,577
//===------ SimplifyLibCalls.cpp - Library calls simplifier ---------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
TigerBSD/TigerBSD
FreeBSD/contrib/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
C++
isc
94,896
package com.j256.ormlite.android.apptools; import java.sql.SQLException; import android.content.Context; import android.database.Cursor; import android.view.View; import android.widget.CursorAdapter; import com.j256.ormlite.android.AndroidDatabaseResults; import com.j256.ormlite.stmt.PreparedQuery; /** * Cursor ad...
dankito/ormlite-jpa-android
src/main/java/com/j256/ormlite/android/apptools/OrmLiteCursorAdapter.java
Java
isc
2,099
'use strict' /* global describe it beforeEach afterEach */ const cli = require('heroku-cli-util') const { expect } = require('chai') const nock = require('nock') const proxyquire = require('proxyquire') const addon = { id: 1, name: 'postgres-1', plan: { name: 'heroku-postgresql:standard-0' } } const fetcher = (...
heroku/cli
packages/pg-v5/test/commands/reset.js
JavaScript
isc
952
/* $OpenBSD: rt2860reg.h,v 1.19 2009/05/18 19:25:07 damien Exp $ */ /*- * Copyright (c) 2007 * Damien Bergamini <damien.bergamini@free.fr> * * 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...
eriknstr/ThinkPad-FreeBSD-setup
FreeBSD/sys/dev/usb/wlan/if_runreg.h
C
isc
48,436
/*- * Copyright 2008 Nathan Whitehorn. All rights reserved. * Copyright 2003 by Peter Grehan. All rights reserved. * Copyright (C) 1998, 1999, 2000 Tsubai Masanari. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
TigerBSD/TigerBSD
FreeBSD/sys/dev/bm/if_bm.c
C
isc
31,727
(function(){/* OverlappingMarkerSpiderfier https://github.com/jawj/OverlappingMarkerSpiderfier-Leaflet Copyright (c) 2011 - 2012 George MacKerron Released under the MIT licence: http://opensource.org/licenses/mit-license Note: The Leaflet maps API must be included *before* this code */ (function(){var q={}.hasOwnPrope...
Hubertzhang/ingress-intel-total-conversion
external/oms.min.js
JavaScript
isc
5,632
/*- * Copyright (c) 2012 Oleksandr Tymoshenko <gonzo@freebsd.org> * 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 * ...
TigerBSD/TigerBSD
FreeBSD/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
C
isc
18,232
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_putnbr.c :+: :+: :+: ...
ayip001/42
libft/ft_putnbr.c
C
mit
1,151
// // OAAlarmWidget.h // OsmAnd // // Created by Alexey Kulish on 29/12/2017. // Copyright © 2017 OsmAnd. All rights reserved. // #import <Foundation/Foundation.h> @protocol OAWidgetListener; @interface OAAlarmWidget : UIView @property (nonatomic, weak) id<OAWidgetListener> delegate; - (BOOL) updateInfo; @end...
Zahnstocher/OsmAnd-ios
Sources/Controllers/Map/Widgets/OAAlarmWidget.h
C
mit
322
#!/bin/env bash usage() { cat >&2 << EOF Usage: ${0##*/} <pid>... Wait for <pid>... to finish execution. EOF } main() { if [[ -z $@ ]];then usage exit 1 fi echo "PID's: $@" >&2 local -a pids=() while [[ -n $1 ]]; do check_pid_exists "$1" & pids+=($!) shift done progress & rc=...
dgengtek/scripts
tools/wait_pid.sh
Shell
mit
902
--- layout: post title: "Daily Scrum and Sprints - The Scrum Guide Continued" date: 2015-10-28 1:00:00 categories: scrum tags: scrum image: --- Continued: We just finished discussing what a Sprint was and how it worked. Next we will look at the Daily Scrum, Sprint Reviews, and more. [Reading Material](http://www.s...
idmontie/ProjectManagementBlog
_posts/2015-10-28-the-scrum-guide-continued.md
Markdown
mit
3,888
<?php namespace FreeAgent\Bitter\tests\units; require_once __DIR__ . '/../../vendor/autoload.php'; use \mageekguy\atoum; use \DateTime; use FreeAgent\Bitter\Bitter as TestedBitter; use FreeAgent\Bitter\UnitOfTime\Day; /** * @engine isolate * @author Jérémy Romey <jeremy@free-agent.fr> */ class Bitter extends ato...
jeremyFreeAgent/Bitter
tests/units/Bitter.php
PHP
mit
14,112
@(title: String)(style: Html)(content: Html) <!DOCTYPE html> <html lang="en"> <head> <title>@title</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> @style </head> <body> <div class="container"> @content </div> </body> </html>
davidgraig/foosball
server/app/views/main.scala.html
HTML
mit
304
<?php /* * Created on 2013-5-31 * * To change the template for this generated file go to * Window - Preferences - PHPeclipse - PHP - Code Templates */ class config_content { public $fields = array('contentid','contentcatid','contentmoduleid','contentuserid','contentusername','contenttitle','contentthumb'...
PhotoArtLife/Personal-Blog
project/demo/kaoshi/app/content/cls/config.cls.php
PHP
mit
468
## Submit a feature request or bug report - [ ] I've read the guidelines for Contributing to this project in the README.md - [ ] This is a feature request - [ ] This is a bug report - [ ] This request isn't a duplicate of an [existing issue](https://github.com/helloensoul/rankz/issues) - [ ] I've read the [README](htt...
valentinocossar/ranks
.github/ISSUE_TEMPLATE.md
Markdown
mit
1,044
module Fe class OptionGroup attr_reader :label attr_reader :group def initialize(label, group) @label = label @group = group end end end
CruGlobal/qe
app/models/fe/option_group.rb
Ruby
mit
169
package vezzoni.api.controller.impl; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import vezzoni.api.controller.PingController; @Path(value = "/ping") @Consumes(value = {MediaType.WILDCAR...
vezzoni/rest-easy-spring-jpa
src/main/java/vezzoni/api/controller/impl/PingControllerImpl.java
Java
mit
692
const log = msg => console.log(msg); module.exports = log;
JoeKarlsson1/bechdel-test
src/server/helper/log.js
JavaScript
mit
60
/* * The MIT License (MIT) * * Copyright (c) 2018 Karl STEIN * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
jalik/jk-router
docs/routes.js
JavaScript
mit
3,052
namespace Microsoft.eShopOnContainers.Mobile.Shopping.HttpAggregator.Models { public class AddBasketItemRequest { public int CatalogItemId { get; set; } public string BasketId { get; set; } public int Quantity { get; set; } public AddBasketItemRequest() { ...
albertodall/eShopOnContainers
src/ApiGateways/Mobile.Bff.Shopping/aggregator/Models/AddBasketItemRequest.cs
C#
mit
354
#pragma once #include <ev++.h> #include <functional> #include <cstdint> #include "lev/lev.h" namespace lev { class loop; class timer { public: typedef std::function<void()> TimerFiredEvent; timer(loop& loop); void StartOneShot(uint32_t ms, TimerFiredEvent func = nullptr); void StartInterval(uin...
ksophocleous/levlib
include/lev/timer.h
C
mit
547
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head><title></title> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <link rel="stylesheet" type="text/css" href="search.css"/> <script type="text/javascript" src="search...
XadillaX/node-simple-ini
src/miniini-0.9/doc/html/search/files_74.html
HTML
mit
1,729
"""Migrate review conditions from settings Revision ID: 933665578547 Revises: 02bf20df06b3 Create Date: 2020-04-02 11:13:58.931020 """ import json from collections import defaultdict from uuid import uuid4 from alembic import context, op from indico.modules.events.editing.models.editable import EditableType # rev...
ThiefMaster/indico
indico/migrations/versions/20200402_1113_933665578547_migrate_review_conditions_from_settings.py
Python
mit
2,739
""" PynamoDB exceptions """ from typing import Any, Optional import botocore.exceptions class PynamoDBException(Exception): """ A common exception class """ def __init__(self, msg: Optional[str] = None, cause: Optional[Exception] = None) -> None: self.msg = msg self.cause = cause ...
pynamodb/PynamoDB
pynamodb/exceptions.py
Python
mit
4,009
@extends('app') @section('title', trans('access.title_edit_access')) @section('content') @include('errors.form-error') {!! Form::model($access, ['route' => ['project.access.update', $project->slug, $access], 'method' => 'PUT']) !!} @include('accesses.form') {!! Form::close() !!} {!! Form::model($project...
Fwagra/Gazl
resources/views/accesses/edit.blade.php
PHP
mit
570