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
ad397e9798475fd29f6c62b999258b408185452be4139d7bb5d2458e87b696b7
// Copyright (c) 2010 The WebM project authors. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing p...
C++
common/comdllwrapper.cpp
brion/webmdshow
bsd-3-clause
3,577
147
codeparrot/github-code
8779c7ea156c39aac8d7816e15be3c2e9370825e69ef08fc02ddb6e6bfc29d99
/* Examples/reed_sol_01.c Jerasure - A C/C++ Library for a Variety of Reed-Solomon and RAID-6 Erasure Coding Techniques Revision 1.2A May 24, 2011 James S. Plank Department of Electrical Engineering and Computer Science University of Tennessee Knoxville, TN 37996 plank@cs.utk.edu Copyright (c) 2011, James S. Plank A...
C
Examples/reed_sol_01.c
linuxbox2/jerasure-gf
bsd-3-clause
4,938
153
codeparrot/github-code
21cbb6af5c61869463cfb2e8df8cfa5bd9bd911c5b040b88bba9f5c7f3a27d6d
/*================================================================================ 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 ...
Java
src/com/vmware/vim25/VmDiskFileInfo.java
mikem2005/vijava
bsd-3-clause
2,893
104
codeparrot/github-code
c438297224a2bd5e4f8df67e893a971fb2f85c62b3dd64ff5d50eb562714eb55
/* * Mach Operating System * Copyright (c) 1991,1990 Carnegie Mellon University * All Rights Reserved. * * Permission to use, copy, modify and distribute this software and its * documentation is hereby granted, provided that both the copyright * notice and this permission notice appear in all copies of the * so...
C
freebsd5/sys/ddb/db_input.c
MarginC/kame
bsd-3-clause
7,877
370
codeparrot/github-code
d2d9123590f86a096f195968fe7e03f17ef2468fd7ddaf6b552b95f5e1d1855c
/** * TODO: The PvManager will actually do following * 1. make REST API calls to get PVs for the input attribute * 2. Cache the PVs so that frequent calls are not needed */ angular.module('openspecimen') .factory('PvManager', function($http, $q, $translate, ApiUrls, ApiUtil, Site, Util) { var url = ApiUrls.g...
JavaScript
www/app/modules/common/pv-manager.js
krishagni/openspecimen
bsd-3-clause
9,058
290
codeparrot/github-code
0dd105ff7c8731c557aae91fff500247b70935fbede3f19b25595a0fa68958e0
<!-- @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:/...
HTML
app/styles/app-theme.html
inventory-manager/im-polymer
bsd-3-clause
7,018
239
codeparrot/github-code
c521dba4aee061a897695e8b8a6453fce39ce144dd656019b2a0eb7e5f3a10d0
--- layout: data_model title: FTPActionNameVocab-1.0 this_version: 4.1 --- <div class="row"> <div class="col-md-10"> <h1>FTPActionNameVocab-1.0<span class="subdued">MAEC Vocabularies Schema</span></h1> </div> <div id="nav-area" class="col-md-2"> <p> <form id="nav-version"> <select> ...
HTML
data-model/4.1/maecVocabs/FTPActionNameVocab-1.0/index.html
MAECProject/MAECProject.github.io
bsd-3-clause
7,288
247
codeparrot/github-code
92422b69d74723a6dd6a3b60d31c76ed7fadbaa6fd7fdc41d70cea95a2f67972
#pragma once #ifndef IWA_TIMECODEFX_H #define IWA_TIMECODEFX_H #include "stdfx.h" #include "tfxparam.h" #include "tparamset.h" //****************************************************************** // Iwa_TimeCode Fx class //****************************************************************** class Iwa_TimeCodeFx fina...
C
toonz/sources/stdfx/iwa_timecodefx.h
damies13/opentoonz
bsd-3-clause
1,464
53
codeparrot/github-code
405740c0a436ac52fa5d025971c180600f3a6a4896d865f7662131c7fff222e0
#ifndef SOAPSHORTHIT_H_ #define SOAPSHORTHIT_H_ #include <string> #include <stdlib.h> #include <iostream> #include <boost/tokenizer.hpp> using namespace std; class SoapShortHit { public: string query_id; int query_start; int query_end; int num_hits; int query_length; int full_query_length;...
C
jabon/src/SoapShortHit.h
ylipacbio/ForReferenceOnly
bsd-3-clause
1,472
55
codeparrot/github-code
7e0476dda30382691e2c508a439ee10fc0bfd4934723a8811d9cb76c1d153385
from __future__ import absolute_import, print_function import click import sys from sentry.runner.decorators import configuration def _get_field(field_name): from sentry.models import User return User._meta.get_field(field_name) def _get_email(): from django.core.exceptions import ValidationError ...
Python
src/sentry/runner/commands/createuser.py
beeftornado/sentry
bsd-3-clause
3,480
109
codeparrot/github-code
158809e7658074be3230f6526d991c15f21c17100bc75bc9af5a71e4908f7f5c
/*L * Copyright Moxie Informatics. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/calims/LICENSE.txt for details. */ /** * */ package gov.nih.nci.calims2.ui.administration.laboratory; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNo...
Java
calims2-webapp/test/unit/java/gov/nih/nci/calims2/ui/administration/laboratory/LaboratoryControllerTest.java
NCIP/calims
bsd-3-clause
4,035
96
codeparrot/github-code
8244dd2ef4f860d7cf4b4eb1ea8eee42cd10bd578fda65c9db465c8cd5f72747
using System.Collections.Generic; using System.Linq; using Orchard; using Orchard.Caching; using Orchard.Data; using Orchard.Environment.Extensions; using Vandelay.Industries.Models; namespace Vandelay.Industries.Services { public interface ISettingsService : IDependency { IEnumerable<ThemePicke...
C#
Modules/Vandelay.Industries/Services/SettingsService.cs
andrewconnell/aci-orchardcms
bsd-3-clause
2,250
57
codeparrot/github-code
ab031110884fe3ec722dda4347c54f789ae930bc20ee553d26e4fadcf524a9a8
#include <ctype.h> #include <stdio.h> #define MAX_LINE 1000 void getline_my ( char line [], int size ); double atof ( char s [] ); void clear_line ( char line [] ); int atoi ( char s [] ); void main () { char line [ MAX_LINE]; int i = 0; double digit = 0.0; printf ( "Input please line to convert:"...
C
test/atof.c
andrew0snake/4
bsd-3-clause
1,676
98
codeparrot/github-code
480d77e2bb68156443859d71b86a5a0d541cbbbdc2e6d824948e1301bb817460
define( 'django_backend.formset', [ 'jquery', 'django_backend.widget' ], function ($, Widget, undefined) { "use strict"; var FormSet = Widget.subclass({ constructor: Widget.prototype.constructor, init: function () { var self = this; this.initFormDelete(); thi...
JavaScript
django_backend/static/django_backend/js/django_backend.formset.js
team23/django_backend
bsd-3-clause
4,460
171
codeparrot/github-code
b3ce975613f893f2a40cdce6ca21194f55a48b2ecbd69a12d77101c923a49135
#!/usr/bin/python # 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. """Gets information about one commit from gitiles. Example usage: ./fetch_revision_info.py 343b531d31 chromium ./fetch_revision_info.p...
Python
scripts/slave/recipe_modules/auto_bisect/resources/fetch_revision_info.py
eunchong/build
bsd-3-clause
1,529
54
codeparrot/github-code
4c5d1cd4470cbfa9458d5b3f441f24e65dea11fb10570729d481d1e5f5aa0681
"""Generate a schema wrapper from a schema""" import copy import os import sys import json from os.path import abspath, join, dirname import textwrap from urllib import request import m2r # import schemapi from here sys.path.insert(0, abspath(dirname(__file__))) from schemapi import codegen from schemapi.codegen imp...
Python
tools/generate_schema_wrapper.py
ellisonbg/altair
bsd-3-clause
18,648
482
codeparrot/github-code
b206a5f688afcce3e92c6d3dd8f26e2d35e1fb03e605925f2494491048d7b97f
/** * Copyright (c) 2015-present, Parse, LLC. * 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. */ #import <Foun...
C
Parse/PFConfig.h
natanrolnik/Parse-SDK-iOS-OSX
bsd-3-clause
2,501
90
codeparrot/github-code
23ebdbb2059b153b1cecb05543cf31004c956a55bbb8f5840b08fce4ef77967c
#include <gtest/gtest.h> #include <sm/timing/TimestampCorrector.hpp> #include <sm/random.hpp> TEST(TimestampCorrectorTestSuite, testTimestampCorrector1) { try { using namespace sm::timing; TimestampCorrector<double> tc; for(int i = 0; i < 1000; ++i) { double localTime = i + sm::rando...
C++
sm_timing/test/TestTimestampCorrector.cpp
ethz-asl/Schweizer-Messer
bsd-3-clause
1,422
73
codeparrot/github-code
48aa8a1e380620096c351b696546cfa4012c2007fba97abd5ca91b0625cfbae6
{-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE ViewPatterns #-} module GHC.Util ( module GHC.Util.View , module GHC.Util.FreeVars , module GHC.Util.ApiAnnotation , module GHC.Util.HsDecl , module GHC.Util.HsExpr , module GHC.Util.SrcLoc , module GHC.Util.DynFlags , module GHC.Util.Scope , module GHC...
Haskell
src/GHC/Util.hs
ndmitchell/hlint
bsd-3-clause
2,787
114
codeparrot/github-code
7ff9937b6e349d06fc0a369a92524d42d57d2a8c792e6ca3914d88e0b2f4b94e
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_dest_char_cat_41.c Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_dest.label.xml Template File: sources-sink-41.tmpl.c */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Allocate using malloc...
C
xcc/test/juliet/testcases/CWE122_Heap_Based_Buffer_Overflow/s10/CWE122_Heap_Based_Buffer_Overflow__c_dest_char_cat_41.c
JianpingZeng/xcc
bsd-3-clause
3,378
109
codeparrot/github-code
952f82b82dbcd3cebf915068ed1a42c25e0ad3481c2b0de194986b50c33c4f70
/*- * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 * Bill Paul <william.paul@windriver.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: * 1. Red...
C
freebsd5/sys/dev/lge/if_lge.c
MarginC/kame
bsd-3-clause
37,273
1,564
codeparrot/github-code
2ff8e5d0d181b30d0fe0c1c949f7b8b867712f68ae1ebb15a0d52fb2cb527130
/* * * Copyright 2014, 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...
GO
transport/transport.go
go4org/grpc
bsd-3-clause
16,796
564
codeparrot/github-code
ef93753cb723e717092977f1c33eaa2b66ad7db3c8daa03b8e07320b3466b9fe
/* * FreeRTOS Kernel V10.1.1 * Copyright (C) 2018 Amazon.com, Inc. or its affiliates. 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, ...
C
third_party/freertos/repo/FreeRTOS/Demo/RX600_RX64M_RSK_Renesas_e2studio/Source/ParTest.c
openthread/ot-rtos
bsd-3-clause
3,963
166
codeparrot/github-code
ec65bec4c00f0c624b3f6fa88f8ecfdd90d4b5001d04770f71ea60ef4e8b14bb
#!/usr/bin/env python # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Make sure function-level linking setting is extracted properly. """ import TestGyp import sys if sys.platform == 'win32...
Python
test/win/gyptest-cl-function-level-linking.py
Jet-Streaming/gyp
bsd-3-clause
1,647
53
codeparrot/github-code
fd63daaf942e9715e85153b31609f93aacf01ece5a1d845d3a52d262368465f2
""" >>> from blaze import * >>> accounts = symbol('accounts', 'var * {name: string, amount: int}') >>> deadbeats = accounts[accounts['amount'] < 0]['name'] >>> from sqlalchemy import Table, Column, MetaData, Integer, String >>> t = Table('accounts', MetaData(), ... Column('name', String, primary_key = True...
Python
blaze/compute/sql.py
maxalbert/blaze
bsd-3-clause
28,997
961
codeparrot/github-code
b69f09980eaa1923867c5510b205c98df8944377bc24ecadfe02930ff72895d3
/* dtkAbstractDataWriter.cpp --- * * Author: Julien Wintz * Copyright (C) 2008 - Julien Wintz, Inria. * Created: Tue Feb 24 22:03:03 2009 (+0100) * Version: $Id$ * Last-Updated: Tue Apr 24 11:38:11 2012 (+0200) * By: tkloczko * Update #: 38 */ /* Commentary: * */ /* Change log: * */ #inclu...
C++
src/dtkCoreSupport/dtkAbstractDataWriter.cpp
d-tk/dtk
bsd-3-clause
2,532
130
codeparrot/github-code
3e6edde6c94eedc7ec83d97d58a9ac241977f09d292ad1aaca4850fde6d8f0cb
var cdb = require('cartodb.js'); require('tipsy'); /** * Tipsy tooltip view. * * - Needs an element to work. * - Inits tipsy library. * - Clean bastard tipsy bindings easily. * */ module.exports = cdb.core.View.extend({ options: { gravity: 's', opacity: 1, fade: true }, initialize: funct...
JavaScript
lib/assets/javascripts/cartodb3/components/tipsy-tooltip-view.js
codeandtheory/cartodb
bsd-3-clause
1,040
54
codeparrot/github-code
5b11130001d22652a29425ea0b36df0cbe989af14001be621f5d7f239552d257
// // Hacks for the ticket page. // $(function() { // Don't collapse ticket properties. $("#modify").parent().removeClass('collapsed'); // // Link field names to the corresponding sections in the Triaging doc. // var linkMap = { "h_stage": "triage-stages", "h_ui_ux": "ui-u...
JavaScript
trac-env/htdocs/tickethacks.js
alex/code.djangoproject.com
bsd-3-clause
3,256
99
codeparrot/github-code
380c0c42a38c769b17335a12031c828239324e079b2b4828273d154952690c8b
/** * @project RoboMVVM * @project RoboMVVM(https://github.com/debdattabasu/RoboMVVM) * @author Debdatta Basu * * @license 3-clause BSD license(http://opensource.org/licenses/BSD-3-Clause). * Copyright (c) 2014, Debdatta Basu. All rights reserved. * * Redistribution and use in source and binary forms,...
Java
library/src/main/java/org/dbasu/robomvvm/binding/ActionBinding.java
debdattabasu/RoboMVVM
bsd-3-clause
3,273
87
codeparrot/github-code
473e70d02fd89782fec5f591b1c1bcf5d25563e729bbb9430863bf672dc53969
/* * Copyright (C) 2012 Adobe Systems Incorporated. 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
src/webkit/Source/WebCore/rendering/shapes/ShapeInfo.h
klim-iv/phantomjs-qt5
bsd-3-clause
5,301
130
codeparrot/github-code
3b47344c45f333dc9a3b60b5b6b0966bea0b4c279561508589ecfe7627063adc
package synergynet3.cluster.xmpp.presence; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import org.jivesoftware.smack.Roster; import org.jiv...
Java
synergynet3-parent/synergynet3-cluster/src/main/java/synergynet3/cluster/xmpp/presence/PresenceManager.java
synergynet/synergynet3
bsd-3-clause
4,468
157
codeparrot/github-code
5a5b610c6e80314f7002d4dad5a3d7c0adb035f1fe70fe08e6d9bbdd43d93c68
// Copyright (c) 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 <memory> #include "base/command_line.h" #include "base/macros.h" #include "components/component_updater/component_updater_command_line_confi...
C++
components/component_updater/configurator_impl_unittest.cc
endlessm/chromium-browser
bsd-3-clause
6,712
180
codeparrot/github-code
f5c754adde225eb01755b741b563f2de93684d0e0da312a81d6e4d55cc4d51bc
<!DOCTYPE html> <html class="no-js"> <head> <title>craigslist - autos</title> <meta name="viewport" content="width=device-width,initial-scale=1"> <link type="text/css" rel="stylesheet" media="all" href="//www.craigslist.org/styles/cl.css?v=d76fe4376346bd1b2503fb10181051a7"> <!--[if lt IE 9]> <script src...
HTML
Source/Testing/HtmlRenderer.ExperimentalApp/Data/Files/craigslist/8AB09190FC29F6A9029624882714C0AC.html
todor-dk/HTML-Renderer
bsd-3-clause
6,627
193
codeparrot/github-code
9578b89f476e50d41813ac3f81509741763724fe5c652b04e78360c7432318ce
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_ParticleSubtrackEndingInCellEventDispatcher.cpp //! \author Alex Robinson //! \brief Particle subtrack ending in cell event dispatcher class def. //! //------------------------------------------------------------...
C++
packages/monte_carlo/estimator/native/src/MonteCarlo_ParticleSubtrackEndingInCellEventDispatcher.cpp
lkersting/SCR-2123
bsd-3-clause
1,721
49
codeparrot/github-code
c344fd76902fef1af3d853a3b0418dc033e381ae01a208d794c6a8edfdeb3a4e
package regression import ( "context" "fmt" "math" "go.opencensus.io/trace" "go.skia.org/infra/go/paramtools" "go.skia.org/infra/go/skerr" "go.skia.org/infra/go/sklog" "go.skia.org/infra/go/vec32" "go.skia.org/infra/perf/go/alerts" "go.skia.org/infra/perf/go/clustering2" "go.skia.org/infra/perf/go/config" ...
GO
perf/go/regression/detector.go
google/skia-buildbot
bsd-3-clause
12,104
335
codeparrot/github-code
5b43597bfb7171645b984d019fb5d2f3d24ae0b8fa5adf380d91abba6f3de71a
/* * Copyright (c) 2013-2014 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the ...
C++
src/cpu/minor/lsq.cc
BellScurry/gem5-fault-injection
bsd-3-clause
54,513
1,779
codeparrot/github-code
64b377b8cfbf04dab54beb92ddba010139a8a425644496301191e3b50b0182d4
/*L * Copyright Washington University at St. Louis * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/geneconnect/LICENSE.txt for details. */ /** *<p>ClassName: java edu.wustl.geneconnect.metadata.domain.TableColumn</p> */ package edu.wustl.geneconnect.metadat...
Java
Coding and Testing/GeneConnect/src/edu/wustl/geneconnect/metadata/domain/TableColumn.java
NCIP/geneconnect
bsd-3-clause
2,730
146
codeparrot/github-code
1702389193d869420418a31233a1fb6e61d5884c7454bfa7cf9627b625034e09
package itsyouonline import ( "encoding/json" "net/http" ) type OrganizationsService service // Create a new organization. 1 user should be in the owners list. Validation is performed to check if the securityScheme allows management on this user. func (s *OrganizationsService) CreateNewOrganization(organization Or...
GO
clients/go/itsyouonline/organizations_service.go
lucasvanhalst/identityserver
bsd-3-clause
25,082
579
codeparrot/github-code
17182e98d8d7b139d1a5e8cc111ddbb5c307b9720f03df19001220a2a717c191
import datetime import logging import hashlib import random import sys import pymongo import scrapelib from .mongolog import MongoHandler from .storage import engines from celery.execute import send_task class Kernel(object): """ oyster's workhorse, handles tracking """ def __init__(self, mongo_host='local...
Python
oyster/core.py
jamesturk/oyster
bsd-3-clause
10,992
286
codeparrot/github-code
98ab06d8f704bab915606792fd4708ebd61ebe34fef88f7c22566987ff8f5147
/* * $Id$ * * Copyright 2006, The jCoderZ.org Project. 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 * noti...
Java
test/java/org/jcoderz/commons/util/DbUtilServerTest.java
jCoderZ/fawkez-old
bsd-3-clause
8,343
292
codeparrot/github-code
ebbfd1ca9d07aa081ba21a09f14d38d33ecce88105beb0c99d71dd731435a8a6
/* * 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. */ package io.flutter.actions; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.i...
Java
flutter-idea/src/io/flutter/actions/FlutterRetargetAppAction.java
flutter/flutter-intellij
bsd-3-clause
2,555
80
codeparrot/github-code
e053f4eb4ec9aac3685f82147e40c239eeade8084e7fc6748b887560b3c6a942
// Copyright (c) 2011 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/http/http_auth_handler_factory.h" #include <memory> #include "net/base/net_errors.h" #include "net/dns/mock_host_resolver.h" #include ...
C++
net/http/http_auth_handler_factory_unittest.cc
danakj/chromium
bsd-3-clause
7,930
190
codeparrot/github-code
cc910b1fab65cf1396e7f8cd181324f0a51fa1a01ae6f81c50f6fdf3c1ee9df4
/** * @module modules/skip-tasks-sk * @description <h2><code>skip-tasks-sk</code></h2> * * Provides UI for manipulating rules to prevent triggering of matching tasks. */ import { define } from 'elements-sk/define'; import { html } from 'lit-html'; import { ElementSk } from '../../../infra-sk/modules/ElementSk'; im...
TypeScript
task_scheduler/modules/skip-tasks-sk/skip-tasks-sk.ts
google/skia-buildbot
bsd-3-clause
6,745
241
codeparrot/github-code
377e04db6aad64b889c6cd670637fd51c8fc86b76335e7e4523b90ad9eb4c522
-- NOTICE: -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTOR...
Lua
fbmake/options.lua
tdzl2003/fbmake
bsd-3-clause
7,833
377
codeparrot/github-code
6ca25a1691dc8ddf7c12014b6a3fdda036c3f14b339069ee6d79c5c9bbe38dc9
/* * Copyright 2014-2015 The DevMine 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 ch.devmine.javaparser.structures; import com.google.gson.annotations.SerializedName; import java.util.List; import lombok.Getter; impo...
Java
java/src/main/java/ch/devmine/javaparser/structures/IfStatement.java
DevMine/parsers
bsd-3-clause
1,931
67
codeparrot/github-code
3568e941121d254dbf2c60190142cd69aaa516168e1be39e9b625942eedfda42
import * as React from 'react' import Avatar, {AvatarSize, avatarSizes} from './avatar' import {Box2} from './box' import Text from './text' import * as Styles from '../styles/index' const Kb = { Avatar, Box2, Text, } type Props = { usernames: Array<string> maxShown: number size: AvatarSize layout: 'hor...
TypeScript
shared/common-adapters/avatar-line.tsx
keybase/client
bsd-3-clause
2,729
102
codeparrot/github-code
334905f82878621edbb2f85d97e0d8b223576ccd448ccaffbf226fc2cea38eea
<?php /** * ============================================================================= * Copyright (c) 2010, Philip Graham * All rights reserved. * * This file is part of Conductor and is licensed by the Copyright holder under * the 3-clause BSD License. The full text of the license can be found in the * LIC...
PHP
src/di/Injector.php
pgraham/conductor
bsd-3-clause
2,254
89
codeparrot/github-code
d7bac05df59b21daaf345615ac68793400f756cf76a8030041fab462445a25db
using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Text; using Cuyahoga.Web.UI; using Cuyahoga.Co...
C#
Web/Admin/Users.aspx.cs
cuyahogaproject/cuyahoga-1
bsd-3-clause
3,771
121
codeparrot/github-code
20abe9d9866a028c9fa4fc1e0d6d1c169a757ac4cc152646fe9ac244e3c7bb76
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__char_type_overrun_memcpy_11.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow.label.xml Template File: point-flaw-11.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * Sinks: type_overrun_memcpy * ...
C
xcc/test/juliet/testcases/CWE121_Stack_Based_Buffer_Overflow/s01/CWE121_Stack_Based_Buffer_Overflow__char_type_overrun_memcpy_11.c
JianpingZeng/xcc
bsd-3-clause
4,596
132
codeparrot/github-code
99dffe6ee14c5d514ddda5adb6c60c513d74f1e6862b661c48abaabf05a35e44
class CollectData(): """每小时数据收集类 利用微博高级搜索功能,按关键字搜集一定时间范围内的微博。 大体思路:构造URL,爬取网页,然后解析网页中的微博ID。后续利用微博API进行数据入库。本程序只负责收集微博的ID。 登陆新浪微博,进入高级搜索,输入关键字”空气污染“,选择”实时“,时间为”2013-07-02-2:2013-07-09-2“,地区为”北京“,之后发送请求会发现地址栏变为如下: http://s.weibo.com/wb/%25E7%25A9%25BA%25E6%25B0%2594%25E6%25B1%25A1%25E6%259F%2593&xsort=time&region=cu...
Python
AchieveData/CollectData.py
osDanielLee/SelfThinkingRobot
bsd-3-clause
6,966
211
codeparrot/github-code
81327e8c8b0a8d2685220c522b121e13de7196ea36f0974cb76e6c02cc864036
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_wchar_t_loop_62b.cpp Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.string.label.xml Template File: sources-sink-62b.tmpl.cpp */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: ...
C++
xcc/test/juliet/testcases/CWE122_Heap_Based_Buffer_Overflow/s08/CWE122_Heap_Based_Buffer_Overflow__c_CWE805_wchar_t_loop_62b.cpp
JianpingZeng/xcc
bsd-3-clause
1,535
50
codeparrot/github-code
6d731f21920e2d8ee7be0772374b953c1a5294994bb23115eb60caffa00d2f7c
/** * Copyright 2015 Palantir Technologies * * Licensed under the BSD-3 License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in wri...
Java
atlasdb-impl-shared/src/main/java/com/palantir/atlasdb/keyvalue/partition/PartitionedKeyValueConfiguration.java
j-baker/atlasdb
bsd-3-clause
1,578
47
codeparrot/github-code
18be9f93131e2ce3a676aeb3b512adf5981d49f26d2269489405a76e5eb1406e
#!/usr/bin/env python # # Problem definition: # A-R Hedar and M Fukushima, "Derivative-Free Filter Simulated Annealing # Method for Constrained Continuous Global Optimization", Journal of # Global Optimization, 35(4), 521-549 (2006). # # Original Matlab code written by A. Hedar (Nov. 23, 2005) # http://www-optima.amp....
Python
examples2/g09.py
jcfr/mystic
bsd-3-clause
1,961
58
codeparrot/github-code
0a64eadd2acaf7252b4c4b16b452cf11c44addd369ea18b266136e03c01587a1
#!/bin/bash # tk.sh # WebRTC # # Created by Richard Speyer on 1/7/15. # Copyright (c) 2015 Talko, Inc. All rights reserved. set -e set -u BASE_DIR=${HOME}/webrtc-build-scripts BRANCH=talko_master BUILD=Release ARCH=all function usage { echo $1 >&2 echo "Usage: $0" >&2 echo " [--init]" >&2 echo " ...
Shell
android/tk.sh
talko/webrtc-build-scripts
bsd-3-clause
2,481
132
codeparrot/github-code
0e90c725d4761d7a9cbc390f7b5d9e9bf32edb36b3b3c12a73f44feb4f9ed497
# # ImageViewGtk.py -- classes for the display of FITS files in Gtk widgets # # Eric Jeschke (eric@naoj.org) # # Copyright (c) Eric R. Jeschke. All rights reserved. # This is open-source software licensed under a BSD license. # Please see the file LICENSE.txt for details. import sys, os from ginga.gtkw import gtks...
Python
ginga/gtkw/ImageViewGtk.py
sosey/ginga
bsd-3-clause
19,183
549
codeparrot/github-code
4b57b8c8bac28b527056aad49f5d0301c121d6508dbadc2499d8cfc1ea1eb129
// Copyright (c) 2014, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Author: yanshiguang02@baidu.com #include "logging.h" #include <assert.h> #include <boost/bind.hpp> #include <queue> #include <set> #include <stdarg.h...
C++
src/logging.cc
baidu/common
bsd-3-clause
11,133
396
codeparrot/github-code
a5bda7eb253c0c87ccd5cf977dd0a152d6cdb43bf90455f69fb8acba893cb82b
/* dtkComposerNodeControlFor.cpp --- * * Author: tkloczko * Copyright (C) 2011 - Thibaud Kloczko, Inria. * Created: Wed Feb 15 09:14:22 2012 (+0100) * Version: $Id$ * Last-Updated: 2012 Thu Nov 15 15:02:10 (+0100) * By: Thibaud Kloczko, Inria. * Update #: 192 */ /* Commentary: * */ /* Change ...
C++
src/dtkComposerSupport/dtkComposerNodeControlFor.cpp
d-tk/dtk
bsd-3-clause
5,611
203
codeparrot/github-code
381c61b4c725f4c23cd84cd4ef765c016ce75f0be59fe1401f47fc5c55a550a8
package org.basex.examples.rest; import java.io.*; import java.net.*; import org.basex.*; /** * This class is a simple example to demonstrate the REST implementation. * It shows the function of the HTTP DELETE method. * * @author BaseX Team 2005-20, BSD License */ public final class RESTDelete { /** * Runs...
Java
basex-examples/src/main/java/org/basex/examples/rest/RESTDelete.java
dimitarp/basex
bsd-3-clause
1,898
66
codeparrot/github-code
eea80f0293eb85d94950badd93ab1b5bfac47918acb9dd1925af3ef3a3898922
/* * Copyright (c) 2016 Cisco and/or its affiliates. * 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 applicabl...
C
src/VPP/src/vnet/dpo/load_balance_map.h
wfnex/openbras
bsd-3-clause
2,830
111
codeparrot/github-code
084ae849033a53495ca8e5bc4560a714b40cf3bb3c5a896c3c1d58cb6e28cc6e
<?php namespace Application\Model; use Application\Entity\User as UserEntity; use Zend\Stdlib\Hydrator\ClassMethods as ClassMethodsHydrator; /** * Description of User * * @author mice */ class User { private $entity = null; /** * * @var ClassMethodsHydrator */ private $hydrator = null; public functi...
PHP
module/Application/src/Application/Model/User.php
bit-it-krayina/free2
bsd-3-clause
1,807
95
codeparrot/github-code
56e4f7056faafe01d6fb3abdc2c32eaf2ab13b35a80decfed599aaa681495a28
var test = require('tape'), tmp = require('tmp'), child = require('child_process'), fs = require('fs') test('latin1', function(t) { t.plan(1) var output = tmp.fileSync() options = ["-o", output.name, "node_modules/shapefile/test/latin1-property.dbf"] child.execFile("bin/dbf2dsv", options, functio...
JavaScript
test/index.js
herrstucki/dbf2dsv
bsd-3-clause
861
33
codeparrot/github-code
c73a1b5d77d308b722f6020bf060bc62c36076ac3dfc2f45dfdd0215d1251351
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
C#
OpenSim/Region/OptionalModules/Scripting/Minimodule/Heightmap.cs
ft-/opensim-optimizations-wip-extras
bsd-3-clause
2,492
67
codeparrot/github-code
8d2863ec30601c7312889d098b79e6a94dee4a6283830982300a1ef70c47b056
/* -- clMAGMA (version 1.3.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date November 2014 @generated from zlabrd_gpu.cpp normal z -> s, Sat Nov 15 00:21:37 2014 */ #include "common_magma.h" #include <assert.h> #define PRECISION_...
C++
src/slabrd_gpu.cpp
kjbartel/clmagma
bsd-3-clause
25,315
569
codeparrot/github-code
4255a7ae405aef013340e22ab7c84d5118616cd17ca4d991e81b118285344d99
# - Find LAPACK library # This module finds an installed fortran library that implements the LAPACK # linear-algebra interface (see http://www.netlib.org/lapack/). # # The approach follows that taken for the autoconf macro file, acx_lapack.m4 # (distributed at http://ac-archive.sourceforge.net/ac-archive/acx_lapack.htm...
CMake
libraries/TH/cmake/FindLAPACK.cmake
clementfarabet/THC
bsd-3-clause
5,044
153
codeparrot/github-code
f8b79017d1ccf34a44d9c7b07c0a165e5669f770466ad7c669dc09aae04e66d7
package edu.northwestern.bioinformatics.studycalendar.xml.writers; import edu.northwestern.bioinformatics.studycalendar.domain.Gender; import edu.northwestern.bioinformatics.studycalendar.domain.Subject; import edu.northwestern.bioinformatics.studycalendar.domain.SubjectProperty; import edu.northwestern.bioinformatics...
Java
core/src/main/java/edu/northwestern/bioinformatics/studycalendar/xml/writers/SubjectXmlSerializer.java
NUBIC/psc-mirror
bsd-3-clause
2,184
53
codeparrot/github-code
4bf4bcd5aa0e98d16af04e76cdf2aa1604f06f5843949ff50fd2123820078330
package org.math.plot.utils; /** * BSD License * * @author Yann RICHET */ public class Array { // Create methods public static String[] duplicate(int m, String c) { String[] o = new String[m]; for (int i = 0; i < o.length; i++) o[i] = c; return o; } public s...
Java
visda/VISDA-Developer/Month-8-yr1/visdaDev_V0.4/src/org/math/plot/utils/Array.java
NCIP/visda
bsd-3-clause
14,729
437
codeparrot/github-code
4017652d222648ddc412dfc5e357398ebf14e2d60f6a7370477a252f28db48c7
/************************************************************************** * * Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Softwa...
C
Mesa-7.11.2_GPGPU-Sim/src/gallium/drivers/softpipe/sp_screen.c
ayoubg/gem5-graphics
bsd-3-clause
9,311
321
codeparrot/github-code
f66626235ac9981ef7826838b589722abeaddbcbada481b2c54e4d383c3e4764
/* * Copyright (c) 2009-2010, Sergey Karakovskiy and Julian Togelius * 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 copyri...
Java
src/ch/idsia/utils/wox/serial/Easy.java
allenywang/Alex
bsd-3-clause
3,126
75
codeparrot/github-code
c54c7b22c516027f3f0f03e1051594802dd34e234f93e9291100a8d2510fc5c7
/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
C
vp8/common/treecoder.h
rowboat/external-libvpx
bsd-3-clause
2,706
91
codeparrot/github-code
6588487631e77c11d420b5e5c28a337fc551fad7f444552a77fec50dfdaaa689
/*========================================================================= Program: Visualization Toolkit Module: vtkLabelPlacer.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is ...
C
Rendering/Label/vtkLabelPlacer.h
keithroe/vtkoptix
bsd-3-clause
7,914
197
codeparrot/github-code
cdd761eec5d0e8c3f05eaa7b7966c9b2736744398844b1c54ac04555df63460c
{-# LANGUAGE RankNTypes, PolyKinds, DataKinds, TypeOperators, TypeInType, TypeFamilies, FlexibleContexts, UndecidableInstances, GADTs #-} {-# OPTIONS_GHC -fno-warn-orphans #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Singletons.Decide -- Cop...
Haskell
src/Data/Singletons/Decide.hs
int-index/singletons
bsd-3-clause
2,113
57
codeparrot/github-code
91f49124b260f457b5ce20eef3b0fa6f9acdc03e51c736151887d46edcf4fbef
# -*- coding: utf-8 -*- import sys import json import time import uuid import socket import getpass import argparse import datetime import platform import socklusion DEFAULT_HOST = '127.0.0.1' DEFAULT_PORT = 8888 DEFAULT_PATH = '/v1/on_import' TIMEOUT = 5.0 INSTANCE_ID = uuid.uuid4() IS_64BIT = sys.maxsize > 2 ** 3...
Python
examples/python_analytics/client/collect.py
paypal/support
bsd-3-clause
2,659
102
codeparrot/github-code
a7ff14d829d89754b3299e01c32f162ca6455e81a5744527be0cab2b4d562db6
<!DOCTYPE html> <!-- 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. --> <link rel="import" href="/base/base.html"> <script> 'use strict'; tv.exportTo('tv.c.trace_model', function() { function StackFrame(p...
HTML
third_party/trace-viewer/trace_viewer/core/trace_model/stack_frame.html
sgraham/nope
bsd-3-clause
1,906
83
codeparrot/github-code
c0845d6dfbf012b7d81b2444f4698668a4de1867daa3bcfc69a87204a403f796
#include "map.h" #include "map_settings.h" #include <iostream> // ------------------------------------------------------------------------------------------------- Map::Map(size_t width, size_t height, size_t cell_size) { // ----------------------------------------------------------------------------------------------...
C++
AADC/src/adtfUser/dev/src/util/map/map.cpp
AADC-Fruit/AADC_2015_FRUIT
bsd-3-clause
5,412
138
codeparrot/github-code
ed8f897fff3575b817dd6572d3923a321e80937b25c06a2f6c958c0681a96b6d
{% extends 'editors/themes/base.html' %} {% block extrahead %} {{ css('zamboni/themes_review') }} {% endblock %} {% block content %} <div class="queue-search theme-search island c" data-api-url="{{ url('editors.themes.search') }}" data-review-url="{{ url('editors.themes.single', '__slug__') }}"> ...
HTML
src/olympia/editors/templates/editors/themes/queue_list.html
harikishen/addons-server
bsd-3-clause
2,999
88
codeparrot/github-code
0cfe0152b9acb1a0b91694009630cfb5c84f3a8e49f3c53ce67f8b3be78cdee9
__all__ = [ 'SgAssetCreatedFilter', 'SgHumanUserCreatedFilter', 'SgPlaylistCreatedFilter', 'SgProjectCreatedFilter', 'SgProjectFilter', 'SgPublishedFileCreatedFilter', 'SgSequenceCreatedFilter', 'SgShotCreatedFilter', 'SgTaskCreatedFilter', 'SgVersionCreatedFilter' ] # This module imports import S...
Python
ShotgunORM/SgEventFilters.py
ndunsworth/python-shotgunorm
bsd-3-clause
2,856
176
codeparrot/github-code
48f03d32dd75051aaaa8c2d7992123559d3e633a5cf9a6a67f4b53ad05709ccd
<?php /** * This file is part of PDepend. * * PHP Version 5 * * Copyright (c) 2008-2017 Manuel Pichler <mapi@pdepend.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: * * * Red...
PHP
src/main/php/PDepend/Source/AST/AbstractASTType.php
pdepend/pdepend
bsd-3-clause
13,999
538
codeparrot/github-code
655b9808b02afc7aaf395a5377020e4c2aa22d040e892197a53e20779bf6a4d1
#include <stdio.h> #include <string.h> #include "c_wgrib2api.h" /* * handles arguments for wgrib2 */ static int n_cmds = -1; char cmd[N_CMDS][CMD_LEN]; char *cmds[N_CMDS+1]; void wgrib2_init_cmds() { cmds[0] = "wgrib2 C_api"; n_cmds = 1; return; } int wgrib2_add_cmd(const char *string) { int j; ...
C
grib2/c_api/grb2_cmd.c
AerodyneLabs/Stratocast
bsd-3-clause
955
50
codeparrot/github-code
de03e75ab33d2adfc07c5ba456db2af7bf7e227823f50e14a7cd81386604f958
import os from django.conf import settings import yaafelib as yf import wave import contextlib from celery import task from sepal.datasets.models import * from sepal.datasets.utils import filter_by_key, find_dict_by_item @task() def handle_uploaded_file(f): '''Saves an uploaded data source to MEDIA_ROOT/data_so...
Python
sepal/datasets/tasks.py
sloria/sepal
bsd-3-clause
8,545
226
codeparrot/github-code
1753e7522ae9dcf3f1548a08d919c1d282e679cd6f3b999fe08af8b20af5dbb9
# -*- coding: utf-8 -*- from django import forms from django.apps import apps from django.contrib.auth import get_user_model, get_permission_codename from django.contrib.auth.models import Permission from django.contrib.contenttypes.models import ContentType from django.contrib.sites.models import Site from django.core...
Python
cms/admin/forms.py
czpython/django-cms
bsd-3-clause
48,435
1,326
codeparrot/github-code
9cc1c31845d883d49722b601dc49a15f51ca35812848348e09c7d073e70bd0d7
<?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...
PHP
library/Zend/Search/Lucene/Index/SegmentMerger.php
Chatventure/zf1
bsd-3-clause
9,076
272
codeparrot/github-code
fbc2e204b2687e216031af8e742c1cead4aabf60f2228293d9e19c16153c02fb
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2021, Andrew Kennings // 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
src/dpo/src/detailed_abu.h
The-OpenROAD-Project/OpenROAD
bsd-3-clause
4,421
133
codeparrot/github-code
803ad186f23bb91458b73840b1335d1f64fa37d8ae4beb62dddd5e4077cc298d
/*- * Copyright (c) 1998,1999,2000,2001,2002 Søren Schmidt <sos@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 copy...
C
freebsd5/sys/dev/ata/atapi-cd.c
MarginC/kame
bsd-3-clause
54,922
2,065
codeparrot/github-code
2b4314cef39a0b9e0569ac23fda879f56b10a6bb88e32e2a11bfe55fe2a89422
<?php namespace Application\Service; use Application\Provider\ServiceLocatorAwareTrait; use Doctrine\ORM\EntityManager; use JMS\Serializer\SerializationContext; use JMS\Serializer\SerializerBuilder; use Zend\ServiceManager\ServiceLocatorInterface; class App { use ServiceLocatorAwareTrait; protected $_oEntityManag...
PHP
module/Application/src/Application/Service/App.php
lstaszak/zf2main
bsd-3-clause
4,042
161
codeparrot/github-code
2ee25026a0af4a1eec5eac750bba2b1bc6044dda520951a6cfd9df14bf9b04ba
/* +---------------------------------------------------------------------------+ | Open MORA (MObile Robot Arquitecture) | | University of Almeria ARM-eCar module | | ...
C
ScopeLogger/ScopeWindowMain.h
OpenMORA/dataset-tools-pkg
bsd-3-clause
5,509
163
codeparrot/github-code
882be42011291cebdbdab3449a05e91ffa22431fa8928d5b302f3da7853cbde1
<?php /** * ExtMinScript class file. * * @link http://www.yiiframework.com/extension/minscript/ */ /** * ExtMinScript is the main class in the minScript extension. It offers all the necessary properties * and methods for minScript to do its magic. * * ExtMinScript extends CClientScript to automatically create ...
PHP
protected/extensions/minScript/components/ExtMinScript.php
Krosh/cosmetics
bsd-3-clause
15,539
358
codeparrot/github-code
1d7a2b016a17c27d169467a0d0fa0ebae693f3ffebe0f360e690d62ed4e742ab
<?php /** * @package ESys */ /** * Class for registering validation rules, and * performing validation on a set of key/value pairs. * * @package ESys */ class ESys_Validator { /** * The data to be validated. */ private $data = array(); /** * Array of validation rules. */ ...
PHP
lib/library/ESys/Validator.php
dellsala/ESys-Framework
bsd-3-clause
6,237
293
codeparrot/github-code
9305c935164061e188c4ff55e66c7fb0946e140ee770909c972adb8ad2594b3d
using Toggl.Phoebe.Net; using XPlatUtils; namespace Toggl.Phoebe { public static class OBMExperimentManager { #if __ANDROID__ public const int ExperimentNumber = 93; #else public const int ExperimentNumber = 83; #endif public const string StartButtonActionKey =...
C#
Phoebe/OBMExperimentManager.cs
eatskolnikov/mobile
bsd-3-clause
1,297
45
codeparrot/github-code
588e3b8363c1bca2d3a6d29aba1fa72d34464716300be10e518b0e6f1eca1505
<?php /*========================================================================= MIDAS Server Copyright (c) Kitware SAS. 20 rue de la Villette. All rights reserved. 69328 Lyon, FRANCE. See Copyright.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILIT...
PHP
core/models/dao/BitstreamDao.php
mgrauer/midas3score
bsd-3-clause
1,629
49
codeparrot/github-code
92971b638af3c20bffae9d327972fbcb4dfe3ecf1ef01f3e72bd07c1e5e419b7
<?php return [ 'Court Booking' => 'Тенис Кортове', 'About' => 'За нас', 'Contact' => 'Контакт', 'Profile' => 'Профил', 'Home' => 'Начало', 'Login' => 'Вход', 'Logout' => 'Изход', 'Signup' => 'Регистрация', 'Username' => 'Потребителско име', 'User Username' => 'Потребителско име'...
PHP
frontend/messages/bg/app.php
IvanovES/a43fc54x224
bsd-3-clause
12,008
155
codeparrot/github-code
23bc9ec450b0c927024b947ea879c5715e54bf3cdbda3cee754a611a51892590
/* * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. */ /* More information about these options at jshint.com/docs/options */ 'use strict'; Function.p...
JavaScript
src/web_app/js/testpolyfills.js
fippo/apprtc
bsd-3-clause
3,999
166
codeparrot/github-code
b93dbaa1c47528c0e46dda5ff08ea28d00ce282495f3146d80ae9f58dc4d4ce1
// 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 <string> #include "base/logging.h" #include "base/string_util.h" #include "chrome/browser/extensions/activity_database.h" #include "chrome/br...
C++
chrome/browser/extensions/activity_database.cc
nacl-webkit/chrome_deps
bsd-3-clause
3,174
123
codeparrot/github-code
44c9d9012c591990be203d5fb123025a0c689b77baf4f9bce30c9b80654af104
'use strict'; angular.module("ngLocale", [], ["$provide", function ($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; ...
JavaScript
frontend/web/js/angular/i18n/angular-locale_kkj.js
mudunuriRaju/tlr-live
bsd-3-clause
4,500
151
codeparrot/github-code
7fe91c90b8a083d2e2180ba7a8a71a66b566ad4bf812932a10e658aa222e3751
/* * Copyright (c) 2015, Institute of Computer Engineering, University of Lübeck * 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...
Java
MARS_NB/MARS/WaterEffects/src/mars/water/WaterState.java
iti-luebeck/MARS
bsd-3-clause
13,411
430
codeparrot/github-code
419e29b34bef9cd6ea2a3c04f50169e736e43eb78e46d17284a18a6dad8d6b86
<?php declare(strict_types=1); namespace LizardsAndPumpkins\ProductSearch\ContentDelivery; use LizardsAndPumpkins\Context\ContextBuilder; use LizardsAndPumpkins\Context\Website\UrlToWebsiteMap; use LizardsAndPumpkins\DataPool\SearchEngine\FacetFilterRequestSimpleField; use LizardsAndPumpkins\DataPool\SearchEngine\Fa...
PHP
src/ProductSearch/ContentDelivery/ProductSearchApiV1GetRequestHandler.php
lizards-and-pumpkins/catalog
bsd-3-clause
9,838
286
codeparrot/github-code
b88c1b00ea2d139c0c07d94ae017ca5b4da58cbfad779cc2c5ce7e5d3475d85c
import json import boto3 from featuretools.entityset.deserialize import \ description_to_entityset as deserialize_es from featuretools.feature_base.feature_base import ( AggregationFeature, DirectFeature, Feature, FeatureBase, FeatureOutputSlice, GroupByTransformFeature, IdentityFeatur...
Python
featuretools/feature_base/features_deserializer.py
Featuretools/featuretools
bsd-3-clause
5,124
141
codeparrot/github-code
7655b5334f699b8bccfcfab51d923fc710b94bbdc75c6a6c0fbadf27258ecfb6
<?php namespace Ice\SessionHandler; use Ice\Core\Debuger; use Ice\Core\Request; use Ice\Core\Security; use Ice\Core\SessionHandler; use Ice\Exception\Error; use Ice\Helper\Date; use Ice\Model\Session; /** * Class Session * * Core session handler class * * @author dp <denis.a.shestakov@gmail.com> * * @package ...
PHP
Source/Ice/SessionHandler/DataSource.php
ifacesoft/Ice
bsd-3-clause
7,271
253
codeparrot/github-code
31fc90229722e861386fdf2e12d944643ef5af7009ded53a19e018b9e8cad266
{-# LANGUAGE BangPatterns #-} {-# LANGUAGE TemplateHaskell #-} module Main where import Control.Applicative (optional, (<$>)) import Control.Category (Category, (<<<)) import qualified Control.Category as Cat (id, (.)) import Control.DeepSeq (NFData, rnf)...
Haskell
apps/maxclique/src/Main.hs
BlairArchibald/bones
bsd-3-clause
12,772
351
codeparrot/github-code
8eb59ef49b77209cd4c7fb7c95bae628dee67e375054741bc7069bcc4af04773
/* * This file is part of the Jikes RVM project (http://jikesrvm.org). * * This file is licensed to You under the Common Public License (CPL); * You may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.opensource.org/licenses/cpl1.0.php *...
Java
jikesrvm-3.0.0/rvm/src/org/jikesrvm/osr/EncodedOSRMap.java
ut-osa/laminar
bsd-3-clause
15,058
512
codeparrot/github-code
ae3dce0f9bf1a25816dd58c3f81a7916f9337dff58756fbf4d77f8c947e1a4ff
var initScreen = function (user) { var ctrlName = "system"; $('#systems-table').dataTable({ "deferRender": true, "ajax": { "url": '/' + ctrlName + '/list', "dataSrc": "" }, "columns": [ {data: "sn"}, {data: "po_num"}, {...
JavaScript
web/js/system/systems-index-enduser.js
megarocks/project-e
bsd-3-clause
1,812
50
codeparrot/github-code