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
2863ffeac93ee980f419f9b9f18e7a350e32d5540d3fe741458463b8fe4a4d05
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
modules/percolator/src/test/java/org/elasticsearch/percolator/QueryAnalyzerTests.java
nezirus/elasticsearch
apache-2.0
29,690
563
codeparrot/github-code
bf785b5ced20b486a7c0b29fe71ce150ac6fab39882a675a7cbb1fe6bd290fed
/* * Copyright 2020 ThoughtWorks, Inc. * * 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 agr...
Java
server/src/main/java/com/thoughtworks/go/server/service/dd/DependencyFanInNode.java
ketan/gocd
apache-2.0
13,379
281
codeparrot/github-code
f0117a203907177a102358bfd22a42ab2481a9bb1482fdc597e726c81897b140
define(function (require) { require('ui/compile_recursive_directive'); require('ui/agg_table'); require('ui/modules') .get('kibana') .directive('kbnAggTableGroup', function (compileRecursiveDirective) { return { restrict: 'E', template: require('ui/agg_table/agg_table_group.html'), scop...
JavaScript
sense/src/ui/public/agg_table/agg_table_group.js
gillyb/sensitive
apache-2.0
1,291
40
codeparrot/github-code
5a4b84ce13063120c4fd201f7a812842e6f93d165348d4ae267858df5e1829ab
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may...
Java
sources/org/apache/batik/util/ApplicationSecurityEnforcer.java
sflyphotobooks/crp-batik
apache-2.0
11,845
326
codeparrot/github-code
fb677a101ca9a5a85786945b26afeb2ea009796637ea1538255ec9576a044351
package org.ovirt.engine.core.compat; import java.util.UUID; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.NONE) @XmlType(name = "nguid", namespace...
Java
backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/NGuid.java
raksha-rao/gluster-ovirt
apache-2.0
5,626
167
codeparrot/github-code
0327a9eae80a91d4bafaaa2832ae66afb69421cadc0957f9186b5b4cc5af2976
# Copyright 2015 Google Inc. # # 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 to in writing, ...
Python
bigquery/google/cloud/bigquery/__init__.py
quom/google-cloud-python
apache-2.0
1,261
34
codeparrot/github-code
869e6a5355e6b5b82bdf2ab724f51698601063db521afdd1cee7e888c41e9728
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
Python
test/crossrunner/run.py
msonnabaum/thrift
apache-2.0
9,516
322
codeparrot/github-code
c7586686f39a83bfd87451943cdb1e3fbf2330bb3eb7a229ec969bf888b6522e
package com.my.blog.website.controller.admin; import com.github.pagehelper.PageInfo; import com.my.blog.website.constant.WebConst; import com.my.blog.website.controller.BaseController; import com.my.blog.website.dto.LogActions; import com.my.blog.website.dto.Types; import com.my.blog.website.exception.TipException; im...
Java
src/main/java/com/my/blog/website/controller/admin/AttachController.java
gnoRnehC/Blog
apache-2.0
4,650
125
codeparrot/github-code
a8830e426785b1cb8d15bc2c35a2b3c27ee251080aa2dde7b2396f8918e6cf5c
#include "indexer/feature_data.hpp" #include "indexer/classificator.hpp" #include "indexer/feature.hpp" #include "indexer/feature_impl.hpp" #include "indexer/ftypes_matcher.hpp" #include "base/assert.hpp" #include "base/stl_add.hpp" #include "base/string_utils.hpp" #include "std/algorithm.hpp" #include "std/bind.hpp...
C++
indexer/feature_data.cpp
goblinr/omim
apache-2.0
13,918
581
codeparrot/github-code
f0317bad94bc38349d1c3bdce79c7c9ceda5c9a916f8beca63355656a4db7d01
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights * Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
Java
aws-java-sdk-machinelearning/src/main/java/com/amazonaws/services/machinelearning/model/transform/CreateMLModelResultJsonUnmarshaller.java
flofreud/aws-sdk-java
apache-2.0
2,890
83
codeparrot/github-code
8ea9151db0ba95517b3cc5e609efaf19a7aa020b8bd595e4b8b4cf80927ab2ed
/** * Copyright 2014 Netflix, Inc. * * 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 to i...
Java
src/main/java/rx/internal/operators/OnSubscribeGroupJoin.java
davidmoten/RxJava
apache-2.0
12,302
388
codeparrot/github-code
fc5a7976a83e5ec8313f80bc5ec9baa1da863aaf909eb47277785dbc77d71e80
import { isPresent, isBlank, Type, stringify, CONST_EXPR, StringWrapper } from 'angular2/src/core/facade/lang'; import {BaseException} from 'angular2/src/core/facade/exceptions'; import {EventEmitter, ObservableWrapper} from 'angular2/src/core/facade/async'; import {ListWrapper, MapWrapper, StringMapWrapper...
TypeScript
modules/angular2/src/core/compiler/element_injector.ts
itamar-Cohen/angular
apache-2.0
39,632
1,095
codeparrot/github-code
7fe66f548090c9bf70d26f350a0099e31c711d5cb3f0af6fbe120bfb552cfaf1
<?php /** * THE CODE IN THIS FILE WAS GENERATED FROM THE EBAY WSDL USING THE PROJECT: * * https://github.com/davidtsadler/ebay-api-sdk-php * * Copyright 2014 David T. Sadler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
PHP
test/DTS/eBaySDK/Trading/Enums/ShipmentStatusCodeTypeTest.php
davidtsadler/ebay-sdk-trading
apache-2.0
1,172
40
codeparrot/github-code
3bfafe2129726cac3ca12b7b6dd36ca8296a22849f34f944ae9a94fd80f333f3
/** * 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 to in writing, software * distribu...
Java
src/test/java/org/apache/aurora/scheduler/discovery/CuratorDiscoveryModuleTest.java
protochron/aurora
apache-2.0
2,378
68
codeparrot/github-code
3a9a5bbb9b00c69b14c2d2f35600a0142261d2dc95fbee991e892adbeb4cc2bc
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C++
aws-cpp-sdk-elasticloadbalancingv2/source/model/TargetHealthDescription.cpp
chiaming0914/awe-cpp-sdk
apache-2.0
3,728
123
codeparrot/github-code
852874c0a6106e1c1e67ec44095558a0f0c955b59ab16da99cae6aa1a7c5b0f1
from __future__ import print_function import jsons import logging import os BIG_FILE_SIZE = 47684 class Payload: def __init__(self, message, response_code=200, headers={}): self.__response_code = response_code self.__message = message self.__headers = headers def respo...
Python
tools/python/ResponseProvider.py
alexzatsepin/omim
apache-2.0
7,364
246
codeparrot/github-code
f55cd4e36be7c4c601f99a6760fe3eb2d9c136d9753c5fb9cb9a17c754d2bbb1
/* * AutomationPatternView.cpp - implementation of view for AutomationPattern * * Copyright (c) 2008-2010 Tobias Doerffel <tobydox/at/users.sourceforge.net> * * This file is part of LMMS - https://lmms.io * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Ge...
C++
universal-daw/src/gui/AutomationPatternView.cpp
universalprojectfile/universal-project-file
apache-2.0
11,947
500
codeparrot/github-code
1411c3cbe5a9ada318b0eb6921699fa7713f836a6fa85d5540ecd903b29182ae
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/logs/model/ExportTask.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace Clo...
C++
aws-cpp-sdk-logs/source/model/ExportTask.cpp
awslabs/aws-sdk-cpp
apache-2.0
3,367
184
codeparrot/github-code
eb28276b7740bf3f26976dc33549d79d75e99e20d1da48fe5fe86db9d6fbb66c
#include <cstdlib> #include "../src/commandlineflags.h" #include "../src/internal_macros.h" #include "gtest/gtest.h" namespace benchmark { namespace { #if defined(BENCHMARK_OS_WINDOWS) int setenv(const char* name, const char* value, int overwrite) { if (!overwrite) { // NOTE: getenv_s is far superior but not a...
C++
apps/common/external/benchmark/test/commandlineflags_gtest.cc
ospray/OSPRay
apache-2.0
5,319
202
codeparrot/github-code
b95e18f71fd9cb95c9435d4baa9bc6f36638be47348629ce8b546f385b8bbd7b
#ifndef _MEPT_H #define _MEPT_H #include <stdlib.h> #include <string.h> #include <aterm1.h> #include "MEPT_dict.h" typedef struct _PT_ParseTree *PT_ParseTree; typedef struct _PT_Tree *PT_Tree; typedef struct _PT_Args *PT_Args; typedef struct _PT_Production *PT_Production; typedef struct _PT_Attributes *PT_Attributes;...
C
strategoxt/stratego-libraries/sglr/justsglr/MEPT.h
Apanatshka/strategoxt
apache-2.0
19,950
378
codeparrot/github-code
3cb1016244ed7cdb791114748600c3fbb2f0825e22a0b9c674038050ee29bfd0
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/apigateway/model/MethodSetting.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { name...
C++
aws-cpp-sdk-apigateway/source/model/MethodSetting.cpp
awslabs/aws-sdk-cpp
apache-2.0
5,535
212
codeparrot/github-code
2ac94dd060b114a262cc31890aa1c711ec0a09912cd77c41f07ceab1794e2c4d
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
C
c_glib/arrow-glib/array-builder.h
siddharthteotia/arrow
apache-2.0
59,996
1,307
codeparrot/github-code
cfde223553892243f4bd011f3057445d29c66aeeee92812f77bf4bbcf5461012
package io.github.ibuildthecloud.gdapi.request; import io.github.ibuildthecloud.gdapi.request.handler.ApiRequestHandler; import io.github.ibuildthecloud.gdapi.request.resource.ActionHandler; import io.github.ibuildthecloud.gdapi.request.resource.LinkHandler; import io.github.ibuildthecloud.gdapi.request.resource.Resou...
Java
modules/framework/src/main/java/io/github/ibuildthecloud/gdapi/request/ApiRouter.java
rancherio/cattle
apache-2.0
1,130
35
codeparrot/github-code
b19a2cfa05e1d88e07f085fbbe6a022684dc756599625e245b9653c19ea74084
/* * JBoss, Home of Professional Open Source * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may ...
Java
cdi/src/test/java/org/hibernate/validator/test/internal/cdi/methodvalidation/inheritance/SuccessfulClassInheritanceMethodValidationTest.java
jmartisk/hibernate-validator
apache-2.0
2,197
69
codeparrot/github-code
8ee2feb1319ee7fff2cc04019c9630c6796809fec010c4197ce123773f6597f1
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
Java
src/test/java/javax/xml/crypto/test/dsig/LocalHttpCacheURIDereferencer.java
apache/santuario-java
apache-2.0
3,123
75
codeparrot/github-code
6f7e436db809ac472b0529132b0cbc697f5ab9d33dd73bbb21e894a9cb0fcadc
# Copyright 2012 Hewlett-Packard Development Company, L.P. # # 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...
Python
jenkins_jobs/modules/wrappers.py
carroarmato0/jenkins-job-builder
apache-2.0
61,023
1,575
codeparrot/github-code
b127357bd8f80d935ebb9df694307ff219489d014a3e496c318b339987810ab4
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
src/main/java/org/apache/log4j/LoggerRepositoryExImpl.java
karolaug/log4j-extras
apache-2.0
19,838
698
codeparrot/github-code
bea39f5dfc129a04a6c1b318adf1706f8309c083f64961da028bdd3d0b0eeefe
/* * Copyright 2012-2019 the original author or 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/elasticsearch/ElasticsearchAutoConfigurationTests.java
tiarebalbi/spring-boot
apache-2.0
3,533
102
codeparrot/github-code
fbe2035dc4f815ba6b93356711ab3ecd5708c59a6c2b4d727ab8fb45af93b6a7
import { createStyles, makeStyles, TableCell, TableRow, Theme, } from "@material-ui/core"; import AddIcon from "@material-ui/icons/Add"; import RemoveIcon from "@material-ui/icons/Remove"; import classNames from "classnames"; import React, { useState } from "react"; import { NodeInfoResponse } from "../../../...
TypeScript
dashboard/client/src/pages/dashboard/node-info/NodeRowGroup.tsx
richardliaw/ray
apache-2.0
3,232
116
codeparrot/github-code
c21b0cf395c08b007630db7bccac377a8cf7cc32a32c18a6a3adf92556fa0032
package co.cask.coopr.provisioner; import co.cask.coopr.common.conf.Constants; import co.cask.coopr.scheduler.callback.DummyService; import co.cask.http.AbstractHttpHandler; import co.cask.http.HttpResponder; import co.cask.http.NettyHttpService; import com.google.common.collect.HashMultiset; import com.google.common....
Java
coopr-server/src/test/java/co/cask/coopr/provisioner/StubProvisioner.java
caskdata/coopr
apache-2.0
4,088
130
codeparrot/github-code
a435e2b60a89294eef6b7fad712ee34a924ce06096b37040743e6f61daa1ba31
/** ****************************************************************************** * @file stm32f2xx_hal_adc_ex.c * @author MCD Application Team * @brief This file provides firmware functions to manage the following * functionalities of the ADC extension peripheral: * + Extended fe...
C
bsp/stm32/libraries/STM32F2xx_HAL/STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_adc_ex.c
nongxiaoming/rt-thread
apache-2.0
39,275
1,071
codeparrot/github-code
f3e78771737459ad9d339499f40f68701f23d011dfa54128f4d391c29ce4e41e
namespace CCSWE.FiveHundredPx { public class OAuthToken { #region Constructor public OAuthToken() { } public OAuthToken(string token, string secret) : this(token, secret, null) { } public OAuthToken(string token, string...
C#
Source/Api/OAuthToken.cs
CoryCharlton/CCSWE-500px-API
apache-2.0
668
33
codeparrot/github-code
225986ff481576b25ca7e4d3af7501802c196ab278d2ac082123ee499464417b
/* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you m...
Java
src/main/java/org/elasticsearch/search/facet/terms/ints/TermsIntFacetCollector.java
chanil1218/elasticsearch
apache-2.0
9,766
254
codeparrot/github-code
529dfc1da971c7dfe5d4016aee1c2b2c7e6f10a77df25199d65993e10bd94677
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheDataStructuresSelfTestSuite.java
vadopolski/ignite
apache-2.0
13,511
177
codeparrot/github-code
bf7520d442cdde04318e1a1a11e0c535ea1207e4e675e751373862d83733b6e3
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Quantities</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../index.html" title="The Boost C++ Librar...
HTML
boost_1_54_0/doc/html/boost_units/Quantities.html
ryancoleman/autodock-vina
apache-2.0
23,454
256
codeparrot/github-code
b969086b71aa5a3197e078ad7abde823416b6f4cb19668e7de863af4a444424e
package gov.hhs.onc.dcdt.web.handler.impl; import gov.hhs.onc.dcdt.beans.utils.ToolBeanFactoryUtils; import gov.hhs.onc.dcdt.beans.utils.ToolBeanPropertyUtils; import gov.hhs.onc.dcdt.beans.utils.ToolBeanUtils; import gov.hhs.onc.dcdt.utils.ToolAnnotationUtils; import gov.hhs.onc.dcdt.utils.ToolClassUtils; import gov....
Java
dcdt-web/src/main/java/gov/hhs/onc/dcdt/web/handler/impl/OrderedHandlerExceptionResolverComposite.java
mkotelba/dcdt
apache-2.0
6,758
130
codeparrot/github-code
0e0516ba301e08c0e0300558715fd447216f0ea79385d84c206ffe7d0047d47c
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/waf-regional/model/WebACLUpdate.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { nam...
C++
aws-cpp-sdk-waf-regional/source/model/WebACLUpdate.cpp
aws/aws-sdk-cpp
apache-2.0
1,467
76
codeparrot/github-code
3bbaa5399da78063c8d6b57115ff6226835b422bb341b1e1c1f6a3b1948eb28d
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
Java
dcm4jboss-all/tags/DCM4CHEE_2_14_8/dcm4jboss-ejb/src/java/org/dcm4chex/archive/ejb/session/PatientUpdateBean.java
medicayun/medicayundicom
apache-2.0
11,418
301
codeparrot/github-code
2c1c3f4bb70584abd0037c76152e5a628bc25f74ac7555a31c4bf34308b11ad2
package org.apache.lucene.search.suggest.fst; /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache Li...
Java
solr-4.7.2/src/org/apache/lucene/search/suggest/fst/FSTCompletionLookup.java
yintaoxue/read-open-source-code
apache-2.0
10,780
302
codeparrot/github-code
012ac13cf7a20c445e93ed842ffe16ed2e452ae24459e0e644fdd9d95db962e7
/** * Copyright (C) 2015 Red Hat, Inc. * * 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...
Java
kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/ScalableReaper.java
KurtStam/kubernetes-client
apache-2.0
1,015
34
codeparrot/github-code
e56eb0e47dcfb734687781fa85f599257e2ec2b1f3be2e5400a764a794f54aab
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights * Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
Java
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/transform/LambdaConfigTypeJsonUnmarshaller.java
mhurne/aws-sdk-java
apache-2.0
3,980
103
codeparrot/github-code
15c68b30a7e23c8e58d110aeaf3e9ebd2fbd1fb3bab351cf38157757388d2d2b
// Copyright 2011 Google Inc. // // 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 to in...
C++
pagespeed/kernel/thread/scheduler.cc
wanrui/mod_pagespeed
apache-2.0
14,978
433
codeparrot/github-code
fc48fc766bca8fe2a9967662df0c6eb5f032dacbc81bf641390f629cf09fe405
// // SOMAAd.h // iSoma // // Created by Aman Shaikh on 31/05/14. // Copyright (c) 2014 Smaato Inc. All rights reserved. // #import <Foundation/Foundation.h> #import "SOMATypes.h" #import <UIKit/UIKit.h> @class SOMAAdRenderer; @class SOMAAdBuilder; // This will be received from the server @interface SOMAAd :...
C
DemoApp/othernetworks/iSoma.framework/Versions/A/Headers/SOMAAd.h
mobfox/MobFox-iOS-SDK
apache-2.0
1,511
53
codeparrot/github-code
336312d66af7fcc0bfe619c74a1a474b61ad8e3cc03cf2ef7ea7353951b88ff8
package com.xthena.xz.web; import java.util.List; import java.util.Map; import javax.annotation.Resource; import javax.servlet.http.HttpServletResponse; import com.xthena.api.user.UserConnector; import com.xthena.core.hibernate.PropertyFilter; import com.xthena.core.mapper.BeanMapper; import com.xthena.core.page.P...
Java
src/main/java/com/xthena/xz/web/XzCarRecordController.java
jianbingfang/xhf
apache-2.0
5,094
162
codeparrot/github-code
2802d617f188c8d94e75aa96fabe6b612bf632f4d4d6d71aa4be6e632aa5487d
/* * Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package com.intellij.codeInspection.ex; import com.intellij.codeInspection.*; import com.intellij.codeInspection.reference.RefElement; import com.intellij.codeInspection....
Java
platform/lang-impl/src/com/intellij/codeInspection/ex/DescriptorComposer.java
mdanielwork/intellij-community
apache-2.0
7,346
190
codeparrot/github-code
e301e4cc796cd51e3dac9bbee5d84587ebad187b4c99e8d8dd425fdaeb67f40c
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2011 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # no...
Python
django-openstack/django_openstack/middleware/keystone.py
rnirmal/openstack-dashboard
apache-2.0
2,747
77
codeparrot/github-code
b0c7b04fced042892670055683ef04d75e91abe4291e3e1727b703d193b3da4c
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
Java
rice-middleware/kns/src/main/java/org/kuali/rice/kns/util/AuditCluster.java
mztaylor/rice-git
apache-2.0
2,395
99
codeparrot/github-code
74f28904086750f1410f830d53c15fc0c90ee1afb7c13e2ac20456b1902d1c08
#pragma once #include "Entity.h" // tolua_begin class cTNTEntity: public cEntity { // tolua_end using Super = cEntity; public: // tolua_export CLASS_PROTODEF(cTNTEntity) cTNTEntity(Vector3d a_Pos, unsigned a_FuseTicks = 80); // cEntity overrides: virtual void SpawnOn(cClientHandle & a_ClientHandle) ...
C
src/Entities/TNTEntity.h
mc-server/MCServer
apache-2.0
848
44
codeparrot/github-code
9bac2436b2ec1457d0a859535baf869cddfc2965ed900a4591a296dcb0374e3c
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
Java
geode-core/src/test/java/org/apache/geode/cache30/CacheLoaderTestCase.java
charliemblack/geode
apache-2.0
10,520
322
codeparrot/github-code
7644d06d86f27aab7a13fb7f35b423d0b54a8d03bfff4606e8d89a45073410e8
package com.sksamuel.elastic4s import com.sksamuel.elastic4s.searches.{RichSearchHit, RichSearchResponse, SearchDefinition} import scala.concurrent.duration.Duration import scala.concurrent.{Await, Future} /** * Represents something which can iterate the results from a query. * * In practice this means concate...
Scala
elastic4s-tcp/src/main/scala/com/sksamuel/elastic4s/IterableSearch.scala
FabienPennequin/elastic4s
apache-2.0
3,749
114
codeparrot/github-code
fb27f7ab23eb535d267e17445578c0d5380005568abe92be4ec46340b81d59ca
// Copyright 2015 CoreOS, Inc. // // 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 to in...
GO
config/cloudinit/datasource/vmware/vmware_amd64.go
juliengk/os
apache-2.0
2,794
110
codeparrot/github-code
591e3aa6c87fd3ce9c88c1dd87f375562cc445e449906953293c1ef721d001fb
/* * Copyright Terracotta, Inc. * * 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 to ...
Java
dynamic-config/model/src/main/java/org/terracotta/dynamic_config/api/model/Configuration.java
Terracotta-OSS/terracotta-platform
apache-2.0
24,070
632
codeparrot/github-code
c968898bb35f00b041c0c78fa5e866fbda92a0d77beed174f10281f605462270
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2014 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
Java
zap/src/main/java/org/zaproxy/zap/extension/api/PhpAPIGenerator.java
meitar/zaproxy
apache-2.0
11,392
299
codeparrot/github-code
2f58ac0ccc270ce2857bc43f72098d654e09bcf0d0903845417f0290709abc62
package org.apereo.cas.util.http; import com.google.common.base.Throwables; import com.google.common.collect.ImmutableList; import com.google.common.primitives.Ints; import org.apache.http.ConnectionReuseStrategy; import org.apache.http.Header; import org.apache.http.HttpHost; import org.apache.http.client.Authenticat...
Java
cas-server-core-util/src/main/java/org/apereo/cas/util/http/SimpleHttpClientFactoryBean.java
yisiqi/cas
apache-2.0
16,405
474
codeparrot/github-code
525e85d38aa5585075db62995e9b948508c9ce7aa572bb6809f979191f151880
package ca.uhn.fhir.mdm.svc; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.mdm.util.NameUtil; import ca.uhn.fhir.util.FhirTerser; import org.hl7.fhir.dstu3.model.Patient; import org.hl7.fhir.dstu3.model.StringType; import org.hl7.fhir.instance.model.api.IBase; import org.junit.jupiter.api.Test; import ja...
Java
hapi-fhir-server-mdm/src/test/java/ca/uhn/fhir/mdm/svc/NameUtilTestDSTU3.java
aemay2/hapi-fhir
apache-2.0
1,429
45
codeparrot/github-code
06f3d1e5a5d8c11f15d6e5617ef9bd440636cd9342ed471ccf3be343d5f005c3
/*! * 1.0.0 * Author: mosaicpro * Licence: http://themeforest.net/licenses * Copyright 2015 */ (function ($) { "use strict"; $.fn.tkFormControlMaterial = function(){ this .blur(function () { if (this.val()) this.addClass('used'); el...
JavaScript
html/js/module-material.js
EMCWorld/2015-REST
apache-2.0
4,149
146
codeparrot/github-code
39f1f0cabffae3d93e1d361bbb858b4f0f9ee322de210a25092e165900c1a2d0
/* * Copyright (c) 2014 Ngewi Fet <ngewif@gmail.com> * Copyright (c) 2014 Yongxin Wang <fefe.wyx@gmail.com> * * 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.o...
Java
app/src/main/java/org/gnucash/android/ui/util/AccountBalanceTask.java
aint/gnucash-android
apache-2.0
2,951
80
codeparrot/github-code
3ea77847b67937d17839cb8c312a6f445dbdc0456fe005efe734cb069848f94f
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCrossCacheTxSelfTest.java
endian675/ignite
apache-2.0
8,185
222
codeparrot/github-code
55d1afa077dd115a994789cc7ef89860c7c9d7ad29c6bd469b77358eb4ab3e0d
<?php /** * SMOF Admin * * @package WordPress * @subpackage SMOF * @since 1.4.0 * @author Syamil MJ */ /** * Head Hook * * @since 1.0.0 */ function of_head() { do_action( 'of_head' ); } /** * Add default options upon activation else DB does not exist * * @since 1.0.0 */ function of_option_setu...
PHP
wp-content/themes/Avada/admin/functions/functions.admin.php
mprihodko/nelmir
apache-2.0
4,209
172
codeparrot/github-code
df9371d95c3efc48e165dea21ff64bfd35d6c08c0ac9b98d413455eec1b5acc9
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
Java
gemfire-core/src/main/java/com/gemstone/gemfire/cache/hdfs/internal/HDFSIntegrationUtil.java
papicella/snappy-store
apache-2.0
5,929
134
codeparrot/github-code
43f6ca02c23f77e0fb97040ce775110579c91fccffbc8cc99f60712d02eb9eb6
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
C#
src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/Offers/GetOffer.cs
dulems/azure-powershell
apache-2.0
4,845
123
codeparrot/github-code
3265ef8d0505e7251d8f5b617eeb0111d64a7aee0fc932f084668f538274dfb6
/** * @author : Paul Taylor * @author : Eric Farng * * Version @version:$Id$ * * MusicTag Copyright (C)2003,2004 * * This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser * General Public License as published by the Free Software Foundation; either ver...
Java
library/jaudiotagger226/src/main/java/org/jaudiotagger/tag/id3/AbstractID3v1Tag.java
thawee/musixmate
apache-2.0
5,166
158
codeparrot/github-code
e060baef5f2bbb76d327782ecf5d5557abbba67f441b4c2df35ba7c130114e40
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include "xmpp/xmpp_state_machine.h" #include <typeinfo> #include <boost/bind.hpp> #include <boost/date_time/posix_time/posix_time.hpp> #include <boost/statechart/custom_reaction.hpp> #include <boost/statechart/event.hpp> #include <boost/statech...
C++
src/xmpp/xmpp_state_machine.cc
Juniper/contrail-dev-controller
apache-2.0
43,609
1,246
codeparrot/github-code
f673f5b9d5785f08ed348388076548ce3a320518b6b8eaeeee1708769b546275
/* * Licensed to GraphHopper and Peter Karich under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper licenses this file to you under the Apache License, * Version 2.0 (the "License"); yo...
Java
core/src/test/java/com/graphhopper/util/AngleCalcTest.java
nside/graphhopper
apache-2.0
3,649
91
codeparrot/github-code
196e1e9310d36d9fcd5733016df39a644be0381475cf8de300b67652000d3095
<?php /* * Copyright (c) Codiad & Kent Safranski (codiad.com), distributed * as-is and without warranty under the MIT License. See * [root]/license.txt for more. This information must remain intact. */ require_once('../../common.php'); ////////////////////////////////////////////...
PHP
editor/components/project/dialog.php
fedyfausto/RaspberryWebPanel
bsd-2-clause
9,280
217
codeparrot/github-code
100c99e80f42aaf74344ccd294ce7a8431babe2644f26000f8709b2e1076777f
from __future__ import print_function, unicode_literals import threading from weblab.core.wl import weblab_api """ The target is to forget all the internal things of weblab / Flask and be able to run things like: with wlcontext(server, reservation_id = reservation_id): list_experiments() """ class wlcontext(obje...
Python
server/src/test/util/wlcontext.py
morelab/weblabdeusto
bsd-2-clause
1,599
46
codeparrot/github-code
66906cd4b7d58801f8af3455b745b4cd651a5e297d7f69ac0045393c685e247e
class Nrpe < Formula desc "Nagios remote plugin executor" homepage "https://www.nagios.org/" url "https://downloads.sourceforge.net/project/nagios/nrpe-3.x/nrpe-3.2.1.tar.gz" sha256 "8ad2d1846ab9011fdd2942b8fc0c99dfad9a97e57f4a3e6e394a4ead99c0f1f0" revision 1 bottle do cellar :any rebuild 1 sha...
Ruby
Formula/nrpe.rb
zmwangx/homebrew-core
bsd-2-clause
2,998
95
codeparrot/github-code
f1eb5d24399f474e7beaee3f32dbe2e2a90528d65a8ce40fe21f525568f76c4c
using System; namespace BLToolkit.Aspects { /// <summary> /// http://www.bltoolkit.net/Doc/Aspects/index.htm /// </summary> [AttributeUsage( AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Property | AttributeTargets.Method, AllowMultiple=true)] public class InstanceC...
C#
EIDSS v6/bltoolkit.3.2.dev/Aspects/InstanceCacheAttribute.cs
EIDSS/EIDSS-Legacy
bsd-2-clause
1,725
80
codeparrot/github-code
30d8daa758d5371a8fae155695c2bef355130a32320cb6bad1e0c91bb298c16f
#include "engine/engine_config.hpp" namespace osrm { namespace engine { bool EngineConfig::IsValid() const { const bool all_path_are_empty = storage_config.ram_index_path.empty() && storage_config.file_index_path.empty() && storage_config.hsgr_data_path.empty() && storage_config.nodes_data_path.em...
C++
src/engine/engine_config.cpp
beemogmbh/osrm-backend
bsd-2-clause
1,309
32
codeparrot/github-code
19c983dab5aca379a9547703097a113eb01f2779698745003b273a27358768b8
var statsUtil = require('./stats'); var criticalValues = require('./ANOVACriticalValues'); var getOptionDegreesOfFreedom = function(data) { return Object.keys(data).length - 1; }; var getSampleDegreesOfFreedom = function(data) { var numOfOptions = 0; var numOfSamples = 0; for(var option in data) { numOfOp...
JavaScript
src/utils/ANOVA.js
mdboop/francis
bsd-2-clause
2,248
72
codeparrot/github-code
b3783791e9786c6c5aa2186f396a3cf81079b150a7774cfc719afffe47cb0e25
var lib = require('./lib'); var Obj = require('./object'); // Frames keep track of scoping both at compile-time and run-time so // we know how to access variables. Block tags can introduce special // variables, for example. var Frame = Obj.extend({ init: function(parent) { this.variables = {}; thi...
JavaScript
src/runtime.js
jlongster/nunjucks
bsd-2-clause
7,760
322
codeparrot/github-code
f215f102fbbe064c4b630089fe4ba8b759bb8a0bc60ff6f0173160fb7e3e6b23
/* -*- mode: javascript; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // // Dalliance Genome Explorer // (c) Thomas Down 2006-2013 // // bam-test.js // "use strict"; var makeTwoBit = require('../js/twoBit').makeTwoBit; var URLFetchable = require('../js/bin').URLFetchable; describe('2bit files', function() { ...
JavaScript
test/twobit-test.js
bartcharbon/dalliance
bsd-2-clause
1,950
62
codeparrot/github-code
db95a493e23b29359e146c8fd030ef848066607b4818aa810a76bf517220fe23
// 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. /** * Class representing the results of a scan operation. * * @interface */ importer.MediaScanner = function() {}; /** * Initiates scanning. * * @...
JavaScript
ui/file_manager/file_manager/background/js/media_scanner.js
mou4e/zirconium
bsd-3-clause
18,523
672
codeparrot/github-code
153ce9bff8670e427064db13cc7657a1be1adf3ddf6801727b2f56d3f5fc8df7
''' Basic processing procedures for analog signals (e.g., performing a z-score of a signal, or filtering a signal). :copyright: Copyright 2014-2015 by the Elephant team, see AUTHORS.txt. :license: Modified BSD, see LICENSE.txt for details. ''' from __future__ import division, print_function import numpy as np import ...
Python
elephant/signal_processing.py
sonjagruen/elephant
bsd-3-clause
9,104
236
codeparrot/github-code
2520b162344abf508737cd4c06f17f0e8efc865817e4263dcae8eec228c7d432
package hello; import static hello.Helper.getQueries; import static hello.Helper.randomWorldNumber; import static hello.Helper.sendException; import static hello.Helper.sendJson; import com.mongodb.async.client.MongoCollection; import com.mongodb.async.client.MongoDatabase; import com.mongodb.client.model.Filters; im...
Java
frameworks/Java/undertow/src/main/java/hello/UpdatesMongoAsyncHandler.java
saturday06/FrameworkBenchmarks
bsd-3-clause
3,267
101
codeparrot/github-code
81e4f724b9c8443d3bed2f7669c8daeaae3a1361054b8acf0d4ebe2d4f313421
/* * libEtPan! -- a mail stuff library * * Copyright (C) 2001, 2005 - DINH Viet Hoa * 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 a...
C
src/low-level/mime/mailmime.c
disaykin/libetpan
bsd-3-clause
33,008
1,475
codeparrot/github-code
eee449392b03f6e9babdc6b08b486e475cb3a47a1e1f8cbf462fef97021ced73
// 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. // This file is here so other GLES2 related files can have a common set of // includes where appropriate. #include <sstream> #include <GLES2/gl2.h> #...
C++
gpu/command_buffer/common/gles2_cmd_utils.cc
Chilledheart/chromium
bsd-3-clause
35,371
1,375
codeparrot/github-code
d5ff62d552019e06c7fb9e00c83649b63d490eb6bf7751baeb760bcd92b9642f
// // CHCSV.h // CHCSVParser /** Copyright (c) 2010 Dave DeLong Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m...
C
SeafloorOSX/CHCSV.h
mattjr/seafloorexplore
bsd-3-clause
1,454
41
codeparrot/github-code
28ee3788e2709d2e030a1bcb80e99a2878bd0b3e9b2746a352755d96713ecc14
/** * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
C++
surface/include/pcl/surface/impl/concave_hull.hpp
patmarion/PCL
bsd-3-clause
20,524
610
codeparrot/github-code
c83ea4bfb68bf5ff14c9f71f9753178aec571aec15f4e0ca5be3607030eb55b4
/* * Copyright 2006 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkBitmap.h" #include "SkImage.h" #include "SkImageDecoder.h" #include "SkImageEncoder.h" #include "SkMovie.h" class SkColorTable; class SkStrea...
C++
third_party/skia/src/ports/SkImageDecoder_empty.cpp
mxOBS/deb-pkg_trusty_chromium-browser
bsd-3-clause
3,034
126
codeparrot/github-code
a9bf0dd1db57cf150b0b9d77019ae4f6a62003e965b1db8f517e02a5c293c515
#include "builtin/nativemethod.hpp" #include "objectmemory.hpp" #include "gc/baker.hpp" #include "util/allocator.hpp" #include "capi/capi.hpp" #include "capi/handle.hpp" #include "capi/handles.hpp" #include "capi/18/include/ruby.h" namespace rubinius { namespace capi { bool Handle::valid_handle_p(STATE, Handle*...
C++
vm/capi/handle.cpp
whiteley/rbx-deb
bsd-3-clause
3,472
137
codeparrot/github-code
06dad2ec3c59709b4141ae7b76e6fa283978fa3938e7007d734ec8682acff30a
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package s390x import ( "math" "cmd/compile/internal/gc" "cmd/compile/internal/ssa" "cmd/internal/obj" "cmd/internal/obj/s390x" ) // markMoves marks any ...
GO
src/cmd/compile/internal/s390x/ssa.go
suncycheng/go
bsd-3-clause
24,338
863
codeparrot/github-code
9979a9fa04173bc7e3fa10aafad41f02fabdcbaa855825875037445229632f00
#include <hre/config.h> #include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <time.h> #include <hre/user.h> #include <util-lib/zobrist.h> static const hash64_t INITIAL_HASH = 0; struct zobrist_s { hash64_t **keys; size_t key_length; int ...
C
src/util-lib/zobrist.c
Meijuh/ltsmin
bsd-3-clause
3,046
113
codeparrot/github-code
0ae6532f80a30f145722c47838be571f00bd1ac61b7aa9f221a3537d6176d129
/** * Helper for implementing retries with backoff. Initial retry * delay is 1 second, increasing by 2x (+jitter) for subsequent retries * * @constructor */ var RetryHandler = function() { this.interval = 1000; // Start at one second this.maxInterval = 60 * 1000; // Don't wait longer than a minute }; /** ...
JavaScript
frontend/web/upload.js
fnoorman/dev
bsd-3-clause
9,035
328
codeparrot/github-code
096d14f422e46f3788e97c4db70774173bfbd616564e9ff7a82a5093538fdb34
// Copyright 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 "cc/scheduler/scheduler.h" #include <string> #include <vector> #include "base/logging.h" #include "cc/test/scheduler_test_common.h" #include "t...
C++
chromium/src/cc/scheduler/scheduler_unittest.cc
espadrine/opera
bsd-3-clause
22,381
601
codeparrot/github-code
326f07f7d2068897f97321729e4c5ad4acdcafc3cc0a47e02408dad1ca869eec
from __future__ import absolute_import, division, print_function try: import h5py # h5py has precedence over pytables except: pass from multipledispatch import halt_ordering, restart_ordering halt_ordering() # Turn off multipledispatch ordering from .utils import ignoring from .convert import convert from...
Python
odo/__init__.py
ywang007/odo
bsd-3-clause
2,109
73
codeparrot/github-code
5bd2ef54783cc3a591486627ca9f2ffde1b8db3498ea21373211e9462b319172
/* Defaults */ body { font-size: 12px; background-color: #fff !important; font-family: Verdana; margin: 0; } a { color: #777; text-decoration:none; } a:visited { color: black; } a:hover { color: black; } h2 { color: #777; margin-top: 0; border-bottom: 1px solid #ccc; } ...
CSS
lfs/manage/static/lfs/css/lfs.manage.css
baffolobill/django-lfs
bsd-3-clause
14,811
976
codeparrot/github-code
9232d8912638f3546a282f30cc3622bdad7485a67b190d7bead3cf5d344042e5
/* * Copyright (c) 2007-2012, Michael Lehn * * 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 * no...
C
cxxblas/sparselevel3/trcrssm.h
d-tk/FLENS
bsd-3-clause
4,066
110
codeparrot/github-code
013ad3ef4be93a5785974418be291fce8915783a2f85046c9eb0b453c752fd6e
// 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. // Multiply-included message file, so no include guard. #include <string> #include <vector> #include "base/basictypes.h" #include "base/files/file_path....
C
chrome/common/extensions/chrome_utility_extensions_messages.h
CTSRD-SOAAP/chromium-42.0.2311.135
bsd-3-clause
10,316
244
codeparrot/github-code
abbc27ae508e43d6e6bdf3b13ba79358906a81d95651c75885cc51a467ca8813
// 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/browser_command_controller.h" #include "base/prefs/pref_service.h" #include "chrome/app/chrome_command_ids.h" #include "c...
C++
chromium/src/chrome/browser/ui/browser_command_controller.cc
espadrine/opera
bsd-3-clause
45,559
1,254
codeparrot/github-code
fd8fa21f6cf0745fd0269779e4eab2f714fd5915ba8cba506e5f2ab8b87810c1
/* * Copyright (c) 2009-2020 jMonkeyEngine * 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 ...
Java
jme3-jbullet/src/main/java/com/jme3/bullet/collision/shapes/PlaneCollisionShape.java
zzuegg/jmonkeyengine
bsd-3-clause
3,075
88
codeparrot/github-code
8676a48ba845e91c2586ad052c7ead435cbdb1ee0b32cfe91687ac5b65e88b0a
// 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 "content/public/browser/content_browser_client.h" #include "base/files/file_path.h" #include "content/public/browser/client_certificate_dele...
C++
content/public/browser/content_browser_client.cc
guorendong/iridium-browser-ubuntu
bsd-3-clause
9,886
348
codeparrot/github-code
7bc3d192b06179553bbd61c88708d05bd96de45887029481148eb4b71063953a
from __future__ import print_function, division from itertools import product from sympy.core.sympify import _sympify, sympify from sympy.core.basic import Basic from sympy.core.singleton import Singleton, S from sympy.core.evalf import EvalfMixin from sympy.core.numbers import Float from sympy.core.compatibility imp...
Python
sympy/sets/sets.py
ga7g08/sympy
bsd-3-clause
59,122
2,036
codeparrot/github-code
02cd3d64ca8d7e3760a506029cc38245bdaed267918e264b75b44dfbb1202ffa
#ifndef ALIANALYSISTASKTRACKINGSYSPROPAGATION_H #define ALIANALYSISTASKTRACKINGSYSPROPAGATION_H //////////////////////////////////////////////////////////////////////////// // AliAnalysisTask for Tracking Systematics (matching efficiency // // + tracking efficiency) porpagation at the D-meson level ...
C
PWGHF/vertexingHF/AliAnalysisTaskTrackingSysPropagation.h
hcab14/AliPhysics
bsd-3-clause
2,611
65
codeparrot/github-code
d9cfb4b5ee8ea6eea62b8e72cbe4012e5b2c099e96175f8a07c4770b52801403
// Copyright 2013 The Flutter 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 FLUTTER_FLOW_LAYERS_TEXTURE_LAYER_H_ #define FLUTTER_FLOW_LAYERS_TEXTURE_LAYER_H_ #include "flutter/flow/layers/layer.h" #include "third_party/ski...
C
flow/layers/texture_layer.h
mikejurka/engine
bsd-3-clause
936
36
codeparrot/github-code
1762bf92b6ec3ada0031aa52df1b68d451356e990722770597449448b4b85610
/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com...
Java
imagepipeline/src/test/java/com/facebook/imagepipeline/core/ImagePipelineTest.java
pandavickey/fresco
bsd-3-clause
19,426
396
codeparrot/github-code
64b3c3e594b84202d71adaa22799d1d62b7fa946ac32b93ada0ae82d4ba97ff9
/* * 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/Server/Handlers/Map/MapRemoveServerConnector.cs
EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC
bsd-3-clause
10,044
257
codeparrot/github-code
a1ca781b83ca6289c2c53db624a46b9cbb64eca8f55ef29e9d9264edceafd52c
// 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. #include "chrome/browser/managed_mode/managed_user_service.h" #include "base/command_line.h" #include "base/memory/ref_counted.h" #include "base/metr...
C++
chrome/browser/managed_mode/managed_user_service.cc
hujiajie/pa-chromium
bsd-3-clause
20,025
551
codeparrot/github-code
6266c905e4a7a9be669469f8a1809a10b750ec6871a71e140c7267ba3fadedae
// 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 <asm/unistd.h> #include <dlfcn.h> #include <errno.h> #include <fcntl.h> #include <linux/audit.h> #include <linux/filter.h> #include <linux/ne...
C++
content/common/sandbox_seccomp_bpf_linux.cc
jing-bao/pa-chromium
bsd-3-clause
54,735
1,947
codeparrot/github-code
e38908067796ef3e47cd51c998aa472bc93048b7e2062e67ac2a49917373db5d
// 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 "mojo/services/html_viewer/webmediaplayer_factory.h" #include "base/bind.h" #include "base/files/file_path.h" #include "base/path_service.h" #in...
C++
mojo/services/html_viewer/webmediaplayer_factory.cc
mou4e/zirconium
bsd-3-clause
4,928
138
codeparrot/github-code