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
8c979bba3b68004087018f229d70ba1a974718b274d1179c56062e14892433e7
/* * 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
bpel-runtime/src/main/java/org/apache/ode/bpel/memdao/BpelDAOConnectionImpl.java
dinkelaker/hbs4ode
apache-2.0
14,032
353
codeparrot/github-code
4ff08600b3f828cd253727f45160fad1e2c0d39d7c3e85b4638e03a1393f2acd
<?php /* * Copyright 2014 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 t...
PHP
src/PagespeedInsights/Environment.php
googleapis/google-api-php-client-services
apache-2.0
1,679
72
codeparrot/github-code
d762a8d5e0cb0c886107f958cdab56ad089a9a56b699de28e82c68111b8a1084
/* * 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
dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/XmlDataDaoImpl.java
dinkelaker/hbs4ode
apache-2.0
5,098
168
codeparrot/github-code
fd93490b5ecdd8c9ec70572105b3958f6d401a62335841a60c78058c303b8b0d
package com.github.vedenin.rus.arrays; import java.util.Arrays; import java.util.stream.DoubleStream; import java.util.stream.IntStream; /** * Тестирование превращения массива в строку для печати * * Created by vedenin on 04.02.16. */ public class ConvertArrayToStringAndPrintTest { public static void main(St...
Java
other/src/main/java/com/github/vedenin/rus/arrays/ConvertArrayToStringAndPrintTest.java
Vedenin/java_in_examples
apache-2.0
1,820
45
codeparrot/github-code
37b8565bb5dc5f12a527029056477afb9ec9177ee9ac8e18719de932e70b24cd
/* * 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
core/camel-core/src/test/java/org/apache/camel/language/TokenizerTest.java
Fabryprog/camel
apache-2.0
18,428
421
codeparrot/github-code
c406b15ee4a3311e4eed2eb12a621c09989fc9abba14945064f55b38ec761a19
/* * Copyright 2018 LINE Corporation * * LINE Corporation licenses this file to you 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 r...
Java
core/src/main/java/com/linecorp/armeria/server/AnnotatedValueResolver.java
jmostella/armeria
apache-2.0
48,024
1,105
codeparrot/github-code
67ea6cfb0de7877d45fc41b503a450a5aa35c4f93f1d475d1fbe4d452527ba8d
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
C
Modules/Filtering/ImageIntensity/include/itkVectorIndexSelectionCastImageFilter.h
CapeDrew/DCMTK-ITK
apache-2.0
5,166
174
codeparrot/github-code
bf69cfd39c074cc096f76bc55396ec8089e63f815c54d69adfc240c6799530ba
/* 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 * distribut...
Java
modules/flowable-engine/src/test/java/org/flowable/engine/test/bpmn/servicetask/CreateUserAndMembershipTestDelegate.java
robsoncardosoti/flowable-engine
apache-2.0
2,078
58
codeparrot/github-code
ac5ff0d243bb7144d188ac4305ab64bf2fa34133710b2af51bd3d6fe192a2efa
/** * 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
camel-core/src/test/java/org/apache/camel/processor/RecipientListBeanTest.java
cexbrayat/camel
apache-2.0
2,243
64
codeparrot/github-code
7d79f13c91432ac554c8cea33f4cdbfaf417708cfb68c29d771ed745bf336494
$(document).ready(function() { $('#btn-create-version').on('click', function(e) { e.preventDefault(); var newVersion = $('#new-version').val(); if (newVersion) { var assetId = $('#asset-id').val(); var assetType = $('#asset-type').val(); var path = caramel...
JavaScript
apps/publisher/themes/default/js/copy-asset.js
sameerak/carbon-store
apache-2.0
2,044
48
codeparrot/github-code
7af83be3276340f7a5d58a30bd40512b946741c989ebc76bbe0afb5af2330226
import shelve import os import re from resource_api.interfaces import Resource as BaseResource, Link as BaseLink, AbstractUriPolicy from resource_api.schema import StringField, DateTimeField, IntegerField from resource_api.service import Service from resource_api.errors import ValidationError RE_SHA1 = re.compile("^...
Python
documentation/tutorial/service_v4.py
gurunars/resource-api
apache-2.0
8,456
282
codeparrot/github-code
77e3011b6596c62f90779ffccf12334f751444fc76cc1fef60cf923a93abcd9b
/** * Copyright 2009-2012 WSO2, Inc. (http://wso2.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 applic...
Java
plugins/org.wso2.developerstudio.eclipse.gmf.esb.edit/src/org/wso2/developerstudio/eclipse/gmf/esb/provider/EndPointPropertyItemProvider.java
prabushi/devstudio-tooling-esb
apache-2.0
11,996
298
codeparrot/github-code
af222ade29c4ea4863b9b16f440df5bc69c322682d6e3823a2d314fc286785b7
/* * 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 * distribut...
Java
presto-main/src/main/java/com/facebook/presto/operator/MultiChannelGroupByHash.java
pnowojski/presto
apache-2.0
13,353
366
codeparrot/github-code
9a04ab9e7f5e21ad1b61e982af05c8669983bb134f6e066afe5287e50e99e42e
/* * JFoenix * Copyright (c) 2015, JFoenix and/or its affiliates., All rights reserved. * * 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 * version 3.0 of the License, or (a...
Java
demo/src/main/java/demos/components/DatePickerDemo.java
jfoenixadmin/JFoenix
apache-2.0
2,537
78
codeparrot/github-code
2937f706c25bdf01233ae816553e74e2788f37ae8888314348bada2f8076d646
package com.planet_ink.coffee_mud.Abilities.Spells; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; im...
Java
com/planet_ink/coffee_mud/Abilities/Spells/Spell_Blademouth.java
welterde/ewok
apache-2.0
4,439
120
codeparrot/github-code
c0cd987b265018692b17367da320bdf1d0134595223a530bd19b609ece672484
/* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */ /* vim: set sw=4 ts=8 et tw=80 ft=cpp : */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2...
C
third_party/gecko-16/win32/include/mozilla/dom/StorageChild.h
bwp/SeleniumWebDriver
apache-2.0
2,562
74
codeparrot/github-code
4241c2fc262b8a8176a62c70e086a025414e3f2b49667fb6f2a586b670812626
/** * Copyright (c) 2011-2015, Unas 小强哥 (unas@qq.com). * <p/> * Licensed under the Apache License, Version 2.0 (the "License"); */ package com.weixin.sdk.msg.in.event; /** 接入会话: <xml> <ToUserName><![CDATA[touser]]></ToUserName> <FromUserName><![CDATA[fromuser]]></FromUserName> <CreateTime>1399197672</CreateT...
Java
weixin-sdk/src/main/java/com/weixin/sdk/msg/in/event/InCustomEvent.java
pjworkspace/wscs
apache-2.0
2,113
85
codeparrot/github-code
63f9b000e792e0d63f5e3f1b56bd85f759a6dd9fcc3339890101053e1032805c
# coding=utf-8 import os.path import sys import types import getopt from getopt import GetoptError import text_file import regex_utils import string_utils as str_utils def grep(target, pattern, number = False, model = 'e'): ''' grep: print lines matching a pattern @param target:string list or tex...
Python
text/grep.py
interhui/py-text
apache-2.0
4,277
146
codeparrot/github-code
2f2706bc44ac94b197fa4d3394d222d9c11132334e791b7af9ff9591269b3303
/* * 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/test/java/org/apache/commons/imaging/formats/gif/GifReadTest.java
apache/commons-imaging
apache-2.0
9,196
200
codeparrot/github-code
4f423128858ae02606904851e4dc9b1f9ec92d34d5310c0b5bc1c08fe12aeb11
/* * 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 ...
Scala
flink-runtime/src/test/scala/org/apache/flink/runtime/testingUtils/TestingJobManager.scala
PangZhi/flink
apache-2.0
2,786
76
codeparrot/github-code
280e2d46c02958da2d7dd9776f50fac16400356c9b44d05ac9b5ca7c1dc8c799
/******************************************************************************* * Copyright 2013 * Ubiquitous Knowledge Processing (UKP) Lab * Technische Universität Darmstadt * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
Java
dkpro-similarity-master/dkpro-similarity-experiments-wordpairs-asl/src/main/java/dkpro/similarity/experiments/wordpairs/io/SemanticRelatednessResultWriter.java
TitasNandi/Summer_Project
apache-2.0
13,281
341
codeparrot/github-code
c4b65576dc7cf446071937d595911154b7d38d5479bdf69a3f31ee32ed4b1076
/* * $Id: jp2k_encoder.c 2835 2014-04-03 15:30:57Z antonin $ * * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium * Copyright (c) 2002-2014, Professor Benoit Macq * Copyright (c) 2010-2011, Kaori Hagihara * Copyright (c) 2011, Lucian Corlaciu, GSoC * All rights reserved. * * Redist...
C
openjpeg/src/lib/openjpip/jp2k_encoder.c
hxfxjun/ImageMagick-6.9.1
apache-2.0
24,898
805
codeparrot/github-code
bc1554a330f2ffb2307087d5869b92434865c0f573f3a82e445954cea12888c9
package org.wso2.carbon.identity.configuration.mgt.endpoint.dto; import io.swagger.annotations.*; import com.fasterxml.jackson.annotation.*; import javax.validation.constraints.NotNull; @ApiModel(description = "") public class ResourceFileDTO { @NotNull private String name = null; private Str...
Java
components/configuration-mgt/org.wso2.carbon.identity.api.server.configuration.mgt/src/gen/java/org/wso2/carbon/identity/configuration/mgt/endpoint/dto/ResourceFileDTO.java
omindu/carbon-identity-framework
apache-2.0
1,162
62
codeparrot/github-code
3904c0b8ff48762fb2b5e0ea7c06be9b4af484373755a9e2011f3363b5964564
<?php /* * This file is part of the Force Login module for Magento2. * * (c) bitExpert AG * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace BitExpert\ForceCustomerLogin\Validator; use BitExpert\ForceCustomerLogin\Model\W...
PHP
Validator/WhitelistEntry.php
bitExpert/magento2-force-login
apache-2.0
1,813
62
codeparrot/github-code
f016d4f3789be7b7d0d4e8e6d01fcf836850998b2bb1cdbd6b59cc051dde9ec2
// Copyright 2014 The Oppia 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 ap...
JavaScript
core/templates/dev/head/player/ConversationSkinDirective.js
raju249/oppia
apache-2.0
27,713
777
codeparrot/github-code
dbf243b1f740b2c93266156594d2fd2bbb181c6093c9ff14eee6fd7ae1f18f14
# 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 in writing, s...
Python
logging/google/cloud/logging/entries.py
jonparrott/google-cloud-python
apache-2.0
11,279
350
codeparrot/github-code
09b3bf67d416d28abca716b52d95fbd00cf57f01dc5452a76b158eec7e06a1df
/* * //****************************************************************** * // * // Copyright 2016 Samsung Electronics All Rights Reserved. * // * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= * // * // Licensed under the Apache License, Version 2.0 (the "License"); * // you may not use thi...
Java
external/iotivity/iotivity_1.3-rel/cloud/stack/src/main/java/org/iotivity/cloud/base/protocols/coap/CoapDecoder.java
JunhwanPark/TizenRT
apache-2.0
9,113
227
codeparrot/github-code
6bfa69575b65288137219a129676ffe3caa7d72968c505507ab75ec05eff80c5
/* * Copyright (c) 2009-2012 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
trunk/jme3-core/src/plugins/java/com/jme3/shader/plugins/GLSLLoader.java
PlanetWaves/clockworkengine
apache-2.0
8,037
204
codeparrot/github-code
0a8752b50f75f5eaae28e674b6c2d78738a953ea62a2dfa882999ac5e1b384e5
# Copyright 2014 NeuroData (http://neurodata.io) # # 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...
Python
scripts/ingest/mitra/jp2kakadu.py
neurodata/ndstore
apache-2.0
1,931
57
codeparrot/github-code
f05f5b245e818c839ecf53edfce9f7a3aa30683bba873b74731c55b71bff700c
package org.mybatis.generator.internal.util; import java.lang.reflect.Array; /** * This class is from javapractices.com: * * http://www.javapractices.com/Topic28.cjp * * Collected methods which allow easy implementation of <code>hashCode</code>. * * Example use case: * * <pre> * public int...
Java
src/main/java/org/mybatis/generator/internal/util/HashCodeUtil.java
fnyexx/mybator
apache-2.0
2,726
115
codeparrot/github-code
6249cb3741c27220257890218798e83c17765171f254061a91a14cab2805f21c
/* * Copyright 2015 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under t...
Java
jbpm-designer-backend/src/main/java/org/jbpm/designer/repository/RepositoryManager.java
xingguang2013/jbpm-designer
apache-2.0
1,682
59
codeparrot/github-code
f4ab6c31358b7110c5254cabdbe9bc0ae5839ece0b80647dd69e55adde44e598
/* Copyright (c) 2014-2015 F-Secure See LICENSE for details */ package cc.softwarefactory.lokki.android; import android.app.Application; import android.graphics.Bitmap; import android.os.StrictMode; import android.preference.PreferenceManager; import android.support.v4.util.LruCache; import android.util.Log; import c...
Java
App/src/main/java/cc/softwarefactory/lokki/android/MainApplication.java
Grandi/lokki-android
apache-2.0
6,855
209
codeparrot/github-code
56a10be8adade08bad0942018606263ca9e0acc28cb3c7cdb0a8e22a13d8c392
/* * 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-redshift/src/main/java/com/amazonaws/services/redshift/model/transform/ClusterQuotaExceededExceptionUnmarshaller.java
nterry/aws-sdk-java
apache-2.0
1,589
48
codeparrot/github-code
f4da2d2ba15c448c033c100059c7ec079ca82f8aed7e9a27f544cc008567ea67
/* * Copyright 2016 Development Entropy (deventropy.org) 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 r...
Java
junit-helper-derby/src/test/java/org/deventropy/junithelper/derby/SimpleDerbyTest.java
bindul/junit-helper
apache-2.0
2,114
78
codeparrot/github-code
cdb4e6c101107eb6cfccfdb7ea104afcc6e751dadb1d34888317c4aa65d19af9
/* $NetBSD: hack.topl.c,v 1.14 2011/08/06 20:29:37 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, * Amsterdam * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
C
games/hack/hack.topl.c
execunix/vinos
apache-2.0
7,633
313
codeparrot/github-code
9aa93f8d56c53393db4c5e772c87b0edff46ac3ef78df67d882cc99a99a80e13
<?php /** * @author Bilal Cinarli * @link http://bcinarli.com **/ class router { private static $_routes; private static $_routeMatch = false; private static $_page; private static $_matches; private static $_role = '404'; public static $is_404 = true; public function __construct() { require_once(ABS_PAT...
PHP
misto/router.php
bcinarli/bcinarli.com
apache-2.0
2,578
134
codeparrot/github-code
94b98f004bca860cb31a759f9a0ad891d7af3851360f44658fee3fe8c7678585
/* * Copyright 2016 e-UCM (http://www.e-ucm.es/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * This project has received funding from the European Union’s Horizon * 2020 research and innovation programme under grant agreeme...
JavaScript
app/public/js/controllers/app.js
gorco/gf
apache-2.0
11,158
310
codeparrot/github-code
b1d1cd059cc1695cb2ef12f5b69d1c562faaf8b89101cd4b31b583252bc39246
//----------------------------------------------------------------------- // <copyright file="Eventsourced.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> //--...
C#
src/core/Akka.Persistence/Eventsourced.cs
skotzko/akka.net
apache-2.0
15,215
356
codeparrot/github-code
636506743c25e6e864d2e872d3a965316f5b4fff18826d76b4c142c15114077e
/** * 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
core/src/main/java/org/apache/oozie/service/ELService.java
cbaenziger/oozie
apache-2.0
10,251
251
codeparrot/github-code
1e77703d7f2141c6516d6cb7965006346443cd6971ff4e312f790980c7c06381
/* * 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
core/camel-core/src/test/java/org/apache/camel/issues/NotifyBuilderExactlyDoneSplitterWhereSentToIssueTest.java
Fabryprog/camel
apache-2.0
1,932
53
codeparrot/github-code
db66a70063046346e9ba28c35a47eedd933392deff8f5ed5275b528f4890d97d
/* Copyright (c) 2002 JSON.org 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, modify, merge, publish, distribute, sublic...
JavaScript
core/src/main/web/hicc/js/json.js
apache/chukwa
apache-2.0
4,907
134
codeparrot/github-code
50b3900fe4a0165ea6fe490290e854238a773ea29863a50dca1c0c2c8d356e3d
/******************************************************************************* * 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 f...
Java
odata2-lib/odata-client-core/src/main/java/org/apache/olingo/odata2/client/core/ep/deserializer/JsonFeedDeserializer.java
apache/olingo-odata2
apache-2.0
8,653
256
codeparrot/github-code
8d6885dee6ea279464eaea3ebb5639202511139c34f5a9a905f51b8df1b80362
package water.api; import water.*; import water.H2O.H2OCountedCompleter; import water.persist.PersistS3Task; import water.persist.PersistS3; import water.util.Log; import com.google.gson.JsonObject; public class ExportS3 extends Request { protected class BucketArg extends TypeaheadInputText<String> { public B...
Java
src/main/java/water/api/ExportS3.java
janezhango/BigDataMachineLearning
apache-2.0
1,889
70
codeparrot/github-code
5eaa525ddd3bdc1b4b75ea4f4a16f93a3e7927f04bc1ccbeb8ff84a2d1f96cc9
/* * 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
jena-tdb/src/test/java/org/apache/jena/tdb/base/file/TestBlockAccessMapped.java
apache/jena
apache-2.0
1,566
48
codeparrot/github-code
e5ce2e392bff803acc496cd8ed6ff4c34af2902d540e347ba8bd010d486a4574
/* * JBoss, Home of Professional Open Source * Copyright 2009, 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
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/FutureValidatorForDateTest.java
jmartisk/hibernate-validator
apache-2.0
1,901
61
codeparrot/github-code
f8e3ce774a54b68b5853468a7c76531f77c2d2b45496d56d3a1cef846e48f7c5
# 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 under t...
Python
keystone/contrib/federation/routers.py
rushiagr/keystone
apache-2.0
9,192
227
codeparrot/github-code
805554a14b2d86bad330ded69b4fd31af48606429a8534863e1367d94d8bb428
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>tmsessionpolicy module &mdash; Nitro documentation...
HTML
doc/html/nssrc.com.citrix.netscaler.nitro.resource.config.tm.tmsessionpolicy.html
benfinke/ns_python
apache-2.0
26,236
295
codeparrot/github-code
b651b1df2158d54ed6fa3190275accaaac7ceba0f3c2a4e7476626c3df04dd10
/* * %CopyrightBegin% * * Copyright Ericsson AB 1999-2017. 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 * ...
C
erts/emulator/beam/beam_bif_load.c
falkevik/otp
apache-2.0
46,364
1,827
codeparrot/github-code
89490c4f6bf89e55ce2d7a0ae312b00b96052ca463c6bf4543c7eac76b11e467
/* * 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
solr/core/src/test/org/apache/solr/cloud/DistribJoinFromCollectionTest.java
apache/solr
apache-2.0
9,690
253
codeparrot/github-code
eab9a45363b40ab14a86d2a5958042180089d6db3f1b121b7c265ae3dfe19928
<include file="Public:head"/> <script src="{Saivi::RES}/js/date/WdatePicker.js"></script> <script type="text/javascript" src="{Saivi::RES}/js/formCheck/formcheck.js"> </script> <div class="content"> <div class="cLineB"> <h4>添加教育机构</h4> <a href="javascript:history.go(-1);" class="right btnGrayS vm" ...
HTML
tpl/User/default/Jiaoyu_add.html
royalwang/saivi
apache-2.0
11,335
304
codeparrot/github-code
5954afa87310a27f0a2e3bc025991dd038f4055ee7661d1145d462e98144b441
# Copyright 2012-2013 OpenStack 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 applicable la...
Python
openstackclient/shell.py
varunarya10/python-openstackclient
apache-2.0
12,311
352
codeparrot/github-code
64f69a65b5498417fe4d6a3c7060960f0838e45da586b9e843c52f0614b69e90
/* * Copyright 2011 Nate Koenig & Andrew Howard * * 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 l...
C++
interfaces/player/Graphics3dInterface.hh
nherment/gazebo
apache-2.0
2,058
71
codeparrot/github-code
c4fa49226bff8bf174483a36c8ee1a250a99a12239b6bee8572d8abec12e8d9c
package net.morimekta.providence.testing; import net.morimekta.test.providence.testing.calculator.Operand; import net.morimekta.test.providence.testing.calculator.Operation; import net.morimekta.test.providence.testing.calculator.Operator; import net.morimekta.test.providence.testing.number.Imaginary; import org.hamc...
Java
providence-testing/src/test/java/net/morimekta/providence/testing/EqualToMessageTest.java
morimekta/thrift-j2
apache-2.0
5,573
102
codeparrot/github-code
cf1b348c885af1ed23e7777f0025492ce23469f586390ea98cd585246913132e
<?php /* * Copyright 2013 Johannes M. Schmitt <johannes@scrutinizer-ci.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 * *...
PHP
src/Scrutinizer/PhpAnalyzer/DataFlow/TypeInference/TypeInference.php
Ocramius/php-analyzer
apache-2.0
62,063
1,451
codeparrot/github-code
2d5c91b9fb617302e9034cb04e851163676f44b118345fed38e3290ac6082dcb
//***************************************************************************** // @@@ START COPYRIGHT @@@ // // 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 owne...
C++
core/sql/sqlcomp/PrivMgrComponentOperations.cpp
apache/incubator-trafodion
apache-2.0
78,581
1,731
codeparrot/github-code
08c1985e0f65431761e3524502d75147fa4bcf6aac03a50a7080e14dc3bc4b0c
package org.hl7.fhir.dstu3.model.codesystems; /* Copyright (c) 2011+, HL7, 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...
Java
hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/codesystems/PaymentStatus.java
Gaduo/hapi-fhir
apache-2.0
3,286
88
codeparrot/github-code
6460c8f3d39a414086fa4168c6eeefab3a5538121417c73a5cff76fbf233a516
package com.jfixby.r3.physics; import com.jfixby.r3.api.physics.Body; import com.jfixby.r3.api.physics.BodyDynamicsListener; import com.jfixby.r3.api.physics.BodyMass; import com.jfixby.r3.api.physics.BodyPosition; import com.jfixby.r3.api.physics.ForcesApplicator; import com.jfixby.r3.physics.body.BodyImpl; public ...
Java
red-triplane-physics-red/src/com/jfixby/r3/physics/BodyDynamicsImpl.java
JFixby/RedTriplane
apache-2.0
1,305
56
codeparrot/github-code
b90c9772263079ad7e971ba4388a0bf044783ce65d14f9cd2be25c5fc15e739f
/** * 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
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/utils/AuthTokenUtils.java
massakam/pulsar
apache-2.0
4,890
128
codeparrot/github-code
f9dc083ddad3c5da480a1de307ed4e4bd77c7e9a98e6a2028aecd24b64941515
/* * This file is part of FFmpeg. * * FFmpeg 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 * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed...
C
ffmpeg/src/main/jni/ffmpeg/libavcodec/mpeg2_metadata_bsf.c
yangchaojiang/yjPlay
apache-2.0
10,071
315
codeparrot/github-code
5b2ab2b2fb09091c3442c07feaeff506dc89e5f1c40e5bbc500cadf7b94dd535
/* * (c) Copyright 2019 EntIT Software LLC, a Micro Focus company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICE...
Java
cs-amazon/src/main/java/io/cloudslang/content/amazon/factory/LoadBalancingQueryParamsMapBuilder.java
CloudSlang/cs-actions
apache-2.0
2,183
52
codeparrot/github-code
b94bd334f4cc8d72f88ccbd56dab96f683ef97dd0031ff8bea5af69873565694
/*************************************** *dipole.java *Andrew Knox 6/27/01 * *This class was written as a way to hold information about dipoles *for estaticterm.java. I'm not sure how usefull it would be as an *actual model of a dipole. */ package nanocad; public class dipole { private atom firstAtom, se...
Java
src/main/java/nanocad/dipole.java
SciGaP/SEAGrid-Desktop-GUI
apache-2.0
2,104
111
codeparrot/github-code
c1053f873f5718ce480057d2fff7a2b9a5e849d82d066a1c12cb74d5752e3560
/* * (c) Copyright Christian P. Fries, Germany. Contact: email@christian-fries.de. * * Created on 14.06.2015 */ package net.finmath.montecarlo.interestrate.products.indices; import java.time.LocalDate; import java.util.Set; import net.finmath.exception.CalculationException; import net.finmath.montecarlo.interest...
Java
src/main/java8/net/finmath/montecarlo/interestrate/products/indices/DateIndex.java
finmath/finmath-lib
apache-2.0
2,386
91
codeparrot/github-code
b2ed4a95d1000a1ea58da2e616fa5ba9790f197fc9359f4d7f745e3787b57ae3
/* FileSaver.js * A saveAs() & saveTextAs() FileSaver implementation. * 2014-06-24 * * Modify by Brian Chen * Author: Eli Grey, http://eligrey.com * License: X11/MIT * See https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md */ /*global self */ /*jslint bitwise: true, indent: 4, laxbreak: tr...
JavaScript
Main/SoftServe.ITA.PrompterPro/PrompterPro.WebApplication/Scripts/FileSaver.js
PTRPlay/PrompterPro
apache-2.0
12,239
296
codeparrot/github-code
b156cfa7dea97eaf61272f23afd74e5312e72aa5a392c1268632d442332500a2
# # Cookbook:: lvm # Library:: provider_lvm_thin_pool # # Copyright:: 2016-2017, Ontario Systems, 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/L...
Ruby
libraries/provider_lvm_thin_pool.rb
ChiefAlexander/lvm
apache-2.0
1,755
67
codeparrot/github-code
ab5c779c412845f39289c113312c5b8849068dad87a409b6370836bad68dd8f0
/* * 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
flink-core/src/main/java/org/apache/flink/configuration/SecurityOptions.java
zhangminglei/flink
apache-2.0
11,876
294
codeparrot/github-code
9754251ba148fc8c2e0a9ee76184fb5d4298d86a1966c28a6cba9118dc5f8e10
import "./main"; import "core/utils"; import "bootstrap/js/dist/tab"; import dayjs from "dayjs"; import advancedFormat from "dayjs/plugin/advancedFormat"; import utc from "dayjs/plugin/utc"; import timezone from "dayjs/plugin/timezone"; import timezones from "../timezones"; import CTFd from "core/CTFd"; import { defaul...
JavaScript
CTFd/themes/admin/assets/js/pages/configs.js
isislab/CTFd
apache-2.0
14,384
557
codeparrot/github-code
0927efa07e7c0c889d19505e66bb0efa33694db57ed10e7489467e1ec818ead8
@(gsList : Set[satisfaction.GoalStatus] ) @import helper._ @import scala.collection.JavaConversions._ @import satisfaction._ @import satisfaction.engine._ @import satisfaction.engine.actors._ @import models.HtmlUtil @main( s"Satisfaction Current Status " ) { <h2>Overview of all running jobs</h2> <t...
HTML
apps/willrogers/app/views/currentstatus.scala.html
jeromebanks/satisfaction
apache-2.0
3,352
96
codeparrot/github-code
5b2cafd7494537c4e364fb745cfa36959107ad20360ecaddbdf960fd6f915127
package org.apache.cassandra.index; import java.util.*; import java.util.concurrent.Callable; import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.Collectors; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import org.junit.Test; import org.apache.c...
Java
test/unit/org/apache/cassandra/index/CustomIndexTest.java
knifewine/cassandra
apache-2.0
33,520
676
codeparrot/github-code
4ef5f3b5cb9e7c948b740220b8499e8502e2c8881ae76ea42316b541ec83cbed
/* * Copyright 2014 NAVER Corp. * * 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
profiler/src/main/java/com/navercorp/pinpoint/profiler/instrument/JavassistMethod.java
majinkai/pinpoint
apache-2.0
23,027
504
codeparrot/github-code
152a7fb6a0c342e1d9d8c57f13189ca717bb065088262d405f37e1eed770363d
/* * 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
components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java
objectiser/camel
apache-2.0
52,209
1,015
codeparrot/github-code
81c418a0aaa90063206b438a9b9c9ecb481397ca00acfe63c467e8ead2b8a8f3
/* * 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/test/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSBytesTest.java
apache/commons-imaging
apache-2.0
1,586
39
codeparrot/github-code
21eaebad6d56d81a7b9cf403f0f10302d59544b26acfc9f8b3423e4567d2ecdc
# Copyright 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 ag...
Python
nova/objects/migration_context.py
mikalstill/nova
apache-2.0
3,456
83
codeparrot/github-code
a6c18ef1679d788dd8ac8551886d0184eb3ac03412706815ed4aa6fd1025a045
/* * 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
modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/nhttp/debug/ClientConnectionDebug.java
asanka88/apache-synapse
apache-2.0
6,147
155
codeparrot/github-code
cef03ffdc238a0731e88de74c3d7f7e36acc5fd7ba2f60f916efea6a13de7e42
/* * Copyright 2012-2015 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/autoconfigure/HealthIndicatorAutoConfigurationTests.java
christian-posta/spring-boot
apache-2.0
17,546
452
codeparrot/github-code
f4f4dd5f50e3fb21a3160d7df5025cb6f7c3f46ec0bbda30735394da8e1e83af
package com.lu.kuaichuan.wifidirect.adapter; import android.content.Context; import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.CheckBox; import ...
Java
kuaichuan2.0/app/src/main/java/com/lu/kuaichuan/wifidirect/adapter/MyGridViewAdapter.java
lucky-code/Practice
apache-2.0
3,711
104
codeparrot/github-code
5722b6bd9def74ad334ce210f307e3d94fa76f05e1d6d32a0a44e719f440d3fd
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/storagegateway/model/UpdateNFSFileShareRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::StorageGateway::Model; using namespace Aws::Ut...
C++
aws-cpp-sdk-storagegateway/source/model/UpdateNFSFileShareRequest.cpp
awslabs/aws-sdk-cpp
apache-2.0
3,215
144
codeparrot/github-code
7fe348e665bbb62f058336f4420f7095cdb447851a0d759e8b1ad31369da197e
/* * JBoss, Home of Professional Open Source * Copyright 2006, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. * See the copyright.txt in the distribution for a * full listing of individual contributors. * This copyrighted material is made available to anyone wishing to use...
Java
graalvm/transactions/fork/narayana/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/AtomicAction.java
nmcl/scratch
apache-2.0
9,975
397
codeparrot/github-code
d9a0d1e4d29abd0d96114e6b3007a2d30be794ca9b7bc6b9e69467db182b94a3
// HTMLParser Library - A java-based parser for HTML // http://htmlparser.org // Copyright (C) 2006 Derrick Oswald // // Revision Control Information // // $URL: https://svn.sourceforge.net/svnroot/htmlparser/trunk/lexer/src/main/java/org/htmlparser/nodes/TextNode.java $ // $Author: derrickoswald $ // $Date: 2006-09-16...
Java
master/swt workspace/HTMLParser/src/org/htmlparser/nodes/TextNode.java
patrickfav/tuwien
apache-2.0
6,785
234
codeparrot/github-code
ba4195c63e3da2c3b16215023ebeef481c817b9abcc048a24d6525bf70deed90
//----------------------------------------------------------------------- // <copyright file="One2OneBidiFlow.cs" company="Akka.NET Project"> // Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> ...
C#
src/core/Akka.Streams/Dsl/One2OneBidiFlow.cs
simonlaroche/akka.net
apache-2.0
5,776
185
codeparrot/github-code
beee7267e15c937e3a4738448f4233d1f2fbb2b016dbc67bb86aae0e62ee08f5
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.parts; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import org.eclipse.draw2d.IFigure; import org.eclipse.draw2d.Shape; import org.eclipse.draw2d.StackLayout; import org.eclipse.draw2d.geometry.Dimension; import org.eclip...
Java
plugins/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/edit/parts/EnqueueMediatorInputConnectorEditPart.java
prabushi/devstudio-tooling-esb
apache-2.0
11,166
293
codeparrot/github-code
e7db8516ea601ecf582aa0d1c1b7d7e15527b0db6ffd79f89936549017a4e85d
/* * 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
src/main/java/org/elasticsearch/rest/action/admin/cluster/repositories/get/RestGetRepositoriesAction.java
Flipkart/elasticsearch
apache-2.0
3,286
70
codeparrot/github-code
f264b72b35536347786dbd86512c3cdcc04fe9336d0212f97833d958bb3d76d2
#!/bin/bash log() { logTime=`gdate +"%s.%N"` echo "${logTime},CLIENTLOG,$1" } verifyProxyProcesses() { processId=$1 processGrepId=$2 desiredCount=$3 log "Monitoring $processId count" while true; do processCount=`ps -ef | grep "${processGrepId}" | grep -v grep | wc -l` if [ $processCount -eq $desiredCoun...
Shell
scripts/run-tcp-sender-local.sh
davidwadden/cf-tcp-router-acceptance-tests
apache-2.0
1,416
51
codeparrot/github-code
5f7a6923ad8431f63a094413143cfb6c23351957e7f54acf5df79f210ae9d994
package com.github.davidmoten.rtree; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.List; import java.util.zip.GZIPInputStream; import rx.Observable; import rx.functions.Action1; import rx.functions.Func0; import rx.functions.Func1; import rx.observables.Str...
Java
src/test/java/com/github/davidmoten/rtree/GreekEarthquakes.java
lhyqie/rtree
apache-2.0
2,411
67
codeparrot/github-code
c6302318dcbdc826f50b1532d5c966d58fa220b0c5b420aec0057e2271507b90
/** * 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/events/PubsubEventModuleTest.java
rosmo/aurora
apache-2.0
4,254
120
codeparrot/github-code
5f182b657ec5be6f652a722130738d0515e5cb8f27f07d02ae9125f6d5023d94
/** * 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/com/intel/mallet/TpcdsTool.java
wyg1990/Mallet
apache-2.0
3,375
89
codeparrot/github-code
56f77de7ef9c97177e527ba4e6181e121d6fb220d672cc17344b7146a2b76c29
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_pr...
JavaScript
src/YoYoCms.AbpProjectTemplate.Web/Scripts/i18n/angular-locale_uk-ua.js
yoyocms/YoYoCms.AbpProjectTemplate
apache-2.0
4,567
144
codeparrot/github-code
132190b4277baa14affc56a434799fb903fc3f978028ea3a246d8bb64407b347
// // Copyright (c) Microsoft and contributors. 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 requi...
JavaScript
test/common/util/iso8061date-tests.js
XiaoningLiu/azure-storage-node
apache-2.0
3,463
101
codeparrot/github-code
84379ff886e63d6550cfa07b717ed41d1186484a1b24dbc79f61d9f173be3bab
package org.jgroups.blocks; import org.jgroups.*; import org.jgroups.annotations.ManagedAttribute; import org.jgroups.annotations.ManagedOperation; import org.jgroups.logging.Log; import org.jgroups.logging.LogFactory; import org.jgroups.util.*; import java.io.*; import java.lang.reflect.Method; import java.util.*; i...
Java
src/org/jgroups/blocks/ReplCache.java
rhusar/JGroups
apache-2.0
27,762
828
codeparrot/github-code
7d1becb68c611b865598cf932f43c3c845be99b95c7c19618d347195b9bc2a64
/* Copyright (c) 2014, Hookflash Inc. / Hookflash Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condi...
C
ortc/IORTC.h
openpeer/ortc-lib
bsd-2-clause
2,867
74
codeparrot/github-code
d4e460ef37e7bf78773a9147cfe562488379dfd9e681d6897d37f30eb54904a3
package org.openas2.processor.sender; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.util.Enumeration; import java.util.HashMap; import java.util.Map; import javax.mail.Header; import org.apache.commons.logging.Log; imp...
Java
src/main/java/org/openas2/processor/sender/AsynchMDNSenderModule.java
fertroya/openas2
bsd-2-clause
6,171
167
codeparrot/github-code
b0d344b5e21a6fa36e964a2f1958bfb0125de2fe66d6f3cbee4f5eab164eb3d7
/* * Copyright (c) 2014, ThoughtWorks * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of con...
Java
app/src/test/java/org/clintonhealthaccess/lmis/app/services/CategoryServiceTest.java
jason-p-pickering/chailmis-android
bsd-2-clause
3,648
85
codeparrot/github-code
d24fe02a3e6ce3d74c179e5f39c425291aa4fce59d2e5e5ded7821930544fa65
/*! * \copy * Copyright (c) 2009-2013, Cisco Systems * 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...
C++
codec/encoder/core/src/get_intra_predictor.cpp
sijchen/openh264
bsd-2-clause
31,571
725
codeparrot/github-code
bd7bb489075fb747a1627f8ff445a75f7f77a78f326b187fff0aa8468233b021
#include <algorithm> #include <UnitTest++.h> #include "model/x-model.h" const Window the_icon = 1, the_placeholder = 2, the_client = 3; struct XModelFixture { XModel model; }; #define NULL_OF(type) static_cast<type*>(0) SUITE(XModelMemberSuite) { TEST_FIXTURE(XModelFixture, test_icon_getters_wi...
C++
test/x-model.cpp
8l/swm
bsd-2-clause
8,233
215
codeparrot/github-code
3678e1e43383ae425e9b33613185d0e6dc214c23031be7577563d31c67d17456
# WARPnet Client<->Server Architecture # WARPnet Parameter Definitions # # Author: Siddharth Gupta import struct, time from warpnet_common_params import * from warpnet_client_definitions import * from twisted.internet import reactor import binascii # Struct IDs STRUCTID_CONTROL = 0x13 STRUCTID_CONTROL_ACK = 0x14 STR...
Python
ResearchApps/Measurement/examples/TxPower_vs_BER/warpnet_experiment_structs.py
shailcoolboy/Warp-Trinity
bsd-2-clause
5,510
196
codeparrot/github-code
08f11c34d27017d5002edb6f4fc90831de892d4432e4f091e5fb9709d1996df0
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * ...
C
ExternData/Resources/C-Sources/hdf5/src/H5Stest.c
modelica-3rdparty/ExternData
bsd-2-clause
4,131
106
codeparrot/github-code
8dd3697f913e58244549faefbeadad0d851bc695b59439824a95c7b823060171
/* $NetBSD: obio.c,v 1.11 2003/07/15 00:25:05 lukem Exp $ */ /*- * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc. * All rights reserved. * * Written by Jason R. Thorpe for Wasabi Systems, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
C
head/sys/mips/sentry5/obio.c
dplbsd/soc2013
bsd-2-clause
5,315
184
codeparrot/github-code
90a42da47e1bf105215ca744fb28690fee465d88813eaed40db5c95fc2b14eef
package filter import ( "errors" "path/filepath" "strings" ) // ErrBadString is returned when Match is called with the empty string as the // second argument. var ErrBadString = errors.New("filter.Match: string is empty") // Match returns true if str matches the pattern. When the pattern is // malformed, filepath...
GO
filter/filter.go
intfrr/restic
bsd-2-clause
2,289
109
codeparrot/github-code
019667e7a9f186f39fafec299015d2e652136da97994cc598f316d458cd3eb8a
/// /// @file resizeUninitialized.cpp /// @brief Test resizeUninitialized() which resizes a std::vector /// without default initialization. /// /// Copyright (C) 2022 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directo...
C++
test/resizeUninitialized.cpp
kimwalisch/primesieve
bsd-2-clause
3,062
115
codeparrot/github-code
67e93471b12ad94a280a22d8a49c679faf022e43f7ef4f9a5d62e5fc15a32982
<!DOCTYPE html> <html lang="en"> <head> <title>NTPackageStatus Class Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></script> ...
HTML
docs/docsets/CartoMobileSDK.docset/Contents/Resources/Documents/Classes/NTPackageStatus.html
CartoDB/mobile-ios-samples
bsd-2-clause
55,421
1,133
codeparrot/github-code
79a70303a76c3fdedd583f13bbdefafd3e07ac776207dad99da5cc1656f59b41
// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CC_TILES_TILE_H_ #define CC_TILES_TILE_H_ #include <stddef.h> #include <stdint.h> #include "base/macros.h" #include "base/memory/ref_counted.h" ...
C
third_party/webrtc/include/chromium/src/cc/tiles/tile.h
ssaroha/node-webrtc
bsd-2-clause
4,503
165
codeparrot/github-code