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
9fee61594e05b134db1fb99c9891fa9c383d21459171564bb6d11b1f27df1e3b
/* * Copyright (c) 2008-2018, Hazelcast, 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 required ...
Java
hazelcast-client/src/test/java/com/hazelcast/client/cache/impl/CallbackAwareClientDelegatingFutureTest.java
tufangorel/hazelcast
apache-2.0
8,990
232
codeparrot/github-code
f2a831b8aca27f320024839e213981f25bca95e66519c564eeb0cf75b442ef58
// Copyright 2015 Serilog Contributors // // 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 ...
C#
src/SerilogWeb.Classic/Classic/Enrichers/HttpRequestIdEnricher.cs
enkafan/classic
apache-2.0
2,220
58
codeparrot/github-code
6d94c5057a5847cad1f3eba51108868d96296f0a35c8b3baf8da3362f8369447
/* * Copyright (c) 2008-2021, Hazelcast, 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 required ...
Java
hazelcast/src/test/java/com/hazelcast/jet/accumulator/EqualityTest.java
jerrinot/hazelcast
apache-2.0
2,719
80
codeparrot/github-code
73a52e3572973fab80dcf4dd25ece4e9e60737534b54d2d5a25e4ecf85e09905
-- SAK-25784 Convert News to RSS Portlet -- --------------------------- -- Add the titles from all existing news tools INSERT INTO SAKAI_SITE_TOOL_PROPERTY (site_id, tool_id, name, value) SELECT site_id, tool_id, 'javax.portlet-portlet_title', title FROM SAKAI_SITE_TOOL WHERE registration = 'sakai.news'; -- Setup all...
SQL
reference/docs/conversion/sakai_11_mysql_conversion.sql
ouit0408/sakai
apache-2.0
81,868
1,052
codeparrot/github-code
eaf8091d1cd9e663fab7ac7d6ad2be56d967d76fe5cea696776b22b4ab34650b
/* Copyright 2010 University of Cambridge * Licensed under the Educational Community License (ECL), Version 2.0. You may not use this file except in * compliance with this License. * * You may obtain a copy of the ECL 2.0 License at https://source.collectionspace.org/collection-space/LICENSE.txt */ package org.co...
Java
cspi-webui/src/main/java/org/collectionspace/chain/csp/webui/misc/WebLogout.java
cherryhill/collectionspace-application
apache-2.0
1,249
37
codeparrot/github-code
58a2479d71a965643380d26e230493cf2c1789c33d420b9cefef0aa50167a6e7
// 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/sync/glue/password_model_associator.h" #include <set> #include "base/location.h" #include "base/stl_util.h" #include "base/...
C++
src/chrome/browser/sync/glue/password_model_associator.cc
plxaye/chromium
apache-2.0
15,958
447
codeparrot/github-code
3d584e8a96353f7217eedeec8eee3d70788d4777fef584d2dcd9cf03c5d03144
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Linq; using Cities; using DataTests.AdventureWorks.LTS; using Microsoft.Silverlight.Testing; using Microsoft.VisualStudio.TestTools.UnitTesting; using TestDomainServices; using TestDomainServices.LTS...
C#
OpenRiaServices.Controls.DomainServices/Test/Controls/QueryParameterTests.cs
jeffhandley/OpenRiaServices
apache-2.0
33,649
888
codeparrot/github-code
9d9ab4ed8172b5eb5430b2266004a6224626f8c839bf19be0b4774abb40ee09b
/* * 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
nifi-nar-bundles/nifi-kafka-bundle/nifi-kafka-1-0-processors/src/main/java/org/apache/nifi/processors/kafka/pubsub/PublishKafka_1_0.java
zhengsg/nifi
apache-2.0
24,033
459
codeparrot/github-code
3282ebc7f67712097dcf733a364ca2085a7b5eff3ae0053302c66f3a223e7bcf
/* * 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...
C#
src/Lucene.Net.Queries/Function/ValueSources/IntFieldSource.cs
mdissel/lucene.net
apache-2.0
5,541
168
codeparrot/github-code
811881de1ddacd854719885891a6e560876b91cf9b4e74d3b30551a299b851ae
// // PDProfilerDomain.h // PonyDebuggerDerivedSources // // Generated on 8/23/12 // // Licensed to Square, Inc. under one or more contributor license agreements. // See the LICENSE file distributed with this work for the terms under // which Square, Inc. licenses this file to you. // #import "PDObject.h" #impor...
C
weex-dev/ios/WXDevtool/inspector/DerivedSources/PDProfilerDomain.h
HJ-StevenSun/Weex-TestDemo
apache-2.0
3,360
65
codeparrot/github-code
bbcecc06cb9a020eccc96ccf5fe25967b121912b7626c49ce712c2ab3d11b379
class HeadingController { constructor($timeout, $http, $state, appConfig) { "ngInject"; this.$timeout = $timeout; this.$http = $http; this.$state = $state; this.ApiUrl = appConfig.APIUrl; this.LocalUrl = appConfig.LocalUrl; this.name = 'heading'; this....
JavaScript
webui/src/app/components/heading/heading.controller.js
Revolution1/daochain
apache-2.0
2,224
58
codeparrot/github-code
9360773372d7f53a45df047e1dffe825dad0dfc90047eb5fed4290f8d03cbc63
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
C++
include/seastar/rpc/rpc_types.hh
scylladb/seastar
apache-2.0
11,761
387
codeparrot/github-code
b19aee87247569967cba739b5ec1aea3ae0e7e88f3600f9e2f601f3f4cfd1fe5
/* Copyright 2011 Selenium committers Copyright 2011 Software Freedom Conservancy 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...
Java
java/server/test/org/openqa/grid/internal/RemoteProxyFactory.java
lummyare/lummyare-lummy
apache-2.0
3,525
107
codeparrot/github-code
f50f9435a128bd72e3647457e894749ff78ab046027a71b99b475857fbea8b55
package file import ( "archive/tar" "encoding/json" "fmt" "io" "io/ioutil" "os" "path" "path/filepath" "strings" "github.com/coreos/rkt/Godeps/_workspace/src/github.com/appc/docker2aci/lib/common" "github.com/coreos/rkt/Godeps/_workspace/src/github.com/appc/docker2aci/lib/types" "github.com/coreos/rkt/God...
GO
Godeps/_workspace/src/github.com/appc/docker2aci/lib/backend/file/file.go
xnox/rkt
apache-2.0
6,999
296
codeparrot/github-code
36e29f844f077c5b3e1281bc74f10527fe550136af06cdeea89a2a3aa65a0770
/* * 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 ...
Java
src/main/java/org/apache/sysml/utils/Statistics.java
deroneriksson/incubator-systemml
apache-2.0
36,707
1,038
codeparrot/github-code
459dd79a997a656c500ad6fe6bc3d2401612bea0e45463ac47e2fdbf7ea8a742
/* * Copyright 2016 Google LLC * * 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
google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java
mbrukman/gcloud-java
apache-2.0
5,530
128
codeparrot/github-code
d601cc34521dd39acac7d7206bd28d04da64dbf71edbb8e1c64eca66e64d2a80
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.lang.reflect; import gw.lang.UnstableAPI; @UnstableAPI public class TypeSystemRefresher implements ITypeSystemRefresher { private static final long KB = 1024; private static final long MB = KB * KB; private static TypeSystemRefresher _instance; pu...
Java
gosu-core-api/src/main/java/gw/lang/reflect/TypeSystemRefresher.java
dumitru-petrusca/gosu-lang
apache-2.0
1,798
75
codeparrot/github-code
e1a34096e075f89df9866f3f1b4ecfdb2220f22946e1b2962294cb4493e2a8f7
/* Copyright 2016 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
GO
mungegithub/mungers/testowner/owner.go
endocode/contrib
apache-2.0
3,668
140
codeparrot/github-code
d6dc3b4cc21eb9c70bdc4258cb50bb92010f5fda445454a4e5e2f4b341a79756
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
Java
src-core/org/pentaho/di/core/SourceToTargetMapping.java
lihongqiang/kettle-4.4.0-stable
apache-2.0
2,259
82
codeparrot/github-code
b64176cc4c67dccc929a14e476acf43cadcbadb16264cfe2715839d35fb77fa2
// 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. #ifndef CHROME_BROWSER_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_API_H_ #define CHROME_BROWSER_EXTENSIONS_API_PAGE_LAUNCHER_PAGE_LAUNCHER_API_H_ #in...
C
src/chrome/browser/extensions/api/page_launcher/page_launcher_api.h
plxaye/chromium
apache-2.0
1,485
49
codeparrot/github-code
7aca4746b7dfb3b6ddd9807b496835c00fb3e2dce07f9458503aee182e5c9841
/* * Copyright 2007 Yusuke Yamamoto * * 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 agree...
Java
twitter4j-stream/src/main/java/twitter4j/StatusStreamBase.java
smb510/twitterbyName
apache-2.0
17,466
377
codeparrot/github-code
ba8fc80f6c5b52d2935b1a67e2c4c3336b47cfcb99f7bef904ef3de192a68bff
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2009-2011 Google, All Rights reserved // Copyright 2011-2012 MIT, All rights reserved // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package com.google.appinventor.server.properties.json; import com.google....
Java
appinventor/appengine/src/com/google/appinventor/server/properties/json/ServerJsonValue.java
yflou520/appinventor-sources
apache-2.0
2,280
72
codeparrot/github-code
36799db8d95714296b8b404a166bed5619f47ddcfda6ac9073645f437e830f20
/* Copyright 2014 OPM.gov 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 wr...
Java
Code/SCRD_BRE/src/java/core/gov/opm/scrd/entities/lookup/PaymentAppliedOrder.java
NASA-Tournament-Lab/CoECI-OPM-Service-Credit-Redeposit-Deposit-Application
apache-2.0
1,185
44
codeparrot/github-code
827badf13fac9e18cf9f32123fc84c274ecffdf36928993a02b2239e5dbaf7b7
from __future__ import absolute_import from __future__ import print_function from typing import Any from argparse import ArgumentParser from django.core.management.base import BaseCommand from zerver.models import Realm, RealmAlias, get_realm, can_add_alias from zerver.lib.actions import do_get_realm_aliases import s...
Python
zerver/management/commands/realm_alias.py
amyliu345/zulip
apache-2.0
2,022
52
codeparrot/github-code
293b92405812365786818f513b49fdc17e5b6d68c517e23dab4c7e2452764642
var fs = require('fs'); var path = require('path'); var vm = require('vm'); var find_tests = function (testFileList, discoverResultFile) { var debug; try { debug = vm.runInDebugContext('Debug'); } catch (ex) { console.error("NTVS_ERROR:", ex); } var testList = []; testFileList....
JavaScript
Nodejs/Product/Nodejs/TestFrameworks/ExportRunner/exportrunner.js
AustinHull/nodejstools
apache-2.0
1,741
57
codeparrot/github-code
1e28ced7c8fbb0508804f96049bc4b40ab109054ec80ee3d44a336d30e70531c
/* * 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 ...
Java
sql/src/main/java/org/apache/druid/sql/calcite/rel/DruidRel.java
nishantmonu51/druid
apache-2.0
3,539
105
codeparrot/github-code
3c6f39a1b9d1472811e71e31a3e98337ebcd74073dad14f65c8e70a65c10c2ab
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2022 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
addOns/network/src/main/java/org/zaproxy/addon/network/internal/ui/ModifyPassThroughDialog.java
kingthorin/zap-extensions
apache-2.0
1,712
50
codeparrot/github-code
d41946c74d991518b1d9ab1f816c3df3389e65ff7f780c6a78802622d05b0adf
/* * Copyright (C) 2014 The Android Open Source Project * * 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 app...
C
compiler/optimizing/ssa_type_propagation.h
treadstoneproject/artinst
apache-2.0
1,431
49
codeparrot/github-code
2a2ef6758aeef641b39cd8fe9bf634dd2445a7c8856cc48c6157d4d5ac1dcda7
/* * Copyright 2016 Red Hat, Inc. 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 a...
Java
kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/lang/ast/NameDefNode.java
reynoldsm88/drools
apache-2.0
1,783
69
codeparrot/github-code
ebb9e959d7b70845c2131d4cc9337ad9860e56617745d38278d091b16a84f3c7
/* * Copyright 2017-present Facebook, 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
src/com/facebook/buck/features/project/intellij/aggregation/AggregationTreeNode.java
brettwooldridge/buck
apache-2.0
8,802
255
codeparrot/github-code
ec9fecc33bc7161bdc36aecbe175458c448957ebff503e5d4547f6a7f0a9c3a5
// Copyright 2014 The Cockroach Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
GO
util/encoding/float.go
alex/cockroach
apache-2.0
10,451
386
codeparrot/github-code
e5355d0cd70f108c4f03c8a9ccc9c49136d49d1a61e6abc5543a0e6465fa2c50
dojo.experimental("dojox.grid.TreeGrid"); dojo.provide("dojox.grid.TreeGrid"); dojo.require("dojox.grid.DataGrid"); dojo.require("dojox.grid._TreeView"); dojo.require("dojox.grid.cells.tree"); dojo.require("dojox.grid.TreeSelection"); dojo.declare("dojox.grid._TreeAggregator", null, { cells: [], grid: null, child...
JavaScript
training-web/src/main/webapp/js/dojotoolkit/dojox/grid/TreeGrid.js
sulistionoadi/belajar-springmvc-dojo
apache-2.0
27,654
952
codeparrot/github-code
997111b5456ca515fe99ccdb9785fab83d130c91e5241597cd50d94b32083960
/* * Copyright 2013, 2014 Deutsche Nationalbibliothek * * 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 ap...
Java
src/main/java/org/culturegraph/mf/flux/parser/Flow.java
philboeselager/metafacture-core
apache-2.0
3,223
123
codeparrot/github-code
95c07e5edc9fa35d7271842f30f833118938d2498117c38190cf076b8c125fce
package com.alamkanak.weekview.sample; import com.alamkanak.weekview.WeekViewEvent; import java.util.ArrayList; import java.util.Calendar; import java.util.List; /** * A basic example of how to use week view library. * Created by Raquib-ul-Alam Kanak on 1/3/2014. * Website: http://alamkanak.github.io */ public c...
Java
sample/src/main/java/com/alamkanak/weekview/sample/BasicActivity.java
asolis90/Android-Week-View
apache-2.0
7,174
164
codeparrot/github-code
51cd4f4368f58a39af3950fcc5cf13f42a4d7e10f0c5a56d604dd84c83c71cee
/**************************************************************************** * * Copyright 2018 Samsung Electronics 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...
C++
external/libcxx-test/std/containers/unord/unord.map/unord.map.modifiers/emplace.pass.cpp
HONGCHAEHEE/TizenRT
apache-2.0
2,685
73
codeparrot/github-code
d36fd448c7285ec3c18a7fd75a3bc6d0ce89dbe9512b02b0951f1cbd062bda97
/* Generated SBE (Simple Binary Encoding) message codec */ #ifndef _UK_CO_REAL_LOGIC_SBE_IR_GENERATED_VARDATAENCODING_HPP_ #define _UK_CO_REAL_LOGIC_SBE_IR_GENERATED_VARDATAENCODING_HPP_ #if defined(SBE_HAVE_CMATH) /* cmath needed for std::numeric_limits<double>::quiet_NaN() */ # include <cmath> # define SBE_FLOAT_N...
C++
main/cpp/uk_co_real_logic_sbe_ir_generated/VarDataEncoding.hpp
lcs777/simple-binary-encoding
apache-2.0
2,040
92
codeparrot/github-code
947203ebf1e2e8f2705484c73f18f0c64cee7644da421ed773a38a110d0d8a63
/** * Copyright (c) 2012 Yahoo! 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 required by...
Java
src/main/java/ape/NetworkSlowCommand.java
yahoo/anarchyape
apache-2.0
4,517
166
codeparrot/github-code
18e9da487d06810d83953a7c3e7a1f242b4275da0a34cdc08ff68bf1bf0dfd8b
# Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # Copyright 2011 Justin Santa Barbara # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance wi...
Python
nova/openstack/common/service.py
Metaswitch/calico-nova
apache-2.0
15,254
505
codeparrot/github-code
83b574076b0b07146d1ca88d1620572da9c4b72be7083ba8921ae4d93075272b
package it.unibz.krdb.sql; /* * #%L * ontop-test * %% * Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano * %% * 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...
Java
quest-test/src/test/java/it/unibz/krdb/sql/OracleConstraintTest.java
eschwert/ontop
apache-2.0
1,186
49
codeparrot/github-code
177e137b96b254db7141eb4acbafd50cb2b3bc27292663c3c9b2c6797872f057
/* * 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 ...
Java
plugins/storage/volume/nexenta/src/test/java/org/apache/cloudstack/storage/datastore/util/NexentaUtilTest.java
GabrielBrascher/cloudstack
apache-2.0
6,063
136
codeparrot/github-code
45566bda09b3b64c0fa1344ef1a50c053927a71a411578e789dbb12d0857092d
/* * Copyright 2012-2020 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-tools/spring-boot-maven-plugin/src/intTest/java/org/springframework/boot/maven/BuildInfoIntegrationTests.java
shakuzen/spring-boot
apache-2.0
5,471
151
codeparrot/github-code
9cd0cb9056a571792f5021ee51775b4a1f23149e1a6d27ab5fcc1dfc156ad657
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) 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 * * Unles...
JavaScript
components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_proximity_gadget/PROXIMITY/js/core/gadget-util.js
susinda/carbon-device-mgt-plugins
apache-2.0
1,427
35
codeparrot/github-code
ee4cf59e23abbedd581b995f55c1b6524058f5fef4c73bc48c9056371522ef96
package org.apereo.cas.oidc.jwks; import org.apereo.cas.oidc.AbstractOidcTests; import lombok.val; import org.apache.commons.lang3.StringUtils; import org.jose4j.jwk.JsonWebKey; import org.jose4j.jwk.JsonWebKeySet; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import java.util.List; import st...
Java
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/jwks/OidcJsonWebKeyStoreUtilsTests.java
fogbeam/cas_mirror
apache-2.0
1,726
58
codeparrot/github-code
edf640e0adfcda098f4e0e8842d2d026e8993334e2aaa272e15d8ea9e88955e6
/* Copyright (C) 2010-2015 Matthias Kretz <kretz@kde.org> Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that the copyright notice and ...
C++
ext/Vc-1.3.2/examples/buddhabrot/main.cpp
thomaskrause/graphANNIS
apache-2.0
22,641
664
codeparrot/github-code
10693b682608fd4bdc8fc1e019e98af38eaa462dea4163bc3b68247aed73b15f
/*------------------------------------------------------------------------- * * nodeFuncs.c * Various general-purpose manipulations of Node trees * * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATIO...
C
src/backend/nodes/nodeFuncs.c
edespino/gpdb
apache-2.0
75,903
2,781
codeparrot/github-code
1640d7aca164c20f34278b1172a1c956fe33c80822a24ceb0c85d252bbdd2adc
/** * Copyright 2005 Sakai 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.osedu.org/licenses/ECL-2.0 * * Unless required by applicable law or a...
Java
tool/src/java/org/sakaiproject/evaluation/tool/viewparams/AdminSearchViewParameters.java
buckett/evaluation
apache-2.0
1,180
47
codeparrot/github-code
083a6e200672623a27a0fb9475c84d088298a23bc78cea6e7cbdde27d13104f9
/* * Copyright 2015 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. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
C
frame/c++/webrtc-master/rtc_base/logsinks.h
wangcy6/storm_app
apache-2.0
2,150
69
codeparrot/github-code
d3589116f9a25ac5522dfff12ed08f10e6f46ed18f1fa757f718a75f8e6114d7
/* * Copyright 2000-2017 JetBrains s.r.o. * * 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 agre...
Java
java/java-impl/src/com/intellij/refactoring/move/moveMembers/MoveMembersDialog.java
jk1/intellij-community
apache-2.0
16,692
456
codeparrot/github-code
210f1ca87cc007dc82cf98dd2428d8737e63aa4761c0151c64f6bd26d8d22e37
/* * 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 SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
Java
bundles/extensions/healthcheck/core/src/main/java/org/apache/sling/hc/core/impl/executor/AsyncHealthCheckExecutor.java
tmaret/sling
apache-2.0
10,291
251
codeparrot/github-code
e93b865cd334a611a3c61f0f4c4d7a28e374a03c3f7588b36b2b6fcebebb1fda
namespace Lucene.Net.Facet.Taxonomy { /* * 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 ...
C#
src/Lucene.Net.Facet/Taxonomy/DocValuesOrdinalsReader.cs
mdissel/lucene.net
apache-2.0
4,502
130
codeparrot/github-code
642fec87ab620821f75ea8f4e0d5b8528a8ec24fe8bafdd6f24d38f8e663a134
// // ======================================================================== // Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
Java
src/java/org/eclipse/jetty/util/log/AbstractLogger.java
geekboxzone/mmallow_external_jetty
apache-2.0
2,389
78
codeparrot/github-code
15050df393510ab4351ee1059dad11b96f6c48ac1b54d38326f7ee428c9e6db5
/* Copyright 2014-2017 ARM Limited * * 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 agree...
Java
wa/workloads/googlephotos/uiauto/app/src/main/java/com/arm/wa/uiauto/googlephotos/UiAutomation.java
setrofim/workload-automation
apache-2.0
18,263
486
codeparrot/github-code
7109ce4f2a04e166b1eb79112c770f6e9026583d4e189f8cdd623e8db5613dee
/* * Copyright 2012-2016 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/cloudfoundry/TokenValidatorTests.java
ollie314/spring-boot
apache-2.0
12,012
256
codeparrot/github-code
d4a81581f7bafb90be44cb3cc69a80e9037d5898bb6b81c8784bf8585e36b5aa
/* * Copyright 2010-2017 Boxfuse GmbH * * 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
flyway-core/src/test/java/org/flywaydb/core/internal/dbsupport/vertica/VerticaSqlScriptSmallTest.java
pradheeps/flyway
apache-2.0
1,689
44
codeparrot/github-code
3790956025988e938682d03a4462b71987a2ad404311dd5df446ef0b54136467
<html><body> <style> body, h1, h2, h3, div, span, p, pre, a { margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; } body { font-size: 13px; padding: 1em; } h1 { font-size: 26px; margin-bottom: 1em; } h2...
HTML
docs/dyn/youtube_v3.search.html
googleapis/google-api-python-client
apache-2.0
16,551
272
codeparrot/github-code
92c16f0e52855696a1698027bad491d19d1e8ea7a6d8daccda3eed54e422f6e3
/******************************************************************************* * 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...
Java
bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/extension/URIManipulationFilterExtension.java
cleliameneghin/sling
apache-2.0
21,647
519
codeparrot/github-code
6b83d186fa7b8aa938541058c78691ae26093e8a7ac5f65a7f3d6c3d1715c705
/* * 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 n...
Java
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/standbycluster/IgniteChangeGlobalStateDataStructureTest.java
samaitra/ignite
apache-2.0
8,702
282
codeparrot/github-code
368a82242023a85cc8b75a99ef8dd4afe50e5954e0901149e4cbca4dd4eaa5b5
/* * Copyright 2010-2012 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
src/main/java/com/amazonaws/services/simpleemail/model/transform/GetSendQuotaResultStaxUnmarshaller.java
SaiNadh001/aws-sdk-for-java
apache-2.0
2,915
75
codeparrot/github-code
38c3f73b50a83533ef52ab545d43bf5671872701fa671ccbc58ce07d0fa32040
// Copyright (C) 2015 The Android Open Source Project // // 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 ...
Java
gerrit-plugin-gwtui/src/main/java/com/google/gerrit/plugin/client/ui/GroupSuggestOracle.java
MerritCR/merrit
apache-2.0
2,516
78
codeparrot/github-code
4cc3ed0d096f8ae2302a28cd056fa6337e6f3f723c4448915a2d9b11bbeae741
<!DOCTYPE HTML> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>QUnit Page for sap.ui.core.navigation.HashChanger</title> <script src="../../shared-config.js"></script> <script src="../../../../../../resources/sap-ui-core.js"> </script> <script> (function () { jQuery.s...
HTML
src/sap.ui.core/test/sap/ui/core/qunit/routing/HashChanger.qunit.html
SQCLabs/openui5
apache-2.0
11,549
345
codeparrot/github-code
a92036b3f7563da6446d8b586b1dbbdb01b9e0df50aa4231829dadf6ff5fc3c2
package com.twitter.finagle.redis import com.twitter.finagle.redis.protocol._ import com.twitter.finagle.redis.util.ReplyFormat import com.twitter.io.Buf import com.twitter.util.Future import scala.collection.breakOut private[redis] trait PubSubCommands { self: BaseClient => /** * Lists the currently active cha...
Scala
finagle-redis/src/main/scala/com/twitter/finagle/redis/PubSubCommands.scala
koshelev/finagle
apache-2.0
1,658
52
codeparrot/github-code
9801cdb073fcff988f200e4bb6e285dd0536948320f929f57f7ba25c250a7e91
/* * 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/main/java/org/apache/geode/management/internal/cli/util/VisualVmNotFoundException.java
charliemblack/geode
apache-2.0
1,619
47
codeparrot/github-code
fb4040c57ceb5037f8f4c66996a4133082ee42534ea3de0b2bc98bfe4c992e79
--- layout: post100 title: Basic Index categories: XAP100NET parent: indexing-overview.html weight: 100 --- {% summary %} {% endsummary %} When a space is looking for a match for a read or take operation, it iterates over non-null values in the template, looking for matches in the space. This process can be time c...
Markdown
xap100net/indexing.markdown
yohanakh/gigaspaces-wiki-jekyll
apache-2.0
3,662
108
codeparrot/github-code
eac5811c0b26da3240e1ea67f92f87a3b45b8fa24b3e93cfab0d61efcfeb0414
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
Java
engine/src/main/java/org/camunda/bpm/engine/impl/identity/PasswordPolicyResultImpl.java
camunda/camunda-bpm-platform
apache-2.0
1,931
57
codeparrot/github-code
f3e0c4a043dcc175c30262c438ca7aba08ab6c91fe8047caf40bf5c1e9a14c97
# Copyright (C) 2013 eNovance SAS <licensing@enovance.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.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
Python
neutron/services/metering/agents/metering_agent.py
sebrandon1/neutron
apache-2.0
11,182
293
codeparrot/github-code
6c308d861bb74979372190020fdbd1502f82d1645000439753bae01a417276a5
/* 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 * distributed...
Java
modules/flowable-spring-boot/flowable-spring-boot-samples/flowable-spring-boot-sample-jpa-all/src/main/java/flowable/Photo.java
yvoswillens/flowable-engine
apache-2.0
1,172
54
codeparrot/github-code
73c243221062bef10f754de82289346f6db31df597a642ad02de736b5e6ec901
/* * Copyright 2004,2005 The Apache Software Foundation. * * 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 ap...
Java
components/reliable-messaging/org.wso2.carbon.rm/src/main/java/org/wso2/carbon/rm/service/RMParameterBean.java
maheshika/carbon-qos
apache-2.0
3,637
121
codeparrot/github-code
d18fa2e70a3f702cf3220b8004f903a39487e1fcd59e3f3acbb659b3bb829428
/** * Licensed to Apereo under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright ownership. Apereo * licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compli...
Java
uPortal-api/uPortal-api-rest/src/main/java/org/apereo/portal/layout/dlm/remoting/UpdatePreferencesServlet.java
GIP-RECIA/esco-portail
apache-2.0
68,482
1,597
codeparrot/github-code
df4c5f2b33b52c5ac918fba5fd9913fbe0e0a377e79b3a55e2f2ba6255668001
// 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
plugins/network-elements/netscaler/src/main/java/com/cloud/api/commands/RegisterNetscalerControlCenterCmd.java
GabrielBrascher/cloudstack
apache-2.0
5,818
145
codeparrot/github-code
e7ec9ce4f722bc5ee0ce0a11e1d7f4bbb9b3046ea0a1f6b7019dc8378412b4d2
/* * 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")...
Java
ql/src/java/org/apache/hadoop/hive/ql/parse/spark/SparkCompiler.java
sankarh/hive
apache-2.0
26,211
628
codeparrot/github-code
429817dafab438c791a3e7febfd45dca858c8257c562dd8871fc005eaf4a4044
package com.fincatto.documentofiscal.nfe400.classes.nota; import com.fincatto.documentofiscal.DFBase; import com.fincatto.documentofiscal.DFUnidadeFederativa; import com.fincatto.documentofiscal.validadores.DFStringValidador; import org.simpleframework.xml.Element; public class NFNotaInfoReboque extends DFBase { ...
Java
src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoReboque.java
fincatto/nfe
apache-2.0
1,453
45
codeparrot/github-code
b82dcff7f3521ed4f5f3fccb5fabc4c3469965eb258990689d824729932d9673
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) 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 * * U...
Java
modules/siddhi-extensions/math/src/test/java/org/wso2/siddhi/extension/math/AtanFunctionExtensionTestCase.java
charwliu/siddhi
apache-2.0
4,152
96
codeparrot/github-code
dd803c49d421c42098ac2dd9ec21e696170fdff1701ba55e100c34fda75c6e17
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.core.security.action.enrollment; ...
Java
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/action/enrollment/NodeEnrollementResponseTests.java
ern/elasticsearch
apache-2.0
3,861
82
codeparrot/github-code
69673d57bd258240ee65e21f0b5a763dc59db3c014e395e6266d341703f2ac0f
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +---------------------------------------------------...
PHP
ThinkPHP/Extend/Library/ORG/Crypt/Base64.class.php
longqzh/bb_dev
apache-2.0
3,318
90
codeparrot/github-code
672fb4537c51050bb7251ccadfbb652f4ba10975c842086901b0e0515a2ed65b
require 'formula' class Arangodb < Formula homepage 'http://www.arangodb.org/' url 'https://www.arangodb.com/repositories/Source/ArangoDB-2.3.3.tar.gz' sha1 '2429ecdb8499d1524da15bf86749fd58a115a70c' head "https://github.com/triAGENS/ArangoDB.git", :branch => 'unstable' bottle do sha1 "442cba158e63f25a...
Ruby
Library/Formula/arangodb.rb
rtyley/homebrew
bsd-2-clause
2,325
83
codeparrot/github-code
6d64159ba77b11258dd445f4b0adc11a66b3f25a0d2468e94e0c816b2dbd5599
package MGRAST::WebPage::KeggMapper; use base qw( WebPage ); use strict; use warnings; use Data::Dumper; use Conf; use MGRAST::Analysis; 1; =pod =head1 NAME KeggMapper - a KEGG mapping page =head1 DESCRIPTION page to display the KEGG global pathway and map lists / search =head1 METHODS =over 4 =item * B<in...
Perl
src/MGRAST/lib/WebPage/KeggMapper.pm
teharrison/MG-RAST
bsd-2-clause
20,760
566
codeparrot/github-code
7c5d6ec7a647105373409885270c52a541ea99d24ebd4737c8e7d7c5d6ddc195
// GcShapeDoc.cpp // Copyright (c) 2004-2015, https://github.com/rhcad/vgcore, BSD License #include "GcShapeDoc.h" #include "GcBaseView.h" GcShapeDoc::GcShapeDoc() { } GcShapeDoc::~GcShapeDoc() { } bool GcShapeDoc::addView(GcBaseView* view) { if (view && view->deviceView() && view->cmdView()->do...
C++
core/src/view/GcShapeDoc.cpp
xuebao555/vgcore
bsd-2-clause
1,378
64
codeparrot/github-code
af7eafcfae3b77f7ab194b54f4c826d071a0caff62dd8a788bdf3055e6f6a977
# Sample code from Programing Ruby, page 46 class Song include Comparable @@plays = 0 attr_reader :name, :artist, :duration attr_writer :duration def initialize(name, artist, duration) @name = name @artist = artist @duration = duration @plays = 0 end def to_s "Song: #@name--#@...
Ruby
src/ex0093.rb
wkoszek/book-programming-ruby
bsd-2-clause
1,969
101
codeparrot/github-code
26310c12d12d61b4a538e67dc6e7a51dda2a6cb7f084016963b67a8e7e40ebb9
#Daala video codec #Copyright (c) 2002-2013 Daala project contributors. 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, thi...
Makefile
unix/Makefile
tdaede/daala_awcy_runs
bsd-2-clause
14,745
441
codeparrot/github-code
d61552feb62412082c36f772356cf0f110591b44ed091faa2090f4f04801a147
// $Id$ /* Copyright (c) 2007-2015, Trustees of The Leland Stanford Junior University All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright...
C++
src/allocators/separable.hpp
SyedAbubakar/BookSim
bsd-2-clause
2,020
62
codeparrot/github-code
b382122cc4a410a1371fb70b7e083ac8270b43a015ef5933e498b6292b4dddab
define(function(require) { var Mesh = require('../Mesh'); var DynamicGeometry = require('../DynamicGeometry'); var Plane = require('../math/Plane'); var Vector3 = require('../math/Vector3'); var Matrix4 = require('../math/Matrix4'); var Ray = require('../math/Ray'); var PerspectiveCame...
JavaScript
src/plugin/InfinitePlane.js
JDReutt/qtek
bsd-2-clause
4,915
156
codeparrot/github-code
6474addd849e02f028238290d29bdc0f5e9f5ac91029950ec9a54367352575bc
// Written by Attractive Chaos; distributed under the MIT license // To compile: mcs -optimize+ -out:matmul_v1.run matmul_v1.cs // Translated from Java with reference to: http://code.wikia.com/wiki/Matrix_multiplication using System; class matmul_v1 { public double[,] matgen(int n) { double[,] a = new double[n,n]...
C#
benchmarks/Matmul/matmul_cs.cs
mcanthony/Cello
bsd-2-clause
1,202
45
codeparrot/github-code
4d831f250beb5b2926d7aa4a74b613baaac99780dcdc258ecdd9411526036131
<?php namespace Telegram\Bot\Exceptions; use Telegram\Bot\TelegramResponse; /** * Class TelegramResponseException * * @package Telegram\Bot\Exceptions */ class TelegramResponseException extends TelegramSDKException { /** * @var TelegramResponse The response that threw the exception. */ protecte...
PHP
src/Exceptions/TelegramResponseException.php
nandadotexe/telegram-bot-sdk
bsd-3-clause
3,214
134
codeparrot/github-code
7e78b42e3b0eedb724254a9a6cc1b258bcd9c79991e9b2e566a21b05e7193aaf
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under both the Apache 2.0 license (found in the * LICENSE file in the root directory of this source tree) and the GPLv2 (found * in the COPYING file in the root directory of this source tree). * You may...
C++
osquery/tables/system/windows/system_info.cpp
jedi22/osquery
bsd-3-clause
3,425
111
codeparrot/github-code
37d61902f41d40b5c431e343f7cba2964153e8000c7f06f29dbb6c48507c4011
module Distribution module ChiSquare module GSL_ class << self def rng(_k, _seed = nil) nil end def pdf(x, k) GSL::Ran.chisq_pdf(x.to_f, k.to_i) end # Chi-square cumulative distribution function (cdf). # # Returns the integral of ...
Ruby
lib/distribution/chisquare/gsl.rb
deivid-rodriguez/distribution
bsd-3-clause
733
33
codeparrot/github-code
5fa8f3989c3d06e6f0ece84975311264537eaba362a6789653be6a959468f0ce
/** * @author mrdoob / http://mrdoob.com/ * @author jetienne / http://jetienne.com/ * @author paulirish / http://paulirish.com/ */ var MemoryStats = function() { var msMin = 100; var msMax = 0; var performance = window.performance; var container = document.createElement('div'); container.id = 'stats'; ...
JavaScript
client/stats/memory-stats.js
amigocloud/modified-tripplanner
bsd-3-clause
3,264
106
codeparrot/github-code
085a3f5ada21532d992885488abc7b73b7efbf5d2cf3857cd8ec1993c646fc3d
package org.hisp.dhis.security; /* * Copyright (c) 2004-2016, University of Oslo * 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 abo...
Java
dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/security/DefaultUserDetailsService.java
minagri-rwanda/DHIS2-Agriculture
bsd-3-clause
3,964
91
codeparrot/github-code
6ed209a572ec6cf3f9ab66be5c66d5431311c9cdaa3749cca54d7e37f9d47afc
"""This is a simple example that shows how to create a reader factory and register that reader with mayavi. To use this: - put this in ~/.mayavi2/ - then import this module in your ~/.mayavi2/user_mayavi.py. that's it. What you should get: - Options to open .zzz files from the file->open menu. - Op...
Python
examples/mayavi/zzz_reader.py
liulion/mayavi
bsd-3-clause
1,778
66
codeparrot/github-code
e2ec9fe321939097aaf1ec9f20e4a457bd3c2853e630cbb23fbc20f003c5e639
/* * Copyright (c) 2004-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. * */ #inc...
C++
fboss/agent/IPHeaderV4.cpp
biddyweb/fboss
bsd-3-clause
1,137
37
codeparrot/github-code
033cfd7fb776e57773b615380979fb0ba991ae1b19199ae814574b0579a7d424
// 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 "crypto/secure_hash.h" #include <openssl/mem.h> #include <openssl/sha.h> #include <stddef.h> #include "base/logging.h" #include "base/pickl...
C++
src/crypto/secure_hash.cc
kku1993/libquic
bsd-3-clause
1,456
66
codeparrot/github-code
cd789128dba11eea12c94b97f178b614bc0bb8de6b7f084c093ea8baeb1db518
#!/usr/bin/env python # # Copyright (c) 2011, Willow Garage, 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 # n...
Python
test/benchmark/metrics.py
stonier/ecto
bsd-3-clause
4,501
130
codeparrot/github-code
dda9b1ec4b1e030f81f99d8d297c1e994dba9235b9674f3297c7f65df86a5669
// Copyright (c) 2011-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. // Copyright (c) 201...
C
db/builder.h
tsheasha/rocksdb
bsd-3-clause
3,391
81
codeparrot/github-code
6ac36438854b1b82c5aa3c2b2ab64e8a526fe4a1952b9f079f34834523d181b8
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include <SkFont.h> #include "gm.h" #include "sk_tool_utils.h" #include "SkArithmeticImageFilter.h" #include "SkCanvas.h" #include "SkColorPriv.h" #include "SkGradientShader.h...
C++
gm/arithmode.cpp
Hikari-no-Tenshi/android_external_skia
bsd-3-clause
5,776
167
codeparrot/github-code
ec69e9d6d7a61c5f07dfc48c469a0a8e2d339818f3c501d31aef7204d39b5267
from django.db import connections import commonware.log import multidb from celery.task.sets import TaskSet import cronjobs from olympia.amo import VALID_STATUSES from olympia.amo.utils import chunked from .models import UserProfile from .tasks import update_user_ratings_task task_log = commonware.log.getLogger('z....
Python
src/olympia/users/cron.py
andymckay/addons-server
bsd-3-clause
1,853
58
codeparrot/github-code
81ea991fae704ffe43cf43f56e8d7417138776a4edd5fb5aa192b70d89fc6e24
// 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 "ui/message_center/notification_list.h" #include "base/basictypes.h" #include "base/i18n/time_formatting.h" #include "base/strings/stringpri...
C++
ui/message_center/notification_list_unittest.cc
ChromiumWebApps/chromium
bsd-3-clause
30,373
723
codeparrot/github-code
c45e31de569aabd35f9be8c3b46cf5d28a0f68c2591db856c9a795b82415a353
<!DOCTYPE html> <!-- Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.2.0 Version: 3.1.3 Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Follow: www.twitter.com/keenthemes Like: www.facebook.com/keenthemes Purchase: http://them...
HTML
shared/themes/metronic/templates/admin/ecommerce_products_edit.html
sharaf84/digi
bsd-3-clause
91,512
2,593
codeparrot/github-code
8491803a9ee6e5ae9a8daa7d6ce4672936cb35f7ca41708e743050b0d105a977
// 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 "remoting/host/win/worker_process_launcher.h" #include "base/location.h" #include "base/logging.h" #include "base/single_thread_task_runner....
C++
remoting/host/win/worker_process_launcher.cc
hujiajie/pa-chromium
bsd-3-clause
7,725
270
codeparrot/github-code
523fad33a0a56304272dbf2b23c9c06afa71fd886388d48884421426404668f6
{-# LANGUAGE CPP #-} #ifndef MIN_VERSION_profunctors #define MIN_VERSION_profunctors(x,y,z) 0 #endif ----------------------------------------------------------------------------- -- | -- Module : Data.Machine.Mealy -- Copyright : (C) 2012 Edward Kmett -- License : BSD-style (see the file LICENSE) -- -- M...
Haskell
src/Data/Machine/Mealy.hs
fumieval/machines
bsd-3-clause
4,321
159
codeparrot/github-code
9cf6713f682cc36198c1fe1e46df68232de69bc3ecff4ba8de9531d7831bdcf3
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...
C++
BlueBerry/Bundles/org.blueberry.ui/src/handlers/berryShowViewHandler.cpp
rfloca/MITK
bsd-3-clause
2,929
118
codeparrot/github-code
048cced91f6607d1c1b8c599011880108a1dc6587d786ddf988a78f13da88abb
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file sequenceNode.h * @auth...
C
panda/src/pgraphnodes/sequenceNode.h
tobspr/panda3d
bsd-3-clause
2,155
81
codeparrot/github-code