repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
mainecivichackday/wheresyourtrash
wheresyourtrash/apps/email2sms/templates/email2sms/provider_detail.html
565
{% extends "base.html" %} {% load static %} {% block content %} <p><a class="btn btn-default" href="{% url 'email2sms_provider_list' %}">Provider Listing</a></p> <table class="table"> <tr><td>name</td><td>{{ object.name }}</td></tr> <tr><td>slug</td><td>{{ object.slug }}</td></tr> <tr><td>created</td><td>{{ object.crea...
bsd-3-clause
thuctoa/ungdungtoan
views/site/signup.php
1196
<?php use yii\helpers\Html; use yii\bootstrap\ActiveForm; /* @var $this yii\web\View */ /* @var $form yii\bootstrap\ActiveForm */ /* @var $model \app\models\SignupForm */ $this->title = Yii::t('app','Signup'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="site-signup"> <h1><?= Html::en...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE606_Unchecked_Loop_Condition/CWE606_Unchecked_Loop_Condition__char_console_09.c
9499
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE606_Unchecked_Loop_Condition__char_console_09.c Label Definition File: CWE606_Unchecked_Loop_Condition.label.xml Template File: sources-sinks-09.tmpl.c */ /* * @description * CWE: 606 Unchecked Input For Loop Condition * BadSource: console Read input from the ...
bsd-3-clause
dstocco/AliPhysics
PWGGA/CaloTrackCorrelations/macros/plotting/invmass/InvMassFit.C
85625
/// /// \file InvMassFit.C /// \ingroup CaloTrackCorrMacrosPlotting /// \brief Fit invariant mass distributions /// /// Macro using as input the 2D histograms mass vs pT of AliAnaPi0 /// For a given set of pT bins invariant mass plots are fitted and mass vs pT /// and width vs pT and neutral meson spectra plots are ob...
bsd-3-clause
d-bo/unitaly-dev
modules/directory/views/backend/store/update.php
1520
<?php use vova07\themes\admin\widgets\Box; use modules\directory\Module; $this->title = Module::t('shop', 'BACKEND_STORE_UPDATE_TITLE'); $this->params['subtitle'] = Module::t('shop', 'BACKEND_STORE_UPDATE_SUBTITLE'); $this->params['breadcrumbs'] = [ [ 'label' => $this->title, 'url' => ['...
bsd-3-clause
igorstefurak/pushcourse
lib/layouts.js
7374
var archiver = require('archiver'), async = require('async'), escape = require('handlebars').Utils.escapeExpression, fs = require('fs'), glob = require('glob'), path = require('path'), yui = require('yui'); var config = require('../config'), hbs = require('./hbs')...
bsd-3-clause
crosswalk-project/blink-crosswalk
Source/platform/graphics/ImageLayerChromiumTest.cpp
4769
/* * Copyright (C) 2011 Google 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 condition...
bsd-3-clause
aYukiSekiguchi/ACCESS-Chromium
ui/gfx/native_theme_chromeos.h
3463
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_GFX_NATIVE_THEME_CHROMEOS_H_ #define UI_GFX_NATIVE_THEME_CHROMEOS_H_ #include <map> #include "base/compiler_specific.h" #include "ui/gfx/n...
bsd-3-clause
zcbenz/cefode-chromium
chrome/browser/ui/singleton_tabs.cc
4284
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/singleton_tabs.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/browser.h" #include "chrome/br...
bsd-3-clause
tomfisher/tripleplay
ios/src/main/java/tripleplay/platform/IOSUIOverlay.java
2336
// // Triple Play - utilities for use in PlayN-based games // Copyright (c) 2011-2014, Three Rings Design, Inc. - All rights reserved. // http://github.com/threerings/tripleplay/blob/master/LICENSE package tripleplay.platform; import cli.MonoTouch.CoreAnimation.CAShapeLayer; import cli.MonoTouch.CoreGraphics.CGPath; ...
bsd-3-clause
dropbox/godropbox
io2/reader_to_writer_adapter_test.go
6281
package io2 import ( "bytes" "compress/zlib" "errors" "io" "strings" . "gopkg.in/check.v1" ) type ReaderToWriterAdapterSuite struct { testData string } func (rwself *ReaderToWriterAdapterSuite) SetUpTest(c *C) { localWords := []string{} for skip := 1; skip < len(words); skip += 6 { lskip := skip for i ...
bsd-3-clause
ljwolf/cytoolz
cytoolz/tests/test_embedded_sigs.py
2950
import inspect import cytoolz import toolz from types import BuiltinFunctionType from cytoolz import curry, identity, keyfilter, valfilter, merge_with @curry def isfrommod(modname, func): mod = getattr(func, '__module__', '') or '' return modname in mod def test_class_sigs(): """ Test that all ``cdef c...
bsd-3-clause
jithinazryah/emperror
backend/modules/admin/controllers/DefaultController.php
390
<?php namespace backend\modules\admin\controllers; use yii\web\Controller; /** * Default controller for the `admin` module */ class DefaultController extends Controller { /** * Renders the index view for the module * @return string */ public function actionIndex() { ...
bsd-3-clause
NCIP/webgenome
tags/WEBGENOME_R3.2_6MAR2009_BUILD1/java/core/src/org/rti/webgenome/client/ExperimentDTOGenerator.java
1419
/*L * Copyright RTI International * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/webgenome/LICENSE.txt for details. */ package org.rti.webgenome.client; /** * Generates <code>ExperimentDTO</code> objects for testing. * @author dhall * */ public class ExperimentD...
bsd-3-clause
dushmis/Oracle-Cloud
PaaS_SaaS_Accelerator_RESTFulFacade/XJC_Beans/src/com/oracle/xmlns/apps/cdm/foundation/parties/locationservice/applicationmodule/types/UpdateLocation.java
2082
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 20...
bsd-3-clause
sgenoud/scikit-learn
examples/plot_kernel_approximation.py
6494
""" ================================================== Explicit feature map approximation for RBF kernels ================================================== .. currentmodule:: sklearn.kernel_approximation An example shows how to use :class:`RBFSampler` to appoximate the feature map of an RBF kernel for classification...
bsd-3-clause
vovanbo/djangocms-redirects
cms_redirects/__init__.py
69
"""django-cms-redirects""" VERSION = (1, 0, 6) __version__ = "1.0.6"
bsd-3-clause
7kbird/chrome
chrome/browser/task_manager/guest_information.cc
4136
// 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/task_manager/guest_information.h" #include "base/strings/string16.h" #include "chrome/browser/chrome_notification_types.h" #incl...
bsd-3-clause
carloscanova/python-odml
odml/gui/__main__.py
845
#!/usr/bin/env python import gtk import Editor def main(filenames=[]): """ start the editor, with a new empty document or load all *filenames* as tabs returns the tab object """ Editor.register_stock_icons() editor = Editor.EditorWindow() tabs = map(editor.load_document, filenames) ...
bsd-3-clause
vebin/rhino-dht
Rhino.DistributedHashTable/Protocol/regen.cmd
134
..\..\..\SharedLibs\Google\protoc ProtocolDef.proto -oProtocolDef.proto.bin ..\..\..\SharedLibs\Google\protogen ProtocolDef.proto.bin
bsd-3-clause
danakj/chromium
components/upload_list/upload_list.h
4200
// 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. #ifndef COMPONENTS_UPLOAD_LIST_UPLOAD_LIST_H_ #define COMPONENTS_UPLOAD_LIST_UPLOAD_LIST_H_ #include <stddef.h> #include <string> #include <vector> #in...
bsd-3-clause
bast/xcint
src/density/density.cpp
42641
#include "density.h" #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdio> #include <iostream> #include "blas_interface.h" #include "compress.h" void distribute_matrix(const int mat_dim, const int block_length, const bool use_gradi...
bsd-3-clause
pyannote/pyannote-banyan
docs/find_local_performance.html
8202
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Local-Find Performance &mdash; Banyan 0.1.5 docum...
bsd-3-clause
krisgiesing/sky_engine
lib/ui/window/window.cc
10895
// 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 "flutter/lib/ui/window/window.h" #include "flutter/lib/ui/compositing/scene.h" #include "flutter/lib/ui/ui_dart_state.h" #include "flutter/lib/u...
bsd-3-clause
DeepDiver1975/sabre-dav
examples/calendarserver.php
1682
<?php /* CalendarServer example This server features CalDAV support */ // settings date_default_timezone_set('Canada/Eastern'); // If you want to run the SabreDAV server in a custom location (using mod_rewrite for instance) // You can override the baseUri here. // $baseUri = '/'; /* Database */ $pdo = new PDO('s...
bsd-3-clause
tanerkuc/shineisp
application/modules/default/views/helpers/Logo.php
588
<?php /** * Logo helper */ class Zend_View_Helper_Logo extends Zend_View_Helper_Abstract { public $view; public function setView(Zend_View_Interface $view) { $this->view = $view; } public function logo($data = array()) { $isp = Shineisp_Registry::get('ISP'); if (! empty ( $isp->logo )) { if (file_exi...
bsd-3-clause
pbalcer/pbalcer.github.io
content/libpmemobj-cpp/master/doxygen/search/typedefs_7.js
592
var searchData= [ ['native_5fhandle_5ftype_928',['native_handle_type',['../classpmem_1_1obj_1_1condition__variable.html#a5d6f2b49f88a03db9e9f3a2b49f6bf6d',1,'pmem::obj::condition_variable::native_handle_type()'],['../classpmem_1_1obj_1_1mutex.html#a746ecab28758da55f241b0f7b76ced36',1,'pmem::obj::mutex::native_handle_...
bsd-3-clause
carlohamalainen/ghc-mod
Language/Haskell/GhcMod/PkgDoc.hs
1012
module Language.Haskell.GhcMod.PkgDoc (packageDoc) where import Language.Haskell.GhcMod.Types import Language.Haskell.GhcMod.GhcPkg import Control.Applicative ((<$>)) import System.Process (readProcess) -- | Obtaining the package name and the doc path of a module. packageDoc :: Options -> Cradle ...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE195_Signed_to_Unsigned_Conversion_Error/s02/CWE195_Signed_to_Unsigned_Conversion_Error__negative_memmove_21.c
4813
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE195_Signed_to_Unsigned_Conversion_Error__negative_memmove_21.c Label Definition File: CWE195_Signed_to_Unsigned_Conversion_Error.label.xml Template File: sources-sink-21.tmpl.c */ /* * @description * CWE: 195 Signed to Unsigned Conversion Error * BadSource: ne...
bsd-3-clause
tavoot/cysdusac
module/Centro/src/Centro/Model/Data/Item.php
5949
<?php /* * 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. */ namespace Centro\Model\Data; use Zend\InputFilter\InputFilter; use Zend\InputFilter\InputFilterAwareInterface; use Zend\Input...
bsd-3-clause
koodaamo/yadifa
lib/dnscore/include/dnscore/clone_input_output_stream.h
2669
/*------------------------------------------------------------------------------ * * Copyright (c) 2011, EURid. All rights reserved. * The YADIFA TM software product is provided under the BSD 3-clause license: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provide...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE122_Heap_Based_Buffer_Overflow/s04/CWE122_Heap_Based_Buffer_Overflow__cpp_CWE806_char_snprintf_53d.cpp
1666
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE806_char_snprintf_53d.cpp Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE806.label.xml Template File: sources-sink-53d.tmpl.cpp */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: In...
bsd-3-clause
gentnerlab/klusta-pipeline
klusta_pipeline/merge_stim_kwik.py
7008
# Merge stimuli information from spike2 mat file into Kwik file import h5py as h5 import tables import os import numpy as np import argparse import glob try: import simplejson as json except ImportError: import json from klusta_pipeline.dataio import load_recordings, save_info, load_digmark, load_stim_info from klu...
bsd-3-clause
JosefMeixner/opentoonz
toonz/sources/toonz/studiopaletteviewer.cpp
31411
#include "studiopaletteviewer.h" #include "palettesscanpopup.h" #include "toonz/studiopalettecmd.h" #include "toonzqt/menubarcommand.h" #include "floatingpanelcommand.h" #include "toonzqt/gutil.h" #include "toonz/tpalettehandle.h" #include "toonz/txshlevelhandle.h" #include "toonzqt/paletteviewer.h" #include "toonzut...
bsd-3-clause
diofeher/django-nfa
django/core/serializers/base.py
5533
""" Module for abstract serializer/unserializer base classes. """ try: from cStringIO import StringIO except ImportError: from StringIO import StringIO from django.db import models from django.utils.encoding import smart_str, smart_unicode class SerializationError(Exception): """Something bad happened dur...
bsd-3-clause
captainsafia/nteract
applications/desktop/__tests__/renderer/native-window-spec.js
3118
import Immutable from "immutable"; import { remote } from "electron"; import { from } from "rxjs/observable/from"; import * as nativeWindow from "../../src/notebook/native-window"; import { makeAppRecord, makeDocumentRecord } from "@nteract/types/core/records"; const path = require("path"); describe("tildify", () =...
bsd-3-clause
jlmadurga/permabots
permabots/test/testcases.py
16025
#!/usr/bin/env python # -*- coding: utf-8 -*- from django.test import TestCase from permabots.models import TelegramUpdate from telegram import User from permabots.test import factories from django.core.urlresolvers import reverse from rest_framework import status from telegram.replykeyboardhide import ReplyKeyboardHid...
bsd-3-clause
innaDa/Rcm
src/Factory/ResponseHandlerFactory.php
1430
<?php namespace Rcm\Factory; use Rcm\Service\ResponseHandler; use Zend\Mvc\ResponseSender\HttpResponseSender; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; /** * Service Factory for the Container Manager * * Factory for the Container Manager. * * @category Reliv * ...
bsd-3-clause
cuavas/mFAST
src/mfast/instructions/byte_vector_instruction.h
1593
// Copyright (c) 2016, Huang-Ming Huang, Object Computing, Inc. // All rights reserved. // // This file is part of mFAST. // See the file license.txt for licensing information. #pragma once #include "string_instructions.h" namespace mfast { class MFAST_EXPORT byte_vector_field_instruction : public unicode_field...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE415_Double_Free/s01/CWE415_Double_Free__malloc_free_int_53c.c
1532
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE415_Double_Free__malloc_free_int_53c.c Label Definition File: CWE415_Double_Free__malloc_free.label.xml Template File: sources-sinks-53c.tmpl.c */ /* * @description * CWE: 415 Double Free * BadSource: Allocate data using malloc() and Deallocate data using fre...
bsd-3-clause
arisona/ether
ether-core/src/main/java/ch/fhnw/util/ClassUtilities.java
19598
/* * Copyright (c) 2013 - 2016 Stefan Muller Arisona, Simon Schubiger * Copyright (c) 2013 - 2016 FHNW & ETH Zurich * All rights reserved. * * Contributions by: Filip Schramka, Samuel von Stachelski * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided tha...
bsd-3-clause
mathjazz/pontoon
pontoon/urls.py
2791
from django.urls import include, path, register_converter from django.urls.converters import StringConverter from django.contrib import admin from django.contrib.auth import logout from django.views.generic import RedirectView, TemplateView from pontoon.teams.views import team class LocaleConverter(StringConverter):...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE191_Integer_Underflow/s01/CWE191_Integer_Underflow__char_rand_multiply_22b.c
3725
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__char_rand_multiply_22b.c Label Definition File: CWE191_Integer_Underflow.label.xml Template File: sources-sinks-22b.tmpl.c */ /* * @description * CWE: 191 Integer Underflow * BadSource: rand Set data to result of rand() * GoodSource: S...
bsd-3-clause
ondra-novak/blink
Source/core/svg/SVGAnimateElement.h
3322
/* * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> * Copyright (C) 2008 Apple Inc. All rights reserved. * Copyright (C) Research In Motion Limited 2011. All rights reserved. * * This library is free software; you can redistribute it and/or * m...
bsd-3-clause
BernhardDenner/libelektra
src/plugins/yanlr/yanlr/map-list-plain_scalars.hpp
365
// clang-format off CppKeySet { 10, keyNew (PREFIX "primes", KEY_META, "array", "#3", KEY_END), keyNew (PREFIX "primes/#0", KEY_VALUE, "two", KEY_END), keyNew (PREFIX "primes/#1", KEY_VALUE, "three", KEY_END), keyNew (PREFIX "primes/#2", KEY_VALUE, "five", KEY_END), keyNew (PREFIX "primes/#3",...
bsd-3-clause
upliu/getyii
common/services/UserService.php
6118
<?php /** * author : forecho <caizhenghai@gmail.com> * createTime : 15/4/19 下午3:20 * description: */ namespace common\services; use common\models\Post; use common\models\PostComment; use common\models\User; use common\models\UserInfo; use DevGroup\TagDependencyHelper\NamingHelper; use frontend\modules\topic\m...
bsd-3-clause
j-po/django-brambling
brambling/templates/registration/sign_up.html
420
{% extends 'brambling/layouts/12_xs.html' %} {% load floppyforms %} {% block title %}Sign up – {{ block.super }}{% endblock %} {% block main %} <h2>Sign up</h2> <form action="{{ request.path }}?{{ request.GET.urlencode }}" method="post"> {% csrf_token %} {% form form using "brambling/forms/signup.html" %} <b...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE680_Integer_Overflow_to_Buffer_Overflow/CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_fixed_73a.cpp
2932
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_fixed_73a.cpp Label Definition File: CWE680_Integer_Overflow_to_Buffer_Overflow__malloc.label.xml Template File: sources-sink-73a.tmpl.cpp */ /* * @description * CWE: 680 Integer Overflow to Buffer Overflow * Bad...
bsd-3-clause
chicoxyzzy/fbjs
packages/fbjs/src/core/TouchEventUtils.js
1271
/** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
bsd-3-clause
CUBRID/cubrid-testcases
sql/_23_apricot_qa/_02_performance/_02_function_based_index/cases/function_based_index_function_CHARACTER_LENGTH.sql
2522
--+ holdcas on; set system parameters 'dont_reuse_heap_file=yes'; create table t1( a char(1200), b varchar(1200), c nchar(1200), d NCHAR VARYING(1200), e BIT(1200), f BIT VARYING(1200), g int, h SMALLINT, i BIGINT, j NUMERIC, k FLOAT, l DOUBLE, m MONETARY, n DATE, o TIME, p TIMESTAMP, q DATETIME); i...
bsd-3-clause
UniStuttgart-VISUS/megamol
plugins/protein_cuda/src/tables.h
18374
/* * Copyright 1993-2010 NVIDIA Corporation. All rights reserved. * * Please refer to the NVIDIA end user license agreement (EULA) associated * with this source code for terms and conditions that govern your use of * this software. Any use, reproduction, disclosure, or distribution of * this software and related...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE134_Uncontrolled_Format_String/s01/CWE134_Uncontrolled_Format_String__char_console_printf_72a.cpp
5028
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE134_Uncontrolled_Format_String__char_console_printf_72a.cpp Label Definition File: CWE134_Uncontrolled_Format_String.label.xml Template File: sources-sinks-72a.tmpl.cpp */ /* * @description * CWE: 134 Uncontrolled Format String * BadSource: console Read input ...
bsd-3-clause
tweag/network-transport-zeromq
tests/TestZMQ.hs
1973
-- | -- Copyright: (C) 2014-2015 EURL Tweag {-# LANGUAGE OverloadedStrings #-} module Main where import Control.Applicative ((<$>)) import Network.Transport import Network.Transport.ZMQ import Network.Transport.Tests import Network.Transport.Tests.Auxiliary (runTests) main :: IO () main = testTransport' (Right <$> c...
bsd-3-clause
xianyi/OpenBLAS
lapack-netlib/SRC/slaed8.f
15954
*> \brief \b SLAED8 used by sstedc. Merges eigenvalues and deflates secular equation. Used when the original matrix is dense. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SLAED8 + dependencies *> ...
bsd-3-clause
bartoszrychlicki/MainBrain.pl
payment/code/ChequePayment/ChequePayment.php
1059
<?php /** * Payment object representing a cheque payment. * * @package payment */ class ChequePayment extends Payment { /** * Process the Cheque payment method */ function processPayment($data, $form) { $this->Status = 'Pending'; $this->Message = '<p class="warningMessage">' . _t('ChequePayment.MESSAG...
bsd-3-clause
gmimano/commcaretest
corehq/apps/adm/urls.py
691
from django.conf.urls.defaults import * from corehq.apps.adm.dispatcher import ADMAdminInterfaceDispatcher, ADMSectionDispatcher from corehq.apps.adm.views import ADMAdminCRUDFormView adm_admin_interface_urls = patterns('corehq.apps.adm.views', url(r'^$', 'default_adm_admin', name="default_adm_admin_interface"), ...
bsd-3-clause
stlankes/HermitCore
usr/ircce/iRCCE_irecv.c
20676
//*************************************************************************************** // Synchronized receive routines. //*************************************************************************************** // // Author: Rob F. Van der Wijngaart // Intel Corporation // Date: 008/30/2010 // //*********...
bsd-3-clause
youtube/cobalt
third_party/crashpad/util/file/output_stream_file_writer.cc
1982
// Copyright 2020 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE36_Absolute_Path_Traversal/s01/CWE36_Absolute_Path_Traversal__char_connect_socket_ofstream_73a.cpp
5444
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE36_Absolute_Path_Traversal__char_connect_socket_ofstream_73a.cpp Label Definition File: CWE36_Absolute_Path_Traversal.label.xml Template File: sources-sink-73a.tmpl.cpp */ /* * @description * CWE: 36 Absolute Path Traversal * BadSource: connect_socket Read dat...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE400_Resource_Exhaustion/s01/CWE400_Resource_Exhaustion__connect_socket_sleep_06.c
11509
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE400_Resource_Exhaustion__connect_socket_sleep_06.c Label Definition File: CWE400_Resource_Exhaustion.label.xml Template File: sources-sinks-06.tmpl.c */ /* * @description * CWE: 400 Resource Exhaustion * BadSource: connect_socket Read data using a connect sock...
bsd-3-clause
manolama/asynchbase
src/MultiColumnAtomicIncrementRequest.java
11947
/* * Copyright (C) 2010-2012 The Async HBase Authors. All rights reserved. * This file is part of Async HBase. * * 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...
bsd-3-clause
assetgraph/assetgraph-builder
testdata/transforms/buildProduction/issue114/index.html
114
<!DOCTYPE html> <html> <head> <script src="a.js"></script> </head> <body> <div>Text</div> </body> </html>
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE197_Numeric_Truncation_Error/s01/CWE197_Numeric_Truncation_Error__int_connect_socket_to_short_74a.cpp
4835
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE197_Numeric_Truncation_Error__int_connect_socket_to_short_74a.cpp Label Definition File: CWE197_Numeric_Truncation_Error__int.label.xml Template File: sources-sink-74a.tmpl.cpp */ /* * @description * CWE: 197 Numeric Truncation Error * BadSource: connect_socke...
bsd-3-clause
nwjs/chromium.src
ui/gfx/geometry/vector2d_f.h
4239
// 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. // Defines a simple float vector class. This class is used to indicate a // distance in two dimensions between two points. Subtracting two points sho...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE121_Stack_Based_Buffer_Overflow/s01/CWE121_Stack_Based_Buffer_Overflow__CWE131_loop_66b.c
1625
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE131_loop_66b.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE131.label.xml Template File: sources-sink-66b.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Allocate memory with...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE272_Least_Privilege_Violation/CWE272_Least_Privilege_Violation__w32_char_RegCreateKey_12.c
4262
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE272_Least_Privilege_Violation__w32_char_RegCreateKey_12.c Label Definition File: CWE272_Least_Privilege_Violation__w32.label.xml Template File: point-flaw-12.tmpl.c */ /* * @description * CWE: 272 Least Privilege Violation * Sinks: RegCreateKey * GoodSink...
bsd-3-clause
alunys/ApigilityAngularTest
vendor/zfcampus/zf-apigility-doctrine/src/Server/Query/Provider/QueryProviderInterface.php
1172
<?php namespace ZF\Apigility\Doctrine\Server\Query\Provider; use DoctrineModule\Persistence\ObjectManagerAwareInterface; use Zend\Paginator\Adapter\AdapterInterface; use Zend\ServiceManager\AbstractPluginManager; use ZF\Rest\ResourceEvent; interface QueryProviderInterface extends ObjectManagerAwareInterface { /*...
bsd-3-clause
MalcolmD/CloudCVPlusDetection
src/modules/cameraCalibration/CameraCalibrationBinding.cpp
10211
#include <cloudcv.hpp> #include <framework/marshal/marshal.hpp> #include <framework/marshal/node_object_builder.hpp> #include <framework/Job.hpp> #include <framework/NanCheck.hpp> #include <framework/Logger.h> #include "framework/ImageSource.hpp" #include "CameraCalibrationAlgorithm.hpp" using namespace v8;...
bsd-3-clause
lockss/lockss-daemon
test/src/org/lockss/mbf/MockMemoryBoundFunctionVote.java
5392
/* * $Id$ */ /* Copyright (c) 2000-2002 Board of Trustees of Leland Stanford Jr. University, all rights reserved. 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...
bsd-3-clause
jonathanihm/freeCodeCamp
curriculum/challenges/russian/01-responsive-web-design/css-flexbox/use-the-order-property-to-rearrange-items.russian.md
2354
--- id: 587d78ae367417b2b2512aff title: Use the order Property to Rearrange Items challengeType: 0 videoUrl: https://scrimba.com/p/pVaDAv/cMbvNAG forumTopicId: 301116 localeTitle: Используйте свойство Order для переупорядочения элементов --- ## Description <section id='description'> Свойство <code>order</code> использ...
bsd-3-clause
tekul/cryptonite
cbits/cryptonite_salsa.c
8621
/* * Copyright (c) 2014-2015 Vincent Hanquez <vincent@snarc.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 * ...
bsd-3-clause
Hackplayers/Empire-mod-Hpys-tests
lib/modules/powershell/collection/vaults/get_keepass_config_trigger.py
3104
from lib.common import helpers class Module: def __init__(self, mainMenu, params=[]): # metadata info about the module, not modified during runtime self.info = { # name for the module that will appear in module menus 'Name': 'Get-KeePassconfig', # list of one ...
bsd-3-clause
gpedro/joy
config/adapters.js
1463
/** * Global adapter config * * The `adapters` configuration object lets you create different global "saved settings" * that you can mix and match in your models. The `default` option indicates which * "saved setting" should be used if a model doesn't have an adapter specified. * * Keep in mind that options you...
bsd-3-clause
201528013359030/basic_pai
views/js/easyzoom.js
8461
(function ($) { 'use strict'; var dw, dh, rw, rh, lx, ly; var defaults = { // The text to display within the notice box while loading the zoom image. loadingNotice: 'Loading image', // The text to display within the notice box if an error occurs when loading the zoom image. ...
bsd-3-clause
bpsinc-native/src_third_party_chromite
lib/binpkg.py
12642
# Copyright (c) 2012 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. # # Adapted from portage/getbinpkg.py -- Portage binary-package helper functions # Copyright 2003-2004 Gentoo Foundation # Distributed under the terms ...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE122_Heap_Based_Buffer_Overflow/s02/CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193_wchar_t_cpy_32.cpp
3124
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193_wchar_t_cpy_32.cpp Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193.label.xml Template File: sources-sink-32.tmpl.cpp */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Alloca...
bsd-3-clause
agungsijawir/yii2
docs/guide-ja/db-migrations.md
49975
データベース・マイグレーション ============================ データベース駆動型のアプリケーションを開発し保守する途上で、ソース・コードが進化するのと同じように、使用されるデータベースの構造も進化していきます。 例えば、アプリケーションの開発中に、新しいテーブルが必要であることが分ったり、アプリケーションを配備した後に、クエリのパフォーマンスを向上させるためにインデックスを作成すべきことが発見されたりします。 データベースの構造の変更が何らかのソース・コードの変更を要求する場合はよくありますから、Yii はいわゆる *データベース・マイグレーション* 機能を提供して、ソース・コードとともにバージョン管理...
bsd-3-clause
Workday/OpenFrame
third_party/WebKit/Source/modules/permissions/PermissionsCallback.cpp
1871
// 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 "config.h" #include "modules/permissions/PermissionsCallback.h" #include "bindings/core/v8/ScriptPromiseResolver.h" #include "modules/permission...
bsd-3-clause
kivi8/ars-poetica
vendor/nette/di/src/DI/ServiceDefinition.php
4863
<?php /** * This file is part of the Nette Framework (https://nette.org) * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ namespace Nette\DI; use Nette; /** * Definition used by ContainerBuilder. */ class ServiceDefinition extends Nette\Object { /** @var string|NULL class or interface name */ p...
bsd-3-clause
gfxmonk/py-dataflow
setup.py
694
#!/usr/bin/env python from setuptools import * setup( name='dataflow', version='0.1.1', description='a dataflow library for python', author='Tim Cuthbertson', author_email='tim3d.junk+dataflow@gmail.com', url='http://github.com/gfxmonk/py-dataflow/tree', packages=find_packages(exclude=["test"]), long_descri...
bsd-3-clause
dhruvagarwal/http-request-translator
tests/test_input.py
524
import unittest from hrt import input_handler class TestCLIInput(unittest.TestCase): def setUp(self): pass def test_stdin_input(self): pass def test_interactive_input(self): pass def test_file_input(self): pass def test_inline_input(self): pass def...
bsd-3-clause
hainm/pythran
third_party/nt2/include/functions/scalar/store.hpp
178
#ifndef NT2_INCLUDE_FUNCTIONS_SCALAR_STORE_HPP_INCLUDED #define NT2_INCLUDE_FUNCTIONS_SCALAR_STORE_HPP_INCLUDED #include <nt2/memory/include/functions/scalar/store.hpp> #endif
bsd-3-clause
mwillebrands/Platform
src/Platform.Xml.Serialization/SerializationContext.cs
3632
using System; using System.Collections; namespace Platform.Xml.Serialization { /// <summary> /// Maintains state required to perform serialization. /// </summary> public sealed class SerializationContext { private readonly IList stack = new ArrayList(); public SerializationParameters Parameters { g...
bsd-3-clause
Klaudit/inbox2_desktop
ThirdParty/Src/Lumisoft.Net/DNS/Client/DNS_rr_A.cs
1419
using System; using System.Net; namespace LumiSoft.Net.Dns.Client { /// <summary> /// A record class. /// </summary> [Serializable] public class DNS_rr_A : DNS_rr_base { private IPAddress m_IP = null; /// <summary> /// Default constructor. /// </summary> /// <param name="ip">IP addres...
bsd-3-clause
lsanzdiaz/MITK-BiiG
Core/Code/Interactions/mitkDisplayVectorInteractorLevelWindow.h
3003
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
bsd-3-clause
maxwell-demon/grpc
src/ruby/ext/grpc/rb_call_credentials.c
11264
/* * * Copyright 2015, Google 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 retain the above copyright * notice, this list of condi...
bsd-3-clause
aislab-hevs/magpie
MAGPIE/library/src/main/java/ch/hevs/aislab/magpie/event/LogicTupleEvent.java
3019
package ch.hevs.aislab.magpie.event; import org.apache.commons.lang3.StringUtils; import java.util.ArrayList; import java.util.List; import alice.tuprolog.Term; import ch.hevs.aislab.magpie.environment.Services; public class LogicTupleEvent extends MagpieEvent { private String logicRepresentation; public Lo...
bsd-3-clause
FarGroup/FarManager
enc/enc_rus/meta/structures/openinfo.html
9307
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>OpenInfo</title> <meta http-equiv="Content-Type" Content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="../../styles/styles.css"> <script language="javascript" src='../links.js' type="text/javascript"></script...
bsd-3-clause
patrick-luethi/Envision
ModelBase/src/test_nodes/PositionExtension.cpp
2073
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** following c...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE789_Uncontrolled_Mem_Alloc/s01/CWE789_Uncontrolled_Mem_Alloc__malloc_wchar_t_connect_socket_81.h
1805
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_wchar_t_connect_socket_81.h Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml Template File: sources-sinks-81.tmpl.h */ /* * @description * CWE: 789 Uncontrolled Memory Allocation * BadSource: connect_soc...
bsd-3-clause
scheib/chromium
chrome/common/safe_browsing/binary_feature_extractor_win_unittest.cc
8848
// 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/common/safe_browsing/binary_feature_extractor.h" #include <string> #include <vector> #include "base/base_paths.h" #include "base/files/...
bsd-3-clause
beiyuxinke/CONNECT
Product/Production/Adapters/General/CONNECTDirectConfig/src/main/java/gov/hhs/fha/nhinc/directconfig/service/jaxws/DisassociatePolicyGroupFromDomains.java
4210
/* * Copyright (c) 2009-2015, United States Government, as represented by the Secretary of Health and Human Services. * 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 ...
bsd-3-clause
tommy-u/enable
kiva/agg/agg-24/src/agg_vcgen_stroke.cpp
7176
//---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.4 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) // // Permission to copy, use, modify, sell and distribute this software // is granted provided this copyright notice appears i...
bsd-3-clause
prakasha/Orchard1.4
Modules/ESchool/Controllers/Frontend/CourseController.cs
1352
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Orchard.Themes; using Orchard.UI.Admin; using Orchard.Data; using ESchool.Models; using Orchard.ContentManagement; using Orchard; using Orchard.Localization; using Orchard.DisplayManagement; using Orchard.U...
bsd-3-clause
modulexcite/MOSA-Project
Source/Mosa.Platform.x86/Instructions/Sar.cs
1628
// Copyright (c) MOSA Project. Licensed under the New BSD License. using Mosa.Compiler.Framework; namespace Mosa.Platform.x86.Instructions { /// <summary> /// Intermediate representation of the arithmetic shift right instruction. /// </summary> public sealed class Sar : X86Instruction { #region Data Members ...
bsd-3-clause
theosyspe/levent_01
vendor/ZF2/bin/test/g/e.php
35
<?php namespace test\g; class e { }
bsd-3-clause
openthread/openthread
src/core/net/ip6.cpp
45337
/* * Copyright (c) 2016, The OpenThread Authors. * 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 ...
bsd-3-clause
nwjs/chromium.src
components/omnibox/browser/autocomplete_match.cc
58314
// 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 "components/omnibox/browser/autocomplete_match.h" #include <algorithm> #include "base/check_op.h" #include "base/cxx17_backports.h" #include "b...
bsd-3-clause
anuragsoni/learn-polymer
dist/elements/my-jumbotron/my-jumbotron.html
1259
<!-- @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http:/...
bsd-3-clause
stonebig/bokeh
bokeh/command/subcommands/tests/test_secret.py
2391
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2019, Anaconda, Inc., and Bokeh Contributors. # All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. #-------------------------------------------------------------------...
bsd-3-clause