id
stringlengths
64
64
content
stringlengths
500
100k
language
stringclasses
29 values
path
stringlengths
4
333
repo
stringlengths
5
116
license
stringclasses
15 values
size
int64
500
100k
lines
int64
26
8.06k
source
stringclasses
1 value
0a030a5d6077b520f5d759e4ba86f6716ebe36da4466fd826d92a39522fefe95
/* * Copyright 2010 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkGrPixelRef.h" #include "GrContext.h" #include "GrTexture.h" #include "SkGr.h" #include "SkRect.h" // since we call lockPixels recursively on fBitmap, we need a...
C++
src/gpu/SkGrPixelRef.cpp
trevorlinton/skia
bsd-3-clause
6,013
192
codeparrot/github-code
11405604d4e7d8ed38f94f9e26f26008e2399c1df3614d0be23aa8ab5714e131
<?php namespace app\modules\admin\controllers; use Yii; use app\components\Controller; use app\models\News; class NewsController extends Controller { public function actionIndex() { $news = new News(['scenario' => News::SCENARIO_FILTER]); return $this->render('index', [ 'dataProvider...
PHP
modules/admin/controllers/NewsController.php
wyrmling/yii2_test
bsd-3-clause
1,678
59
codeparrot/github-code
3acdf0c4b91ef652041a9091480ccf79dcc5d00e76d3782ed8b56b0526b2500c
import json import numpy as np import os import requests from datetime import datetime from flask_security import UserMixin, RoleMixin from .app import db DOWNLOAD_BASE_URL = 'https://archive.org/download/' class Instance(db.EmbeddedDocument): text = db.StringField(required=True) source_id = db.ObjectIdFi...
Python
app/models.py
mtpain/metacorps
bsd-3-clause
6,238
210
codeparrot/github-code
3a852fd7be08fd11300c3407b7338ed595a569ef01da377f47d249323b608437
import Language.Haskell.Exts.Parser import Language.Haskell.Exts.Syntax import System.FilePath import System.Directory import Control.Monad import Data.Maybe import Data.List import Control.Applicative import Data.GraphViz.Types.Graph import Data.GraphViz.Commands.IO import Data.GraphViz.Types.Canonical import Data.Te...
Haskell
src/main/Main.hs
bneijt/hs2dot
bsd-3-clause
2,509
66
codeparrot/github-code
a6326c55f9831dfffc5247319a295fab6aeadacfa2a076d4e5d937daa41176f1
<?php namespace Bids\Entity; use Doctrine\ORM\Mapping as ORM; /** * This class represents a registered user. * @ORM\Entity() * @ORM\Table(name="bids") */ class Bids { /** * @ORM\Id * @ORM\Column(name="id") * @ORM\GeneratedValue */ protected $id; /** * * @ORM\Column(na...
PHP
module/Bids/src/Entity/Bids.php
merabi777/transporters
bsd-3-clause
1,956
115
codeparrot/github-code
4fe52d19c3c5b4e582aa78624975c30946c99c15ed26aa14c62ba09a51fd39d7
/* * QR Code generator demo (C++) * * Run this command-line program with no arguments. The program computes a bunch of demonstration * QR Codes and prints them to the console. Also, the SVG code for one QR Code is printed as a sample. * * Copyright (c) Project Nayuki. (MIT License) * https://www.nayuki.io/pag...
C++
third_party/QR-Code-generator/cpp/QrCodeGeneratorDemo.cpp
youtube/cobalt
bsd-3-clause
8,319
200
codeparrot/github-code
36733b009a7c9383b5d382c5b1080e2a896797b88847c0fa9d30568365923cb8
// vim:ts=4:sw=4:expandtab #include <stdio.h> #include <string.h> #include <yajl/yajl_gen.h> #include <yajl/yajl_version.h> #ifdef LINUX #include <iwlib.h> #else #ifndef __FreeBSD__ #define IW_ESSID_MAX_SIZE 32 #endif #endif #ifdef __FreeBSD__ #include <sys/param.h> #include <sys/ioctl.h> #include <sys/socket.h> #inc...
C
src/print_wireless_info.c
oberon2007/i3status-manjaro
bsd-3-clause
13,465
431
codeparrot/github-code
122a3db247fc77b99097c66160ccf84391cbc7618ff73b441ab897869fca525c
package org.jbehave.core.io; import java.io.IOException; import java.io.InputStream; import java.nio.charset.Charset; import org.apache.commons.io.Charsets; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; /** * Loads story resources from classpath */ pu...
Java
jbehave-core/src/main/java/org/jbehave/core/io/LoadFromClasspath.java
donsenior/jbehave-core
bsd-3-clause
2,046
76
codeparrot/github-code
2d290ffa7842f641a6fb21a39aafe8d2b13eee084fa73c02b00f86690eff7e0c
package synergynet3.behaviours.networkflick; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.Date; import com.jme3.math.Vector2f; /** * The Class NetworkFlickLogging. */ public class NetworkFlickLogging { /** * The Enum FLICKTYPE. */ public enum FLICKTYPE { /** The in...
Java
synergynet3.1-parent/synergynet3-appsystem-core/src/main/java/synergynet3/behaviours/networkflick/NetworkFlickLogging.java
synergynet/synergynet3.1
bsd-3-clause
4,314
168
codeparrot/github-code
72b3855af7e09dbf90b18d166b7c63487676554ad4e675ea79141819586d1ecf
// Copyright 2016 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 MEDIA_FORMATS_AC3_AC3_UTIL_H_ #define MEDIA_FORMATS_AC3_AC3_UTIL_H_ #include <stddef.h> #include <stdint.h> #include "base/macros.h" #include "m...
C
media/formats/ac3/ac3_util.h
nwjs/chromium.src
bsd-3-clause
948
33
codeparrot/github-code
949fe53297ff5b59a5be46d8bd78b9f0704b883d93ea3cfc377117270cdb7d0a
// 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 "extensions/browser/guest_view/web_view/web_view_permission_helper.h" #include <utility> #include "base/bind.h" #include "base/location.h" #inc...
C++
extensions/browser/guest_view/web_view/web_view_permission_helper.cc
nwjs/chromium.src
bsd-3-clause
14,198
379
codeparrot/github-code
124788fb198c80521b8e79cc90675ddb1970f97bf258735813e4cd6a2a50741a
/* * Copyright (C) 2016-2017 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 com.bouye.gw2.sab.scene; import com.bouye.gw2.sab.SAB; import com.bouye.gw2.sab.SABConstants; import com.bouye.g...
Java
gw2-sab/src/com/bouye/gw2/sab/scene/SABControlBase.java
fabricebouye/gw2-sab
bsd-3-clause
3,716
115
codeparrot/github-code
61a9837d7d2c5235ffdbb3df8e4126068a76c6c7c7d55ebff933587fb4d82c88
#ifndef PCIE_INTERNAL__H #define PCIE_INTERNAL__H #include <string.h> #include <odp/rpc/rpc.h> #include <odp/rpc/pcie.h> #include "pcie.h" #include "rpc-server.h" #include "internal/rpc-server.h" #include "ring.h" #include "mppapcie_odp.h" #include "netdev.h" #include "internal/netdev.h" #define MPPA_PCIE_USABLE_DNOC...
C
firmware/common/pcie/internal/pcie.h
kalray/odp-mppa
bsd-3-clause
4,045
170
codeparrot/github-code
3a3e397aaee764a0816c699aed823a955cd8fcca3a7de7dfcc1f08f3f36143ea
{-# LANGUAGE CPP #-} module Database.PostgreSQL.PQTypes.Internal.Monad ( DBT_(..) , DBT , runDBT , mapDBT ) where import Control.Applicative import Control.Concurrent.MVar import Control.Monad.Base import Control.Monad.Catch import Control.Monad.Error.Class import Control.Monad.Reader.Class import Control....
Haskell
src/Database/PostgreSQL/PQTypes/Internal/Monad.hs
scrive/hpqtypes
bsd-3-clause
5,271
164
codeparrot/github-code
04b59b9cf56ad36f8c351e9630b8dd269ea4e70f287c7ee1e462d4c5e07089d5
#region License // Copyright (c) 2015, Matt Holmes // 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, t...
C#
src/Vacuum/ViewModels/EditProfileViewModel.cs
brainling/vacuum
bsd-3-clause
3,233
84
codeparrot/github-code
cbf089114bda9d3f92dfe5cdd14f812f0abb874c675899b889cd0b714389686e
#include <assert.h> #include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <stdarg.h> #include <string.h> #include <math.h> #include "gc.h" #define MALLOC GC_MALLOC #define REALLOC GC_REALLOC #define FREE(_x) #define MEM_INIT() GC_INIT() typedef char int8; typedef unsigned char uint8; typedef int int32; ...
C
pyc_c_runtime.h
jplevyak/pyc
bsd-3-clause
12,669
407
codeparrot/github-code
5fc97761c26956521c34c2b941c7ab93692ced280ef4ab02573aebf4681e4ddc
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Code Coverage for /var/www/html/Album/vendor/zendframework/zendframework/library/Zend/Db/Sql/Platform/AbstractPlatform.php</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="css/bootstrap.min.css" rel=...
HTML
module/AlbumRest/test/report/vendor_zendframework_zendframework_library_Zend_Db_Sql_Platform_AbstractPlatform.php.html
luizbrandao/ZF2-CRUD
bsd-3-clause
36,285
317
codeparrot/github-code
6e24bb88b98dbacb95804fc0a42708cdc3d1ed77d1885cb4f8b9a9702eba39b8
using System; using System.Web.Script.Serialization; using System.Runtime.Serialization; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; namespace Moscrif.IDE.Editors.ImageView { public class BarierPointJavaScriptConverter : JavaScriptConverter { priv...
C#
editors/ImageView/BarierPointJavaScriptConverter.cs
moscrif/ide
bsd-3-clause
1,636
57
codeparrot/github-code
600d6d86072d627e91b36b0beda6e19a919d3a0194c46255501882131a3c7ba1
<?php namespace app\models; use app\models\User; use yii\base\Model; use Yii; /** * Signup form */ class SignupForm extends Model { public $id; public $email; public $password; /** * @inheritdoc */ public function rules() { return [ ['id', 'filter', 'filter' =>...
PHP
models/SignupForm.php
yurakuzemko/Company-Depot
bsd-3-clause
1,496
66
codeparrot/github-code
7f34dc992dd299ba18baa14191720d96608f65f2297ace5c6f183ff4749abb3f
{% macro render_html_row(row) %} <div class="row"> {% for col in row.columns %} <div class="{{col.divclass}}"> {% for item in col.items %} {% if item | is_bootstrap_row %} {{ render_html_row(item) }} {% else %} {{ item.render_html()|safe }} {% endif %} {% endfor %} </div> {% endfor %} </...
HTML
flask_visujax/templates/visujax/gridder.html
dfroger/Flask-Visujax
bsd-3-clause
919
44
codeparrot/github-code
ea35d536ae2f8ea38daa221e3572fdf046c1617543a0a54224ade50c06883e57
{-# LANGUAGE EmptyDataDecls, FlexibleContexts, FlexibleInstances, RankNTypes #-} {-# LANGUAGE TypeSynonymInstances, UndecidableInstances #-} module Main where import Data.Constraint.Unsafely import Data.Proxy class Semigroup a where -- | binary operation which satisifies associative law: -- ...
Haskell
examples/semigroup.hs
konn/unsafely
bsd-3-clause
1,564
48
codeparrot/github-code
f739ca364442fbf7a84b021ac25874e74e40a474ddb8bc7d7fd7742ddca95699
/* * Copyright (c) 2013-2014 Qlogic Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, t...
C
sys/dev/qlxge/qls_os.c
jrobhoward/SCADAbase
bsd-3-clause
37,959
1,538
codeparrot/github-code
498f8d08a444e997edd11bd2efb4cc641356bdcd2d6460b4a8d21177dbc204fd
<?php /** * Action for deleting items. As the item to delete is specified by the last URI element (which * does not have a matching action file), it is implicitly put in the "itemsid" request parameter. * It gets that name because "items" is the last URI element that had a match, so we assume the * last element to ...
PHP
examples/wishlist/actions/items/ItemsDel.php
eliksir/kolibri
bsd-3-clause
1,087
32
codeparrot/github-code
c689855281d21ec0a0198063ee9aa4e3fc67190739870c0e7aa68b92cc940725
#pragma once #include <in6addr.h> #include <winsock2.h> #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <inttypes.h> #include <base/StringMacros.h> namespace mstc { namespace ot { #define GUID_FORMAT "{%08lX-%04hX-%04hX-%02hhX%02hhX-%02hhX%02hhX%02hhX%02hhX%02hhX%02hhX}" #define GUID_FORMATW MACRO_WIDEN_...
C
examples/apps/mstc/public/tcOtApi/OtFormat.h
jjlee3/openthread
bsd-3-clause
1,211
33
codeparrot/github-code
08730d3609f7f5926f7ec6fe719855135ad7e194c9518c71e9ab8fb7d81f2bba
package org.cagrid.cds.model; import java.io.Serializable; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ProxyLifetime complex type. * * <p>The following schema fragment specifies the expected c...
Java
cagrid-cds/cagrid-cds-api/src/main/java/org/cagrid/cds/model/ProxyLifetime.java
NCIP/cagrid2
bsd-3-clause
2,000
94
codeparrot/github-code
42cd98ff253fb289eb598f1f69797742ea7ba64db8407caac1546a2ccd4403ea
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // 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 t...
C++
src/chrono_models/vehicle/rccar/RCCar_DoubleWishbone.cpp
Milad-Rakhsha/chrono
bsd-3-clause
14,039
315
codeparrot/github-code
96dc66c3e0fa535b971faea97af80ee04c8fd06f902db528f8dd2a0860d9e754
/****************************************************************************** * Copyright (c) 2014-2015, The Pennsylvania State University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: *...
C++
utilities/dxmakesensor.cpp
Architectural-Lighting-Simulation/STADIC
bsd-3-clause
3,502
85
codeparrot/github-code
364d530f66e91bdc650aa5b52acddca802f40a2269f7d5cc5aca85bf386f8865
"use strict"; var fs = require("fs"); var async = require("async"); var glob = require("glob"); var espree = require("espree"); var gettextParser = require("gettext-parser"); var cheerio = require("cheerio"); var helpers = require("./helpers.js"); /** * @class extract * @constructor */ var extract = {}; /** *...
JavaScript
src/extract.js
flozz/stonejs-tools
bsd-3-clause
12,173
361
codeparrot/github-code
24cf26377fd19ca97406455563bab5db34164f5332408a0fa314b0227d4a2dcf
//===- lles/ast/Decl.hpp ----------------------------------------*- C++ -*-===// // // The LLES JavaScript Compiler // // This file is distributed under the BSD 3 clause licence. // See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // //...
C++
include/lles/ast/Decl.hpp
Jeremiah-B/LLES
bsd-3-clause
1,056
38
codeparrot/github-code
0999daeea8b48aad264ecc0c8009fa516b2d0cc539bcbe6b8cddd38f92de7af9
/* Copyright (C) 2005-2007 Feeling Software Inc. Portions of the code are: Copyright (C) 2005-2007 Sony Computer Entertainment America MIT License: http://www.opensource.org/licenses/mit-license.php */ #include "StdAfx.h" #include "FCDocument/FCDEffect.h" #include "FCDocument/FCDEffectCode.h" #include...
C++
Programs/ColladaConverter/Collada15/FCollada/FColladaTest/FCTestExportImport/FCTEIMaterial.cpp
dava/dava.engine
bsd-3-clause
19,217
436
codeparrot/github-code
31c254d9027e07d4a65ce30d0a3bae766fb75c1f3b3ac0d9fd0c5eb438bfb4eb
<?php namespace backend\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use backend\models\Article; /** * ArticleSearch represents the model behind the search form about `backend\models\Article`. */ class ArticleSearch extends Article { /** * @inheritdoc */ public function r...
PHP
backend/models/ArticleSearch.php
tutoriorg/lld-diamonds
bsd-3-clause
1,774
73
codeparrot/github-code
b65283c0ad60757e28d56ed1e8af3aca35f6245bdf8b25f958b48ce5628ff65a
/*- * Copyright (c) 2011 Nathan Whitehorn * 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 co...
C
distextract/distextract.c
svagner/bsdinstall
bsd-3-clause
6,531
242
codeparrot/github-code
092e9af4ea1108284813bdb38073b5633ef01ed988e9ba52036033c2435049fa
// 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/views/avatar_menu_button.h" #include "chrome/browser/profiles/avatar_menu_model.h" #include "chrome/browser/profiles/prof...
C++
chrome/browser/ui/views/avatar_menu_button.cc
rogerwang/chromium
bsd-3-clause
6,034
166
codeparrot/github-code
e4fe2e843d0f89e40339b14a71fbfe36aa2161f8f4bd53e3e1b57f30c06b8720
// 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/customization_document.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/file_util.h" #includ...
C++
chrome/browser/chromeos/customization_document.cc
mogoweb/chromium-crosswalk
bsd-3-clause
12,295
347
codeparrot/github-code
c6086922c52072457475c44520e479e8c55cadf9cc7cbf1d7420bb29599c8e79
#include <stdint.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <poll.h> #include <netinet/ip.h> #include <sys/ioctl.h> #include <linux/if.h> #include <linux/if_tun.h> #include "help.h" #define CLEAR(x) \ memset((x), 0, sizeof(*(x...
C
cbits/help-linux.c
sw17ch/tuntap
bsd-3-clause
3,796
205
codeparrot/github-code
7ceaa780afce6941cc8dbb00c8d2f9fb89fce4f31731af12648383b6a8919a25
{- Author: George Karachalias <george.karachalias@cs.kuleuven.be> Haskell expressions (as used by the pattern matching checker) and utilities. -} {-# LANGUAGE CPP #-} module PmExpr ( PmExpr(..), PmLit(..), SimpleEq, ComplexEq, toComplex, eqPmLit, truePmExpr, falsePmExpr, isTruePmExpr, isFalsePmExpr, ...
Haskell
compiler/deSugar/PmExpr.hs
GaloisInc/halvm-ghc
bsd-3-clause
16,939
442
codeparrot/github-code
2a9d4e6789aa75401c7629d5e2b390db43898edce32356d77712185c7df1f890
/*! \file slam.cpp * \brief Definitions for the ROS <slam> node. */ #include "slam.hpp" int main(int argc, char** argv) { ROS_INFO("Node launched."); ros::init(argc, argv, "slam"); ros::NodeHandle private_node_handle("~"); slamData startupData; bool inputIsValid = startupData.obtainStartingData(private_node_...
C++
nodes/slam/slam.cpp
steevo87/thermalvis
bsd-3-clause
974
42
codeparrot/github-code
4d80726a6fd84b1352815966dc572a84742ee0146084fb61f0792c75272efe74
#ifndef S3D_VIDEO_FILE_PARSER_FILE_PARSER_PRODUCER_H #define S3D_VIDEO_FILE_PARSER_FILE_PARSER_PRODUCER_H #include "s3d/concurrency/producer_barrier.h" #include "s3d/video/video_frame.h" #include <atomic> #include <chrono> #include <mutex> namespace s3d { struct VideoCaptureFormat; class VideoFileParser; using s3...
C
src/core/s3d/include/s3d/video/file_parser/file_parser_producer.h
hugbed/OpenS3D
bsd-3-clause
1,757
65
codeparrot/github-code
a14c3c4057aeee7473e36891e8011053fee8084b1d364038e220836fe6ed02a7
test('jquery.navigate', () => { const filesystem = require('fs'); const fragment = filesystem .readFileSync('./test/jsdom/jquery.navigate.test.html'); document.body.innerHTML = fragment; // Imitate DOM behaviour document.getElementById('topRight').getBoundingClientRect = function(){ ...
JavaScript
test/jsdom/jquery.navigate.test.js
qcode-software/qcode-ui
bsd-3-clause
2,477
93
codeparrot/github-code
41755ea742bddcfa0ec95eb6c36d15e10bdc0f61b9e58a120130084fae9966e2
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_struct_realloc_42.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml Template File: sources-sinks-42.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory M...
C++
xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s02/CWE762_Mismatched_Memory_Management_Routines__delete_array_struct_realloc_42.cpp
JianpingZeng/xcc
bsd-3-clause
3,482
125
codeparrot/github-code
ff61ef33cf143e286e5bbe233ce1414314ca1c38fb78bfdfb08a2c34e48d374f
#include "Tudat/Astrodynamics/ObservationModels/observationSimulator.h" namespace tudat { namespace observation_models { template class ObservationSimulatorBase< double, double >; template class ObservationSimulator< 1, double, double >; template class ObservationSimulator< 2, double, double >; template class Observ...
C++
Tudat/Astrodynamics/ObservationModels/observationSimulator.cpp
Tudat/tudat
bsd-3-clause
1,391
40
codeparrot/github-code
781193bec10814941c65c01feecc9a151a26a0f0543129b8b9a0bfc7ddca1895
#!/usr/bin/python # Copyright 2017 Google Inc. # # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file or at # https://developers.google.com/open-source/licenses/bsd """Python sample demonstrating use of the Google Genomics Pipelines API. This sample demonstrates a pipe...
Python
bioconductor/run_bioconductor.py
googlegenomics/pipelines-api-examples
bsd-3-clause
6,448
177
codeparrot/github-code
38fc0eab0376866f2f58065fcacf2dc821275252ce89517a42328ae4205716d4
// 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 "components/favicon/ios/favicon_url_util.h" #include <algorithm> #include <iterator> #include "components/favicon/core/favicon_url.h" #include ...
C++
components/favicon/ios/favicon_url_util.cc
endlessm/chromium-browser
bsd-3-clause
1,754
54
codeparrot/github-code
7406322a8a302f724d48d67c0e28c1a75c5f308ba2d4098ac1cb17d972569f4e
/*================================================================================ 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...
Java
src/com/vmware/vim25/SharesOption.java
xebialabs/vijava
bsd-3-clause
2,229
57
codeparrot/github-code
71aa8830b166805b09809dc28e786bdf341c71bb46789c15e60f5c0eb72604b3
import re from collections import namedtuple # this is almost a validating expression, it could certainly be simpler by just using [^/]* inside the groups chargeDef = r"(/q[\-\+0-9;\*mMnNi]*)?" protonationDef = r"(/p[\-\+0-9,;]*)?" isotopeDef = r"(/i[\-\+0-9,;HDT]*(?:/h[0-9HDT]+)*)?" stereoBondDef=r"(/b[\-\+0-9,\?\*;...
Python
inchi-split/splitter.py
nbateshaus/chem-search
bsd-3-clause
9,306
283
codeparrot/github-code
05cced5c73610d85d5e91109cac938b641632d5ddb207518c9bd1d46b6d25c5d
/*(c) Copyright 2012, VersionOne, Inc. All rights reserved. (c)*/ using System.Linq; using VersionOne.ServiceHost.Core.Logging; namespace VersionOne.ServerConnector.StartupValidation { public class V1CustomListFieldValidator : BaseValidator { private readonly string fieldName; private readonly str...
C#
VersionOne.ServerConnector/StartupValidation/V1CustomListFieldValidator.cs
versionone/VersionOne.Integration.JIRA
bsd-3-clause
2,085
43
codeparrot/github-code
42628144703e96d4b964786d6890db0500e9e2cf99c7d4c736b15e9521837ee3
<?php namespace Fmt; final class PSR1OpenTags extends FormatterPass { public function candidate($source, $foundTokens) { return true; } public function format($source) { $this->tkns = token_get_all($source); $this->code = ''; $touchedComment = false; while (...
PHP
src/PSR1OpenTags.php
TJSoler/phpfmt
bsd-3-clause
1,917
54
codeparrot/github-code
72c9dc81327bb9a8519426b6f224b97195454639cb80fddad3e5c5757be50cee
/* seq.c - Count from first to last, by increment. * * Copyright 2006 Rob Landley <rob@landley.net> * * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/seq.html USE_SEQ(NEWTOY(seq, "<1>3?f:s:", TOYFLAG_USR|TOYFLAG_BIN)) config SEQ bool "seq" depends on TOYBOX_FLOAT default y ...
C
commands/lsb/seq.c
zsaleeba/shellbox
bsd-3-clause
2,218
84
codeparrot/github-code
5f9b9108e7bdf2f950cfc1b209ce7f58997e928ee16f75d8f6cf38a24c7adb71
/* * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * Copyright (c) 2008, Nationwide Health Information Network (NHIN) Connect. 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...
Java
Common/NhincLib/src/main/java/gov/hhs/fha/nhinc/connectmgr/data/CMAddresses.java
TATRC/KMR2
bsd-3-clause
3,243
86
codeparrot/github-code
70f05e8aea70669a725101debe9a47c5ef4a76ef501d4e131c36684f86db0544
;(function(){ /** * Require the given path. * * @param {String} path * @return {Object} exports * @api public */ function require(path, parent, orig) { var resolved = require.resolve(path); // lookup failed if (null == resolved) { orig = orig || path; parent = parent || 'root'; var err = new ...
JavaScript
scripts/list-1.1.0.js
elliottd/webplayer
bsd-3-clause
39,954
1,460
codeparrot/github-code
593a0e8ce9d9dbfb81fc1e1e405d90ed00bdb497b0b03738603878bb3bfdd4b1
<?php /** * * Enter description here ... * @author xiuqiangxiang * @copyright: * * */ namespace Blog\Controller; use Blog\Form\BlogForm; use Blog\Model\Blog; use Zend\Mvc\Controller\AbstractActionController; use Zend\View\Model\ViewModel; class PostController extends AbstractActionController { protected $bl...
PHP
module/Blog/src/Blog/Controller/PostController.php
JohnnyXiang/zf2
bsd-3-clause
2,259
126
codeparrot/github-code
8b0f5a382da515992104dc97b44f1fceedf5356b9bca3eed55e72179dbadf3c5
/* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ package antlr import ( "fmt" "strconv" "strings" ) var ( ParserATNSimulatorDebug = false ParserATNSimulatorListATND...
GO
runtime/Go/antlr/parser_atn_simulator.go
chandler14362/antlr4
bsd-3-clause
54,246
1,475
codeparrot/github-code
5ba6761dafe4d01881bf7844e53ebd7bc31621aa4f15f30bccd768dc661792fa
#!/usr/bin/env python # 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. """ Generator for C++ style thunks """ import glob import os import re import sys from idl_log import ErrOut, InfoOut, WarnOut fr...
Python
ppapi/generators/idl_thunk.py
timopulkkinen/BubbleFish
bsd-3-clause
16,821
493
codeparrot/github-code
72aeeb55d70fd91650c0d92f6f7bc72d50c30f4982b334c5b19a61f5e1c2f1e9
/* * $Id: stdlib_unsetenv.c,v 1.10 2008-04-30 16:32:49 obarthel Exp $ * * :ts=4 * * Portable ISO 'C' (1994) runtime library for the Amiga computer * Copyright (c) 2002-2015 by Olaf Barthel <obarthel (at) gmx.net> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * m...
C
library/stdlib_unsetenv.c
adtools/clib2
bsd-3-clause
3,183
120
codeparrot/github-code
cab0f4f08ef5d304111c47c6694e81322b60e28e5007367e1f14cf96b8d67735
# -*-coding:Utf-8 -* # Copyright (c) 2014 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # lis...
Python
src/primaires/scripting/fonctions/memoires.py
stormi/tsunami
bsd-3-clause
5,050
130
codeparrot/github-code
6966230e378d2350b9ed9265797f40e4e67e22a26aff03144573ca31b4a719b4
<?php namespace app\models; use Yii; use app\classes\TurnClass; /** * This is the model class for table "turn". * * @property string $turn_id * @property integer $turn_game_id * @property integer $turn_user_id * @property integer $turn_time * @property integer $turn_time_begin * @property integer $turn_gold ...
PHP
models/Turn.php
Petrus3D/Monark2
bsd-3-clause
6,163
201
codeparrot/github-code
28befbad566f79d81b1e22b78187f427b59f3d0dc535bd083a835af643b172f7
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>statsmodels.genmod.families.links.CLogLog.deriv2 &#8212; statsmodels v0.10.1 documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel="stylesheet" href="....
HTML
v0.10.1/generated/statsmodels.genmod.families.links.CLogLog.deriv2.html
statsmodels/statsmodels.github.io
bsd-3-clause
7,962
180
codeparrot/github-code
0cb926f6203a1b79630bce508401b8713db3df6defe382a9361715a24d418c4d
#include <iostream> #include <vector> #include <stack> using namespace std; class Solution { public: int largestRectangleArea(vector<int>& height) { int ret = 0; stack<int> pendingHeights, indices; for (int i = 0, iend = height.size(); i < iend; ++i) { if (pendingHeights.empty(...
C++
2nd/084_largest_rectangle_in_histogram.cpp
buptlxb/leetcode
bsd-3-clause
1,364
46
codeparrot/github-code
9992d2d3dd5caaf51a9d12415057106db95e2cb9a335c66c937aefbc0559d5bd
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * Copyright (C) 2010 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by ...
C++
third_party/WebKit/Source/core/html/HTMLOListElement.cpp
Workday/OpenFrame
bsd-3-clause
3,757
114
codeparrot/github-code
588e052320ef0a0c618a8489fb7242a9dbfe030b45a2dc05b7d3dda7c73f5d5d
<?php namespace app\controllers; use Yii; use app\models\Classes; use yii\filters\AccessControl; use yii\data\ActiveDataProvider; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * ClassesController implements the CRUD actions for Classes model. */ class ClassesController e...
PHP
controllers/ClassesController.php
jwerd/classcrasher
bsd-3-clause
3,549
125
codeparrot/github-code
15cc08cbee745de001cf2cff8f9b98b072e8723452683b8422b83a4aec976903
/******************************************************************************* * Copyright SemanticBits, Northwestern University and Akaza Research * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/caaers/LICENSE.txt for details. ******************************************...
Java
caAERS/software/web/src/main/java/gov/nih/nci/cabig/caaers/web/fields/TabWithFields.java
CBIIT/caaers
bsd-3-clause
6,590
187
codeparrot/github-code
2032c0579b0528b175da91a7257b4ba064bfeef934aef6c155fc9bf856f9b33c
{% extends "layout.html" %} {% load template_tags %} {% block title %} Download reports {% endblock %} {% block page_title %}Choose survey to export data {% endblock %} {% block search %} <div style="margin-top: -20px;"> {% include "aggregates/_download_filter.html" with action="excel_report"|get_url_without_ids fil...
HTML
survey/templates/aggregates/download_excel.html
unicefuganda/uSurvey
bsd-3-clause
1,573
55
codeparrot/github-code
629cf9186128b578ca2948c311080eff4668d588c5faf1d7120bd4fa9a9cd018
/** *============================================================================ * The Ohio State University Research Foundation, Emory University, * the University of Minnesota Supercomputing Institute * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cagrid-grid-incubation...
Java
grid-incubation/incubator/projects/caOS/projects/workflowHelper/test/src/org/cagrid/workflow/helper/test/unit/FileUtilTest.java
NCIP/cagrid-grid-incubation
bsd-3-clause
1,203
39
codeparrot/github-code
899b39451f03914d4620bdc240e78d05418828d95b1d29fadf8c0b0fd4ea1a83
//**********************************************************************; // Copyright (c) 2018, Intel Corporation // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of s...
C
tools/tpm2_startauthsession.c
martinezjavier/tpm2-tools
bsd-3-clause
4,283
148
codeparrot/github-code
af2c971486ff8407f0a02f5e95cfece5cd1e4ce57f5fd97e0248cb3136b8925b
#!/usr/bin/env python # ---------------------------------------------------------------- # Programmer(s): Daniel R. Reynolds @ SMU # ---------------------------------------------------------------- # Copyright (c) 2013, Southern Methodist University. # All rights reserved. # For details, see the LICENSE file. # ------...
Python
sundials/examples/arkode/CXX_serial/plot_sol.py
liuqx315/Sundials
bsd-3-clause
1,175
50
codeparrot/github-code
483e8b5a9ad77844ed97a965c6c4a2e68715af90e7b35e957dfccf5cbfb0ae55
///////////////////////////////////////////////////////// /////////////// The Radar Chart Function //////////////// /////////////// Written by Nadieh Bremer //////////////// ////////////////// VisualCinnamon.com /////////////////// /////////// Inspired by the code of alangrafu /////////// //////////////////////////////...
JavaScript
app/scripts/radarChart.js
AugmentHCI/Paris
bsd-3-clause
10,084
273
codeparrot/github-code
ad346c49046d404f302be0d1ae0931547cf9634d63105d33b8f593ce3bab20e4
{-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE PackageImports #-} {-# LANGUAGE UnicodeSyntax #-} {-| [@ISO639-1@] fi [@ISO639-2B@] fin [@ISO639-3@] fin [@Native name@] suomi [@En...
Haskell
src/Text/Numeral/Language/FIN.hs
telser/numerals
bsd-3-clause
48,480
872
codeparrot/github-code
22abf728ec1d7424de37f8ea109ac7800679648e1f84db8a665ccb2dd7c549c5
// Copyright 2017 The Dawn Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
C
third_party/dawn/src/dawn_native/metal/SwapChainMTL.h
endlessm/chromium-browser
bsd-3-clause
1,886
61
codeparrot/github-code
14d4cbc512c19d05afec3058bd441cf9c4df81f849e539104c9d8b9675413f91
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__new_free_char_15.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_free.label.xml Template File: sources-sinks-15.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Management Routines...
C++
xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s06/CWE762_Mismatched_Memory_Management_Routines__new_free_char_15.cpp
JianpingZeng/xcc
bsd-3-clause
6,025
221
codeparrot/github-code
d6fcf149b374df7876bbe76ee31e865bb99a6e8355d0f95828dd280185e3ad73
// 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 "third_party/blink/renderer/core/css/css_variable_data.h" #include "third_party/blink/renderer/core/css/css_syntax_definition.h" #include "third...
C++
third_party/blink/renderer/core/css/css_variable_data.cc
endlessm/chromium-browser
bsd-3-clause
3,805
105
codeparrot/github-code
29dd38c6793eed2959bf58523d8be20b700afa31c06566cac543efbfa46df4e3
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__char_listen_socket_w32spawnl_33.cpp Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-33.tmpl.cpp */ /* * @description * CWE: 78 OS Command Injection * BadSource: listen_socket Read data us...
C++
xcc/test/juliet/testcases/CWE78_OS_Command_Injection/s04/CWE78_OS_Command_Injection__char_listen_socket_w32spawnl_33.cpp
JianpingZeng/xcc
bsd-3-clause
6,011
213
codeparrot/github-code
b29ecff7e938ce1b924fe56e817b59ccd48f5743b91fa9734fab172e9c25367a
<?php namespace app\components\webpage; use yii\base\Widget; use yii\helpers\Html; class Webpage12345Widget extends Widget { public $message; public $outlet_1; public function init() { parent::init(); if ($this->message === null) { $this->message = 'msg_default_message'; ...
PHP
modules/webpage/components/webpage/Webpage12345Widget.php
efabrikov/test_yii2_basic
bsd-3-clause
622
31
codeparrot/github-code
543537c1bcdb084a025ba826bbc29a26105bf2d177e4cd3f8f8a6623e68a4b7b
/* * Copyright (c) 2009, 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 conditi...
C
third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.h
sgraham/nope
bsd-3-clause
4,292
88
codeparrot/github-code
3d423d94ac2c75149f129b8ec5a6acd4aabf4f27de61562eb0d384a39302f532
<?php namespace Application\Controller\SlsColissimo\Soap\TypeConverter; /** * A collection of type converters */ class TypeConverterCollection { protected $converters = array(); /** * Construct type converter collection * * @param array $converters (optional) Array of type converters */ public function __c...
PHP
module/Application/src/Application/Controller/SlsColissimo/soap/TypeConverter/TypeConverterCollection.php
Zenologo/express
bsd-3-clause
2,221
89
codeparrot/github-code
47db6d6152127fdd1325948fb04a5ed9eed81823c5a9c6d0554d30379da458d5
/*L * Copyright SAIC * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cabio/LICENSE.txt for details. */ package gov.nih.nci.cagrid.cabio.test; import gov.nih.nci.cabio.domain.Gene; import gov.nih.nci.cabio.domain.Protein; import gov.nih.nci.cabio.domain.Taxo...
Java
software/cabio-gridservice/test/src/gov/nih/nci/cagrid/cabio/test/CaBIOClientTestCase.java
NCIP/cabio
bsd-3-clause
14,562
430
codeparrot/github-code
cc3c93fc5c4b450300648430823e67c794c5c58b2c256d8c7e58eddecf853e77
<?php namespace Symbiote\DynamicLists; use SilverStripe\Forms\GridField\GridFieldConfig_RelationEditor; use SilverStripe\Forms\GridField\GridField; use SilverStripe\Security\Permission; use SilverStripe\Core\Convert; use SilverStripe\ORM\DataObject; use Symbiote\GridFieldExtensions\GridFieldOrderableRows; /** * A d...
PHP
src/dataobjects/DynamicList.php
sheadawson/silverstripe-dynamiclists
bsd-3-clause
4,144
158
codeparrot/github-code
ff0ba6b796e5d2c39160c203871e33e10f4c8cbe4d9c9e5097190c31dc5851a7
{% extends "reminders/reminders_base.html" %} {% load url from future %} {% load hq_shared_tags %} {% block head %}{{ block.super }} <script language="javascript" type="text/javascript" src="{% static 'hqwebapp/js/lib/jquery-ui/jquery-ui-1.8.16.min.js' %}"></script> <link rel="stylesheet" href="{% static 'hqwebapp/js...
HTML
corehq/apps/reminders/templates/reminders/partial/add_complex_reminder.html
gmimano/commcaretest
bsd-3-clause
43,343
838
codeparrot/github-code
8a8196b7d488a01f7d4edc4f081728fe74f790a01854c863d51880a040b2556c
/* * This file is part of the theme implementation for form controls in WebCore. * * Copyright (C) 2005 Apple Computer, Inc. * Copyright (C) 2008, 2009 Google, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as publis...
C
third_party/blink/renderer/core/paint/theme_painter_mac.h
endlessm/chromium-browser
bsd-3-clause
3,916
102
codeparrot/github-code
39cd95d400bca12ede16376404c389fcfbc59e1e63a0e258e5448ec597a8f91c
#!/usr/bin/env python """ Script to run Pythran file compilation with specified g++ like flags. """ import argparse import logging import os import sys import pythran from distutils.errors import CompileError logger = logging.getLogger("pythran") def convert_arg_line_to_args(arg_line): """Read argument from ...
Python
pythran/run.py
pbrunet/pythran
bsd-3-clause
5,948
166
codeparrot/github-code
aabf17062f8c1edcabae44ec6c67dfa5d38499cbb9b5afe35bae5ffcec5ac172
<?php /** * 图片常用操作类 * * 用于生成缩略图、图片水印生成等Web开发常用操作 * * @author tommy <tommy@doitphp.com> * @copyright Copyright (c) 2010 Tommy Software Studio * @link http://www.doitphp.com * @license New BSD License.{@link http://www.opensource.org/licenses/bsd-license.php} * @version $Id: Image.php 2.0 2012-12-23 10:40:01Z to...
PHP
doitphp/library/Image.php
doitphp/doitphp_standard_v3
bsd-3-clause
16,785
763
codeparrot/github-code
d0a2c4eb62b879f93167848b61d962cf0f303a207a35126d837a3b657303c6ea
<?php use yii\helpers\Html; use yii\helpers\Url; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $oBook app\models\Book */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="book-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($oBook, 'title')->textInput(['maxlength' => ...
PHP
views/book/_form.php
Arnoldinya/lib
bsd-3-clause
2,962
124
codeparrot/github-code
dc77efba39e44e5e8f7069af8193c30dc184c2ec87e9b46f1e6228ee666a4470
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" conte...
HTML
v0.12.2/generated/statsmodels.tsa.stattools.zivot_andrews.html
statsmodels/statsmodels.github.io
bsd-3-clause
22,915
528
codeparrot/github-code
7a8b2441294cd5699f8b29fc983097ac5711f95449222f1d186e6b9535fc3801
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <LocalizerClient/client.h> namespace vrlt { LocalizationClient::LocalizationClient( int _scale, int _shift ) : sock( -1 )...
C++
LocalizerClient/src/client.cpp
jonathanventura/vrlt
bsd-3-clause
2,384
98
codeparrot/github-code
819a8bd11239b57cfe7448450002f75712cbc6595ea3e565e9bbe82c52dcbdff
package org.broadinstitute.dsde.firecloud.service import akka.http.scaladsl.marshallers.sprayjson.SprayJsonSupport import akka.http.scaladsl.model.StatusCodes._ import org.broadinstitute.dsde.firecloud.dataaccess.AgoraDAO import org.broadinstitute.dsde.firecloud.model.MethodRepository.{AgoraPermission, FireCloudPermis...
Scala
src/main/scala/org/broadinstitute/dsde/firecloud/service/NamespaceService.scala
broadinstitute/firecloud-orchestration
bsd-3-clause
2,404
50
codeparrot/github-code
fdd0fca508c5ae1ea1d09c1cf7365649cf7b47aefbca7f01a1fcee098a37bd43
// 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 "media/cast/test/utility/udp_proxy.h" #include <math.h> #include <stdlib.h> #include <utility> #include <vector> #include "base/bind.h" #includ...
C++
media/cast/test/utility/udp_proxy.cc
endlessm/chromium-browser
bsd-3-clause
28,237
864
codeparrot/github-code
aa12da143ff1106315c2d37146382ace43f648375f61ec53d8867c8820a8f73a
// Copyright (c) 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_APPS_APP_SERVICE_ICON_KEY_UTIL_H_ #define CHROME_BROWSER_APPS_APP_SERVICE_ICON_KEY_UTIL_H_ // Utility classes for providing an...
C
chrome/browser/apps/app_service/icon_key_util.h
endlessm/chromium-browser
bsd-3-clause
1,410
43
codeparrot/github-code
3c2fcc6c5456829c07632087d8b397672b68aba9f281f2ff52b9a53ee0ed329e
<!DOCTYPE HTML> <html> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Clash of Clans Hack Online - Add Free Gems</title> <meta name="description" content="There is now a way to add free gems to your account by using a Clash of Clans Hack. Simply choose the amount of free gems, gold t...
HTML
Source/Testing/HtmlRenderer.ExperimentalApp/Data/Files/clash of clans/FBC69DADFF24FAED06B72031A47CF8B6.html
todor-dk/HTML-Renderer
bsd-3-clause
9,281
101
codeparrot/github-code
abe861fde090185ce20141ac2fc8160dbf88bde74474e614e799f977c979f41c
// Copyright 2016 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/ash/arc/session/arc_service_launcher.h" #include <string> #include <utility> #include "ash/components/arc/appfuse/arc_appfuse_b...
C++
chromium/chrome/browser/ash/arc/session/arc_service_launcher.cc
ric2b/Vivaldi-browser
bsd-3-clause
14,812
303
codeparrot/github-code
cc9dfbea938f2283c96afe5fa7232258e70b95e7e077b175f4f00a5d01dd1b52
// 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 CONTENT_BROWSER_DOM_STORAGE_SESSION_STORAGE_NAMESPACE_IMPL_H_ #define CONTENT_BROWSER_DOM_STORAGE_SESSION_STORAGE_NAMESPACE_IMPL_H_ #include ...
C
content/browser/dom_storage/session_storage_namespace_impl.h
scheib/chromium
bsd-3-clause
3,023
80
codeparrot/github-code
acb6afb3ead7405427b7b01b89933abc655217d9685cd8b1c089350bbd5483fc
<?php namespace app\modules\admin\controllers\backend; use app\modules\admin\services\AdminCRUDService; use kartik\grid\EditableColumnAction; use Yii; use app\modules\admin\models\search\CountrySearch; use app\modules\admin\forms\CountryCreateEditForm; use yii\helpers\ArrayHelper; use yii\web\Controller; use yii\filt...
PHP
modules/admin/controllers/backend/CountryController.php
Andrewkha/sf
bsd-3-clause
3,294
112
codeparrot/github-code
a4d441018469352a3d8086e7e2fb005c4878ea5134574e7f408e83af417ff615
/*- * Copyright (c) 1994-1995 Søren Schmidt * 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 ...
C
usr.sbin/kbdcontrol/kbdcontrol.c
jrobhoward/SCADAbase
bsd-3-clause
27,826
1,230
codeparrot/github-code
106e4de2b4c31feb159684cfd0a63cde5954d431be6d86e9e0db1e2a64c7d590
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>statsmodels.tsa.statespace.structural.UnobservedComponents.loglikeobs &#8212; statsmodels v0.10.1 documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel...
HTML
v0.10.1/generated/statsmodels.tsa.statespace.structural.UnobservedComponents.loglikeobs.html
statsmodels/statsmodels.github.io
bsd-3-clause
9,956
198
codeparrot/github-code
400d5b788ddd6ea3bf26c270735a3ae880335848159cc54bbaf025b85a6fb742
<?php namespace Auth\AuthModel; use Zend\Db\Adapter\Driver; use Zend\Authentication\Adapter\AdapterInterface; use Zend\Authentication\Result; use Store\Entity\User; use Zend\Permissions\Acl\AclInterface; class MyAuthAdapter implements AdapterInterface { protected $username = null; protected $password = null; ...
PHP
module/Auth/src/Auth/AuthModel/MyAuthAdapter.php
06romix/store
bsd-3-clause
1,107
44
codeparrot/github-code
cad4d6eebfcf6d94cac1c478d76245e09afb22972092c50eecbd388a30e8e2b4
using System; using System.Collections; using System.IO; using System.Reflection; using System.Web; using System.Web.UI.WebControls; using Cuyahoga.Core.DataAccess; using Cuyahoga.Core.Domain; using Cuyahoga.Core.Service; using Cuyahoga.Web.UI; using Cuyahoga.Web.Util; namespace Cuyahoga.Web.Install { /...
C#
Web/Install/Install.aspx.cs
cuyahogaproject/cuyahoga-1
bsd-3-clause
15,949
462
codeparrot/github-code
f586a72ef2e452eaf7d3021389938364d1be7fdfb9b075f9f17db52413d8fa27
// 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 <string.h> #include <memory> #include "base/run_loop.h" #include "mojo/public/cpp/bindings/pending_remote.h" #include "services/device/public/c...
C++
third_party/blink/renderer/modules/device_orientation/device_motion_event_pump_unittest.cc
endlessm/chromium-browser
bsd-3-clause
16,022
433
codeparrot/github-code
5c038879f08bcd725fab9445d104c9a90c3cd75e66aa2203fbaceec1816fc9a1
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/android/tab_favicon.h" #include "chrome/android/chrome_jni_headers/TabFavicon_jni.h" #include "components/favicon/content/conten...
C++
chrome/browser/android/tab_favicon.cc
endlessm/chromium-browser
bsd-3-clause
3,278
95
codeparrot/github-code
88bf85d76285875330e74e8ef8a624051b76da030e4e4db93764999f981c6b83
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.feed.library.piet.ui; import android.graphics.drawable.ShapeDrawable; import android.graphics.drawable.shapes.RectSha...
Java
chrome/android/feed/core/java/src/org/chromium/chrome/browser/feed/library/piet/ui/GradientDrawable.java
endlessm/chromium-browser
bsd-3-clause
1,322
31
codeparrot/github-code
e5c9ef486eb4e5308dddd957f3fd4434158af06758e6f9df801795ddf8affdb5
<?php use SilverStripe\CMS\Controllers\ContentController; use SilverStripe\Control\Director; use SilverStripe\Core\Injector\Injector; use SilverStripe\View\Requirements; /** * An extension of the content controller class for a page controller. */ class PageController extends ContentController { /** * Confi...
PHP
app/code/PageController.php
praxisnetau/silverstripe-webpack2-starter
bsd-3-clause
7,270
306
codeparrot/github-code
6a19708919f9cbe9c12324c8d382221c6ce6c88bea5a6f5f6e0fb9da6cd2e301
package abi38_0_0.host.exp.exponent.modules.api.screens; import android.view.View; import abi38_0_0.com.facebook.react.module.annotations.ReactModule; import abi38_0_0.com.facebook.react.uimanager.ThemedReactContext; import abi38_0_0.com.facebook.react.uimanager.ViewGroupManager; @ReactModule(name = ScreenContainerV...
Java
android/versioned-abis/expoview-abi38_0_0/src/main/java/abi38_0_0/host/exp/exponent/modules/api/screens/ScreenContainerViewManager.java
exponent/exponent
bsd-3-clause
1,511
57
codeparrot/github-code
dd2f4b45f1995da7b0b681379a7855b68fcf1fd97e219cb2fb660f08de3ffb69
package io.tracee.binding.jms; import io.tracee.Tracee; import io.tracee.TraceeConstants; import org.hamcrest.Matchers; import org.junit.After; import org.junit.Before; import org.junit.Test; import javax.annotation.Resource; import javax.ejb.embeddable.EJBContainer; import javax.jms.*; import javax.naming.NamingExce...
Java
binding/jms/src/test/java/io/tracee/binding/jms/TraceeMessageListenerAndProducerIT.java
danielwegener/tracee
bsd-3-clause
2,292
77
codeparrot/github-code