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
79a56c2d66758f0a9d36664ac12235061140625389d665ac9836ec0b6d432758
/* * 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/huahinframework/tools/formatting/Formatting.java
huahin/huahin-tools
apache-2.0
2,308
68
codeparrot/github-code
8373129113f99a15f74218e58f7db66d50bf12e9507a5ac94e672f27fef59ad0
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>StatisticsSummary (ARX GUI Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <script type="te...
HTML
doc/gui/org/deidentifier/arx/aggregates/StatisticsSummary.html
kbabioch/arx
apache-2.0
36,672
940
codeparrot/github-code
fffcaa908d1388f6612f33d14397cf99c0f23b313cca524887cae44139a2a9c5
/** * Copyright (C) 2008 10gen 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 applicab...
Java
src/main/ed/appserver/adapter/cgi/EnvMap.java
babble/babble
apache-2.0
1,268
50
codeparrot/github-code
45ffcfc80de92313a488a414889bfb0919495a730556c5dbd68385cde364d7a2
// Copyright (c) Source Tree Solutions, LLC. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Author: Joe Audette // Created: 2016-08-12 // Last Modified: 2019-07-31 // using cloudscribe.SimpleContent.Web; using cloudscr...
C#
src/cloudscribe.SimpleContent.Web/Services/Page/PagesNavigationNodePermissionResolver.cs
joeaudette/cloudscribe.SimpleContent
apache-2.0
2,135
59
codeparrot/github-code
188ab43c5721f69bcac191611187559f6d3c0ea89c60331a9f99a6a7f4daba7d
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace com.huawei.esdk.tp.professional.DataType { /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.1")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThrou...
C#
source/esdk_tp_native_professional_c#/TPClient/DataType/VideoSourcesInfoEx.cs
eSDK/esdk_tp_native_csharp
apache-2.0
1,755
68
codeparrot/github-code
7c1aa2d09fe96fc5ce4d45700209b8bea24e9bbfcde7505b19c87364d3115c61
package com.landoop.streamreactor.hive.it import java.util.concurrent.TimeUnit import com.landoop.streamreactor.connect.hive.{DatabaseName, TableName} import org.apache.kafka.connect.data.Schema import org.scalatest.concurrent.Eventually import org.scalatest.time.{Millis, Span} import org.scalatest.{Matchers, WordSpe...
Scala
kafka-connect-hive/it/src/test/scala/com/landoop/streamreactor/hive/it/HiveSchemaTest.scala
CodeSmell/stream-reactor
apache-2.0
2,144
58
codeparrot/github-code
aa3ffcde9399f98701c1a2c26323b2c29c4aa059fb3ddc3a7a94c26e418486e7
/* Copyright (C) 2017 haniu (niuhao.cn@gmail.com) * * 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...
C
platform/source/misc/tt_der_encode.c
newser/TitanSDK
apache-2.0
8,444
276
codeparrot/github-code
11c25be7d66889b10ee8454d1c6fad4a2907e9dd1528d20b5d216450b22e9995
'use strict'; viewModel.FilterPowerCurve = new Object(); var fa = viewModel.FilterPowerCurve; fa.turbineList = ko.observableArray([]); fa.projectList = ko.observableArray([]); fa.engineList = ko.observable([]); fa.showEngine = ko.observable(false); fa.periodList = ko.observableArray([ { "value": "last24hours", ...
JavaScript
web/assets/core/js/page-filter-powercurve.js
eaciit/windapp
apache-2.0
23,947
676
codeparrot/github-code
aebb9f2c775ade393628973856ce718c6d56f85e0ecf579a10a0c91c5d8b0a11
package com.sync.sz.sample.utils; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Enumeration; import java.util.UUID; import javax.servlet.http.HttpServletRequest; import org.apache.commons.beanutils.BeanUtils; import org.apache.commons.beanutils.ConvertUtils...
Java
sample-servlet/src/main/java/com/sync/sz/sample/utils/WebUtils.java
MariShunxiang/JavaWebSample
apache-2.0
1,687
64
codeparrot/github-code
660cd61e6b5934f9d87643768401b3d0dd945091583b0df0e8232c8fbd1bc325
/* * Copyright 2018 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 applica...
Java
v7/recyclerview/src/main/java/androidx/recyclerview/widget/DiffUtil.java
aosp-mirror/platform_frameworks_support
apache-2.0
41,371
919
codeparrot/github-code
a1f05e61184005b99e317adedc00a0a8c39f8c9326d5c199130a190514c3694e
define(['marionette', 'modules/shipment/models/containerregistry', 'modules/shipment/models/containerproposal', 'collections/proposals', 'views/form', 'views/filter', 'views/table', 'utils/table', 'tpl!templates/shipment/containerregistryadd.html', 'tpl!templates/shipment/containerreg...
JavaScript
client/js/modules/shipment/views/containerregistry.js
tcspain/SynchWeb
apache-2.0
6,838
175
codeparrot/github-code
ac01373d32d0de53b4e0e43d2091f6e68a184c92959bf60d008b668ba4d429c0
#!/usr/bin/env python ''' 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")...
Python
ambari-server/src/main/resources/scripts/configs.py
arenadata/ambari
apache-2.0
13,921
368
codeparrot/github-code
dc8d73926d9d4fdf6b7b0615b40713bc6ff70c96734a027f62b25e128c24142b
/* * Copyright 2015 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
Java
java/jsinterop/generator/model/TypeVariableReference.java
google/jsinterop-generator
apache-2.0
2,157
93
codeparrot/github-code
fa6ca747c44b83a14216fc2cc4fe4c420d3df628aa99f30dd3abdae64d282add
package com.yofc.odn.admin.action; import java.util.List; import javax.annotation.Resource; import com.opensymphony.xwork2.ActionSupport; import com.yofc.odn.admin.service.StaffService; import com.yofc.odn.admin.vo.StaffVO; import com.yofc.odn.common.model.Staff; public class StaffAction extends ActionSupport { ...
Java
src/com/yofc/odn/admin/action/StaffAction.java
tianfengjingjing/YOFC_Stage1_RightOracle
apache-2.0
4,952
233
codeparrot/github-code
d2a1493111c6bb2859dab39f0bf9cc12f43ba6e3c80cdbbf22c36cd7e44f2b5e
/* * Copyright (C) 2014-2022 Philip Helger (www.helger.com) * philip[at]helger[dot]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/LICEN...
Java
ph-oton-uicore/src/main/java/com/helger/photon/uicore/page/LoggingCSRFErrorHandler.java
phax/ph-oton
apache-2.0
1,591
47
codeparrot/github-code
031590f109a74b59c79f201f18b6e79053a430c78aece7ce0e6a2fa1a561db88
/* * Copyright 2002-2008 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
src/org/springframework/beans/GenericTypeAwarePropertyDescriptor.java
cbeams-archive/spring-framework-2.5.x
apache-2.0
3,687
115
codeparrot/github-code
2f7e8254ccf604adf2ff079ccdbf381ee6753e550e912bec07fc1a989d1c8e69
// Copyright 2014 Google 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 applicable...
GO
pages/pages.go
rjnagal/cadvisor
apache-2.0
4,116
139
codeparrot/github-code
1cc38b8c004f27dc7669a1c75b3c211b5661de25587d1b7f47f8e4dbfe069efe
// Copyright (c) 2009-2012 James Coglan // Copyright (c) 2012 Eric Butler // // 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 t...
Java
AndroidSDKCore/src/main/java/com/leanplum/internal/WebSocketClient.java
Leanplum/Leanplum-Android-SDK
apache-2.0
9,171
295
codeparrot/github-code
3d1080652aa8e93ae5e5e76b0a0a9465b646050f0b820759df2283bbd86120a7
package no.acntech.sandbox.converter; import no.acntech.sandbox.dto.CreateBar; import no.acntech.sandbox.dto.ReadFoo; import org.springframework.core.convert.converter.Converter; import org.springframework.core.convert.converter.ConverterFactory; import org.springframework.core.convert.support.ConfigurableConversionSe...
Java
spring-boot/transactions/src/main/java/no/acntech/sandbox/converter/ReadFooToCreateBarConverterFactory.java
acntech/acntech-sandbox
apache-2.0
1,166
33
codeparrot/github-code
22f2682032d4f5c2058e7503d1b61f391855dba24c7e6cab750133c7b9eefa46
# Copyright 2016-2020 The GPflow 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 required by appli...
Python
gpflow/models/vgp.py
GPflow/GPflow
apache-2.0
14,662
379
codeparrot/github-code
2155b6ce0ed8cdd491c7d0cedecf3b439a5f88b9a7113cb5d756ae3dcfcc2c4a
/** * 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
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/TestBlockDeletion.java
littlezhou/hadoop
apache-2.0
14,047
322
codeparrot/github-code
27f29ee30940c5ff1a2afdc8d41ef88c37d684b6a653a25a491ce81b95a8fce0
/** * 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/src/main/java/org/apache/pulsar/broker/lookup/v2/TopicLookup.java
saandrews/pulsar
apache-2.0
2,844
66
codeparrot/github-code
c30143a2d5a40b100b48eb83a7c16e393e2cf267836fdfe42ac4ebd6cbb15b28
// Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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#
src/Burrows/Subscriptions/Coordinator/PeerCache.cs
eswann/Burrows
apache-2.0
5,719
167
codeparrot/github-code
87b3eac904f6c7eecfdf2c59e486b85f52dcf8025319e722eccda007d626770e
/*------------------------------------------------------------------------- * * s_lock.h * Hardware-dependent implementation of spinlocks. * * NOTE: none of the macros in this file are intended to be called directly. * Call them through the hardware-independent macros in spin.h. * * The following hardware-de...
C
Npgsql.BulkCopy/PostgresqlCode/Version8/x86/include/server/storage/s_lock.h
elyor0529/NpgsqlBulkCopy
apache-2.0
22,536
921
codeparrot/github-code
3257542a5d44d0d1757f7cf9223ced6ec3241c3ab8ee5ef8b0f1b932873b0c53
/* * 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-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/SinkInfo.java
vam-google/google-cloud-java
apache-2.0
20,317
606
codeparrot/github-code
5833def694e8734fec82918bde2fe8385c9622fced1d54bbf415e81c4e568730
/* * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
Java
transpiler/java/com/google/j2cl/transpiler/passes/NormalizeJsFunctionPropertyInvocations.java
google/j2cl
apache-2.0
4,078
114
codeparrot/github-code
ba11fa90a653a758c8e0e9b00a5797d54b59243715053175aeca91094d1d2b61
/* * Copyright (c) 2011-2015, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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...
Java
integration/WebcamCapture/examples/boofcv/examples/ExampleTrackingKlt.java
pacozaa/BoofCV
apache-2.0
2,814
89
codeparrot/github-code
72a91fc53a3e76d67a42f3dd0fa309723efb1434ee53458b7d9712aaf30cb86a
<!DOCTYPE html> <html lang="en"> <head> <title>Web VR boilerplate (WX []-) ) </title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <meta name="mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="...
HTML
index.html
AC0793/WebVRWx
apache-2.0
4,446
139
codeparrot/github-code
b7306315f2d25469ebb1824049d3ce8f7a2873ca6079c68e8d68e96f774e1555
/* * 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 "license" fil...
C++
aws-cpp-sdk-email/source/model/ReorderReceiptRuleSetResult.cpp
ambasta/aws-sdk-cpp
apache-2.0
1,881
58
codeparrot/github-code
5a8ffc44fcfa73adbb1754be3e307db926d8165ce5165a2e546ef6958a490cdb
package edu.pdx.cs410J.net; import java.util.Random; /** * This thread will work until and then wait until it is interrupted. */ public class WorkingThread extends Thread { public WorkingThread(ThreadGroup group, String name) { super(group, name); } public void run() { Random random = new Random(); ...
Java
examples/src/main/java/edu/pdx/cs410J/net/WorkingThread.java
DavidWhitlock/PortlandStateJava
apache-2.0
962
43
codeparrot/github-code
6e9a7d40167ea9d6b971765db6686d547c5d648bce84f0a7e363c390577a0fe9
package mx.zetta.adf.business.customer; import java.util.List; import javax.jws.WebService; import org.springframework.beans.factory.annotation.Autowired; import mx.zetta.adf.commons.business.entities.Customer; @WebService(serviceName = "CustomerWebService") public class CustomerWebService { @Autowired private ...
Java
src/main/java/mx/zetta/adf/business/customer/CustomerWebService.java
jezamoraa/oracle
apache-2.0
692
33
codeparrot/github-code
f061530e06bf765eed5a5ccc78e2e650985736709b01a84128e1c23481cb46ba
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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.a...
C#
src/Gallio/Gallio.UI/Controls/KeysParser.cs
citizenmatt/gallio
apache-2.0
2,136
72
codeparrot/github-code
84e23193847e0e008b493f4b5e1e0df37962fc52950dbc2b5bbc3c95c8fb63d7
/* * Copyright 2009 Mark Tye * * 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, * so...
Scala
lift-appengine/src/main/scala/net/liftweb/ext_api/appengine/Entity.scala
mtye/lift-appengine
apache-2.0
5,732
200
codeparrot/github-code
b801609ee2015ab43ad6ee4ef062d4830088cb9b7dbf5a52323967ebf4bcc13e
package io.dropwizard.lifecycle.setup; import com.codahale.metrics.MetricRegistry; import io.dropwizard.lifecycle.JettyManaged; import io.dropwizard.lifecycle.Managed; import org.eclipse.jetty.util.component.ContainerLifeCycle; import org.eclipse.jetty.util.component.LifeCycle; import org.junit.jupiter.api.Test; impo...
Java
dropwizard-lifecycle/src/test/java/io/dropwizard/lifecycle/setup/LifecycleEnvironmentTest.java
phambryan/dropwizard
apache-2.0
4,277
106
codeparrot/github-code
d8494607ef309281721979d9483ced1045852f2742ee8a4e7d58aeff88f9aa30
/* * Copyright 2015 Nicolas Morel * * 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...
Java
api/src/main/java/com/github/nmorel/gwtjackson/rest/api/RestRequestBuilder.java
nmorel/gwt-jackson-rest
apache-2.0
11,292
370
codeparrot/github-code
0d1441ade20818c38a1167e056fa27ce9e1a1fd89e08377b0ac4e33dd64202e6
import os import base64 import socket from django.db.models import F, Q from xos.config import Config from observer.openstacksyncstep import OpenStackSyncStep from core.models.sliver import Sliver from core.models.slice import Slice, SlicePrivilege, ControllerSlice from core.models.network import Network, NetworkSlice,...
Python
xos/openstack_observer/steps/sync_slivers.py
wathsalav/xos
apache-2.0
6,455
157
codeparrot/github-code
3e4e2841d51f6078cebde6ff67a55e617030791f0e7c844f0d0a540ffa53d60c
/* * Copyright 2001-2015 Artima, 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 agre...
Scala
scalatest-test/src/test/scala/org/scalatest/tools/SuiteRunnerSpec.scala
dotty-staging/scalatest
apache-2.0
4,248
132
codeparrot/github-code
2c838a8f9628fabe85c91644fcbfd772a4a5e1f65e89d2665794c42a0869ed2d
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.vcs.changes.ui; import com.intellij.CommonBundle; import com.intellij.openapi.actionSystem.ActionManager; import com.intellij.openapi.actionSystem.A...
Java
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangeListViewerDialog.java
goodwinnk/intellij-community
apache-2.0
7,164
195
codeparrot/github-code
adc5026aeeff84eb8951a0a9fd428a96364fa457473ab6b6d3dd2f31b84a34f3
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeA...
C#
src/Features/Core/Portable/SplitOrMergeIfStatements/AbstractSplitIfStatementCodeRefactoringProvider.cs
nguerrera/roslyn
apache-2.0
4,986
108
codeparrot/github-code
d5a5bb6a28a54036dd2965c969a3b7c0e2ebd079d62f549a9e52c34a750325af
/** * LICENCSE + COPYRIGHT */ package org.emergent.bzr4j.commandline.syntax; import org.emergent.bzr4j.commandline.commands.options.Option; /** * @author Guillermo Gonzalez * */ public interface IFetchOptions { public final static String COMMAND = "fetch"; //$NON-NLS-N$ /** * Display more informat...
Java
bzr4j-core/src/main/java/org/emergent/bzr4j/core/commandline/syntax/IFetchOptions.java
bwrsandman/bzr4j
apache-2.0
748
31
codeparrot/github-code
203149cda1cf27509e925dd0f65502998af046902d3ea42c5fa998ac92ba6dc5
/** * $RCSfile$ * $Revision$ * $Date$ * * Copyright 2003-2007 Jive Software. * * 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/lice...
Java
VV/asmackbeem/org/jivesoftware/smackx/packet/OfflineMessageRequest.java
zoozooll/MyExercise
apache-2.0
6,134
211
codeparrot/github-code
053cc5bad2487548000df668c4067d8ca4fc9c78a3f4990031dc16e03ebee637
<? $proceed = (($_POST && isset($this->resulert) && $this->resulert === true) || $this->YMLprogress); ?> <center> <form action="" method="post" <? if($proceed){ ?>onsubmit="return false;" <? } ?>> <table class="form"> <tr> <td class="label <? if(in_array('Файл в фо...
PHP
back-end/engine/application/views/products/yml/index.php
rootree/shopping-plaza
apache-2.0
6,426
187
codeparrot/github-code
c060946c9cca3b4f159508e461fa8206b843bb3cbc5bf542102904d26de6c994
/* * 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
spring/boot2-webflux-autoconfigure/src/test/java/com/linecorp/armeria/spring/web/reactive/ArmeriaWebClientTest.java
minwoox/armeria
apache-2.0
8,132
236
codeparrot/github-code
e54bb144479e0ad88b00532a0479332bc233d0c0b82dca81c7175e4051c9e8d5
/** * Copyright (c) 2015 Runtime 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 agree...
C
common/config.h
ccollins476ad/gw
apache-2.0
2,162
67
codeparrot/github-code
a03ca294ddb6c3089cd06ff3f9aae0e2aa1e33bfa0b1d8de989a1f9b3950f77d
// ----------------------------------------------------------------------------- // // Copyright (C) 2021 CERN & University of Surrey for the benefit of the // BioDynaMo collaboration. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compl...
C
src/core/operation/mechanical_forces_op.h
BioDynaMo/biodynamo
apache-2.0
3,700
120
codeparrot/github-code
27169f51e1a7d85cee1d1fe5811fff8d03e4832104f868beb2518bef571512bf
package pl.koziolekweb.progvaadin; import com.vaadin.data.fieldgroup.DefaultFieldGroupFieldFactory; import com.vaadin.data.fieldgroup.FieldGroup; import com.vaadin.data.fieldgroup.FieldGroupFieldFactory; import com.vaadin.ui.Field; import pl.koziolekweb.progvaadin.components.JobTypeSelect; import java.util.logging.Lo...
Java
src/main/java/pl/koziolekweb/progvaadin/JobFieldFactory.java
Koziolek/programista-vaadin
apache-2.0
1,040
38
codeparrot/github-code
aac92d016f2aa4c672de1fb492e2a1043cd8ce2fa60cba216d204f8c88463875
<html><!-- Created using the cpp_pretty_printer from the dlib C++ library. See http://dlib.net for updates. --><head><title>dlib C++ Library - jdmainct.cpp</title></head><body bgcolor='white'><pre> <font color='#009900'>/* * jdmainct.c * * Copyright (C) 1994-1996, Thomas G. Lane. * This file is part of the In...
HTML
dlib-18.18/docs/dlib/external/libjpeg/jdmainct.cpp.html
Nekel-Seyew/Complex-3D-Vector-Fields
apache-2.0
53,534
515
codeparrot/github-code
76a4b73be82f43728e2d7c1d1dc08e1da8e35ec53bc88c2084094eded0fd3915
// // CurioNotificationManager.h // CurioSDK // // Changed by Can Ciloglu on 30/01/15. // Created by Harun Esur on 15/11/14. // Copyright (c) 2014 Turkcell. All rights reserved. // #import <Foundation/Foundation.h> __TVOS_UNAVAILABLE @interface CurioNotificationManager : NSObject { NSOperationQueue *curioNot...
C
CurioSDK.Core/CurioSDK/CurioNotificationManager.h
Turkcell/Curio_iOS_SDK
apache-2.0
1,112
56
codeparrot/github-code
a5c66774866cadaf86ef1c2f0da976b81106466c7c937f22e7096a2480aeca84
// Copyright 2019 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wri...
C++
examples/clear_content_keys.cc
google/cpix_cc
apache-2.0
1,848
51
codeparrot/github-code
273576723276b2c115562d8ac238fa64049358923f7871d33a12fe51e6889a0b
import styled from "styled-components"; import { margin } from "styled-system"; import Portrait from "../portrait"; import baseTheme from "../../style/themes/base"; import profileConfigSizes from "./profile.config"; const ProfileNameStyle = styled.span` font-weight: bold; display: block; font-size: ${({ size })...
JavaScript
src/components/profile/profile.style.js
Sage/carbon
apache-2.0
1,362
62
codeparrot/github-code
03d7218d786e036c322dbfa732960ce2bdf2555c46b134c1ad27742e2398c9b7
import math import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data # Flags for defining the tf.train.ClusterSpec tf.app.flags.DEFINE_string("ps_hosts", "", "Comma-separated list of hostname:port pairs") tf.app.flags.DEFINE_string("worker_hosts", "", ...
Python
docs/chapter6/distributed_mnist.py
fuhaha/tensorflow_study
apache-2.0
4,680
119
codeparrot/github-code
7bdaa489c0ac2b0ff1d6133376b00cb848ebc68b9f56dc4b6df2777bc7c48e9c
package de.tum.in.niedermr.ta.test.integration; import java.io.File; import java.io.IOException; import de.tum.in.niedermr.ta.runner.configuration.exceptions.ConfigurationException; /** * Integration test.<br/> * Multi-threaded. * * @see "configuration file in test data" */ public class IntegrationTest4 extend...
Java
test-analyzer-test-int/src/test/java/de/tum/in/niedermr/ta/test/integration/IntegrationTest4.java
cqse/test-analyzer
apache-2.0
1,119
32
codeparrot/github-code
52ac2c7959d6afc3a1f645636422ed9955ebeac4a355747991795400a5a8deb4
package com.fpliu.newton.ui.list; import android.content.Context; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import com.fpliu.newton.ui.base.BaseActivity; import com.fpliu.newton.ui.pullable.PullType; import com.fpliu.newton.ui.pullable.PullableViewContainer; import com.fpliu.n...
Java
library/src/main/java/com/fpliu/newton/ui/list/PullableScrollViewRecyclerViewActivity.java
leleliu008/Android-List
apache-2.0
13,717
422
codeparrot/github-code
1710e5c3197037adad967c3f5a557282a1a61a8abc0553c59e0d2c5a16377579
package swap; import static org.junit.Assert.assertEquals; import java.util.AbstractMap; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.TreeMap; import java.util.function.Supplier; import java.util.stream.Collectors; import org.junit.Test; /...
Java
generics_sample/src/swap/MapSwapSample.java
nagise/generics
apache-2.0
4,127
145
codeparrot/github-code
98202fe48a62c107fb61dafe42db38c67c1767e4273ee70ac98f9b0f2a3c0ae4
/* * Copyright 2020 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 ap...
Java
optaplanner-core/src/test/java/org/optaplanner/core/impl/score/DefaultScoreManagerTest.java
droolsjbpm/optaplanner
apache-2.0
2,034
48
codeparrot/github-code
1ee85a871607817fcededc11e04345e82a030808e39c96de41c6dd4b5afd2aeb
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CancelReservedInstancesListingRequest.java
dagnir/aws-sdk-java
apache-2.0
4,592
137
codeparrot/github-code
cfe75b205f940a8abf41b941d7e50c0e0e35040a6ae50d5422ca53b84f73f741
import {Layer} from "stratocacher"; import Q from "q"; // Be careful with this! // * It caches by _reference_ (by default)! // * In _never_ evicts! const CACHE = {}; export default class LayerSimpleObject extends Layer { static reset() { super.reset(); Object.keys(CACHE).forEach(k => delete CACHE[k]); } ge...
JavaScript
packages/stratocacher-layer-simple-object/src/index.js
redfin/stratocacher
apache-2.0
683
34
codeparrot/github-code
a09698bdd1ca3862ee3c8f4d9b9b4db145ec1e632110ebc0a3066e928cc87e64
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"> <meta http-equiv="X-UA-Compatible" content="edge" /> <meta http-equiv="Pragma" content="no-cache">...
HTML
static/yonghuxuzhi.html
FinchYang/study
apache-2.0
8,170
285
codeparrot/github-code
182504131f1f356aeb940b2e05a3c157a2873df46a7dc274d0567f4a102058b7
/* * Copyright 2016 Dennis Vriend * * 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...
Scala
src/test/scala/akka/persistence/jdbc/serialization/StoreOnlySerializableMessagesTest.scala
gavares/akka-persistence-jdbc
apache-2.0
5,542
137
codeparrot/github-code
cfb4900bdc57caa02867857aaa2c8929ef3967a90391a4984b516e8ea2706085
################################################################################ # Copyright 2015 Samuel Gongora Garcia (s.gongoragarcia@gmail.com) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Founda...
Python
output_predict.py
satnet-project/propagators
apache-2.0
2,281
65
codeparrot/github-code
6ba91fcf1ed3e5a9701af3a699e1978a7af7cd169e96ca3dfdeb4fcb2aa1fffa
// Copyright 2008 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
Java
app/src/main/java/com/google/android/stardroid/activities/SplashScreenActivity.java
srtanzim/Cosmic-Iris
apache-2.0
4,498
143
codeparrot/github-code
e169b085d3ccaf72430b4d12c62ad6b576735b8592aedcc1a3b7ef922e105132
package volumes import ( "encoding/json" "io/ioutil" "os" "path/filepath" "sync" "github.com/docker/docker/pkg/symlink" ) type Volume struct { ID string Path string IsBindMount bool Writable bool containers map[string]struct{} configPath string repository *Repository lock s...
GO
volumes/volume.go
Ninir/docker
apache-2.0
2,319
128
codeparrot/github-code
c1280ed003e98dfb23a458cf1964e257e4d0958007fd70a430df2653bb2dbf1f
package almhirt.i18n import scalaz.syntax.validation._ import almhirt.common._ import com.ibm.icu.text.MessageFormat import com.ibm.icu.util.ULocale import java.text.FieldPosition sealed trait ResourceValue sealed trait TextResourceValue extends ResourceValue final case class RawStringResourceValue(override val loc...
Scala
almhirt-i18n/src/main/scala/almhirt/i18n/ResourceValue.scala
chridou/almhirt
apache-2.0
2,961
89
codeparrot/github-code
d22f3fcfec4320792be094bfebde32a47bcfd58322994a8ed3b736fc1c2a78a5
using System; using System.Collections; using System.IO; using System.Diagnostics; namespace Sxta.GenericProtocol.Encoding { #if TODO public class BitArrayEncodingLE { public static readonly EndianTypes Endian = (BitConverter.IsLittleEndian ? EndianTypes.LittleEndian : EndianTypes.BigEndian); /// <summary> ...
C#
DDS-RTPS/RTPS/Utils/NetEncoders/BitArrayEncoding.cs
agustinsantos/DOOP.ec
apache-2.0
7,314
249
codeparrot/github-code
51405ed5f7aa48ee5584f283c6895e09d7b00e53c0be33f208aca42e519531a9
/* * Copyright 2016-2026 TinyZ * * 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 ...
Java
okra-demo/src/main/java/org/ogcs/okra/example/game/command/impl/DO_ACTION.java
ogcs/Okra
apache-2.0
1,131
43
codeparrot/github-code
db277c488fb1bbeda7074e5c52ecb18e9771857b84002ff486f01247976d9d03
/* * Copyright (C) 2014 The Dagger 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...
Java
compiler/src/test/java/dagger/internal/codegen/ProducerModuleFactoryGeneratorTest.java
AttwellBrian/dagger
apache-2.0
20,928
510
codeparrot/github-code
320810d5d889b33aab82839d16544ebc9dc03a0a0ce47857cd92684597e75caf
#!/usr/bin/python # vim: expandtab:tabstop=4:shiftwidth=4 ''' Tool to process and take action on incoming zabbix triggers. ''' # Disabling invalid-name because pylint doesn't like the naming conention we have. # pylint: disable=invalid-name # pylint: disable=line-too-long import argparse import ConfigParser import...
Python
scripts/remote-heal/remote-healer.py
rhdedgar/openshift-tools
apache-2.0
7,272
189
codeparrot/github-code
571e3185815e27f6efc20cfb906bcaaec7acc310a41b01ba9a251cb87c3eca3c
/*! * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com) * Code licensed under the Apache License v2.0. * For details, see http://www.apache.org/licenses/LICENSE-2.0. */ $(document).ready(function(){ // jQuery to collapse the navbar on scroll new WOW().init(); $(window).scroll(function(...
JavaScript
js/grayscale.js
schao87/webportfolio
apache-2.0
16,074
371
codeparrot/github-code
c3e67d7530d96c681485d50a98dcc5bc0f43567be50a39f77937d7ce1cfc7aff
/* * 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-datapipeline/src/main/java/com/amazonaws/services/datapipeline/model/transform/QueryJsonMarshaller.java
dump247/aws-sdk-java
apache-2.0
2,849
85
codeparrot/github-code
65432b7e80ab3cf1e00eb82fa1ebaa951b55bb4bf224339fb3c3e53793921c76
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
Rust
src/libsyntax/ext/build.rs
BurntSushi/rust
apache-2.0
37,813
1,022
codeparrot/github-code
8c4a1c4ed8dbba9bb9db25cf2e2614640f9e4c9c5d465e0d2c6581d7b84cf914
// Copyright 2006 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
Java
projects/connector-manager/source/java/com/google/enterprise/connector/util/SAXParseErrorHandler.java
googlegsa/manager.v3
apache-2.0
1,453
49
codeparrot/github-code
20cf003fa8228e9caea5969323b82e6d5e4daa6a71b3bcf208a62de2d57b4e11
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
Java
geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/command/Get70Test.java
davebarnes97/geode
apache-2.0
8,899
240
codeparrot/github-code
fbbd11948009f9f6c8a94c93b9af1ce48a0b4a7c1722c8378b9a9ee8cc8d9d7e
package org.apache.helix; /* * 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...
Java
helix-core/src/test/java/org/apache/helix/TestHelixTaskHandler.java
kishoreg/helix-actors
apache-2.0
5,817
138
codeparrot/github-code
52b9e0ba829ac91738410f93d05596d979089551581999fe5b58773efed52406
/* * Copyright (c) Facebook, Inc. and 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 applic...
Java
test/com/facebook/buck/rules/coercer/SourceSortedSetTest.java
JoelMarcey/buck
apache-2.0
9,200
226
codeparrot/github-code
14502455f48ba9162becfb67a799521b4460d1bcf45530ffd46462d5b271973b
package com.example.mobilesafer.utils; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.InputStreamReader; import java.util.List; import android.app.ActivityManager; import android.app.ActivityManager.MemoryInfo; import android.app.ActivityManager.RunningApp...
Java
src/com/example/mobilesafer/utils/SystemInfoUtils.java
dai1995910/MobileSafer
apache-2.0
3,086
117
codeparrot/github-code
93c6ffc7bedfba0f3b8535ef8fe63e12ffa2a2587a03f9f1247932587edb1ddc
/* * Licensed to Crate.io GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not use this f...
Java
server/src/test/java/io/crate/execution/engine/collect/collectors/LuceneOrderedDocCollectorTest.java
crate/crate
apache-2.0
17,139
406
codeparrot/github-code
2e9af9c550166c238cad2f60342e23fb8503db69692b86284ead8b7fa2f17799
/* * Copyright 2000-2016 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
platform/lang-impl/src/com/intellij/codeInsight/highlighting/BraceHighlighter.java
signed/intellij-community
apache-2.0
4,994
131
codeparrot/github-code
2139da53456a7342e4e1a8969fd5afd7addfae36fe03049ea9c5205ce7c6a411
/* * Copyright [2019] [Metamagic] * * 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,...
TypeScript
src/module/forms/multidatepicker/multidatepicker.component.ts
meta-magic/amexio.github.io
apache-2.0
22,287
773
codeparrot/github-code
15e8621c1e30b7265c02e7ab840d315f2ed023be52b96b064d812d9cfe3eb408
define (["when", "d3", "sg/util", "sg/richAxis", "sg/data", "sg/zoom", "sg/chart", "sg/domCache"], function(when, _d3, util, _richAxis, networkDataApi, _zoom, chart, domCache) { /** Bind to an array containing a Dashboard object. * * The dashboard component uses the provi...
JavaScript
protocol/src/main/resources/web/sg/dashboard.js
mighdoll/sparkle
apache-2.0
6,468
202
codeparrot/github-code
e43c7ae834674d20eae4e6cba7a855c7d230b9dede15cb1f2e953af869bf7e33
package org.antipathy.mvn_scalafmt; import org.antipathy.mvn_scalafmt.model.Summary; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugins.annotations.LifecyclePhase; import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven....
Java
src/main/java/org/antipathy/mvn_scalafmt/FormatMojo.java
SimonJPegg/mvn_scalafmt
apache-2.0
4,194
102
codeparrot/github-code
5852220cfbe6a2218683656e58b7465d81e11b73a3f7f3f3d878dfe67cd30a09
package org.batfish.representation.juniper; import org.batfish.representation.Ip; import org.batfish.representation.LineAction; import org.batfish.representation.Prefix; import org.batfish.representation.RouteFilterList; import org.batfish.util.SubRange; public final class RouteFilterLineThrough extends RouteFilterLi...
Java
projects/batfish/src/org/batfish/representation/juniper/RouteFilterLineThrough.java
Alexia23/batfish
apache-2.0
1,789
63
codeparrot/github-code
5e2bf922c6b346b65320af02a2fc19eb4181988fdaebdccec071fd1dd901ec1e
/** ****************************************************************************** * @file commands/SubscribeCommand.js * @author David Middlecamp (david@particle.io) * @company Particle ( https://www.particle.io/ ) * @source https://github.com/spark/particle-cli * @version V1.0.0 * @date 14-February-2014...
JavaScript
commands/SubscribeCommand.js
kennethlimcp/particle-cli
apache-2.0
3,773
126
codeparrot/github-code
8139f104e928222f963e74e466a6bbf677ec71493203fdfbfad10dc10870e5f9
package testcases.leetcode; import base.TestCases; import structures.TestCase; import structures.TestCaseHandler; public class DecodeWaysTestCases extends TestCases<String, Integer> implements TestCaseHandler<String, Integer> { private static final long serialVersionUID = -8362404441901239122L; public D...
Java
src/main/java/testcases/leetcode/DecodeWaysTestCases.java
hongyuanChrisLi/Algorithms
apache-2.0
1,214
35
codeparrot/github-code
42f05e5027a6470625d5f24f74aff92cd7ee3630309d7527c2c08134f26de4c6
#!/usr/bin/perl ###### # This script calculates some apache live stats # All the information is extracted from the server-status page of # the running apache webserver. So apache must be configured to use # mod_status and this page should be available from the localhost # through the use of the 'apachectl status' comm...
Perl
apache/apache-stats.pl
tonin/snmpd-helpers
apache-2.0
3,843
133
codeparrot/github-code
1dd1d4fffe20809e3f2c238f06a907fb29ff87bb41ef8021682b4fc614c323b2
#!/bin/bash # This script installs Jupyter notebook on a Google Cloud Dataproc cluster. # Jupyter (http://jupyter.org/) is successor of iPython Notebook # # This init action depends on Conda init-action. GCS repo for init actions might # be overridden by specifying INIT_ACTIONS_REPO metadata key. set -euxo pipefail ...
Shell
jupyter/jupyter.sh
dennishuo/dataproc-initialization-actions
apache-2.0
3,549
90
codeparrot/github-code
01a590eb41db89d84a84d3930f69dd80ef05ad71c73e478bb827d8b0a305b8bb
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* 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.0...
C
DataCollector/mozilla/xulrunner-sdk/include/mozilla/Observer.h
andrasigneczi/TravelOptimizer
apache-2.0
1,953
83
codeparrot/github-code
65eb0b1dbef2d45f46f5609da3d8fc195e275558a57e5217c56576e3a47e2379
/*========================================================================= * * 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/Registration/Common/include/itkTransformParametersAdaptor.h
stnava/ITK
apache-2.0
4,941
128
codeparrot/github-code
afde046f84fd5e3fee2c2121a62b508fe3c13cc77d0c6058df5f2529a80a6e7e
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/cloudformation/CloudFormation_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/cloudformation/model/ResponseMetadata.h> #include <utility> namespac...
C
aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/DetectStackDriftResult.h
jt70471/aws-sdk-cpp
apache-2.0
4,796
118
codeparrot/github-code
5922be9a74cfe9b5d37e0eb2870030526df1c3727191dc80c57d82ab24a7240e
// Copyright © 2017 - 2018 Chocolatey Software, Inc // Copyright © 2011 - 2017 RealDimensions Software, 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.a...
C#
src/chocolatey/infrastructure.app/attributes/CommandForAttribute.cs
jberezanski/choco
apache-2.0
1,189
34
codeparrot/github-code
7199aeb915743e8466c2dbd14532286b42ffdb4f5efae8f7352a3a41580936d3
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.cyc.library.jenakbclient; import com.cyc.kb.Context; import com.cyc.kb.KBCollection; import com.cyc.kb.KBFunction; import...
Java
src/main/java/com/cyc/library/jenakbclient/KBFunctionImpl.java
vijayrajak/JenaKBClient
apache-2.0
3,144
79
codeparrot/github-code
36ac6ccfdd3ef0b69c56bc4d0310017f5620fafc7df045e24492a5c8a11ecbe0
package org.jetbrains.plugins.scala.externalHighlighters import com.intellij.codeInsight.daemon.impl.{HighlightInfo, HighlightInfoType, UpdateHighlightersUtil} import com.intellij.codeInsight.intention.IntentionAction import com.intellij.openapi.editor.{Document, Editor, EditorFactory} import com.intellij.openapi.proj...
Scala
scala/scala-impl/src/org/jetbrains/plugins/scala/externalHighlighters/ExternalHighlighters.scala
JetBrains/intellij-scala
apache-2.0
7,950
197
codeparrot/github-code
2bd372346ebb382a595cf2fdf9683281a80fff0464a052903a88e96d2ee68a77
/* * Copyright 2009-2016 European Molecular Biology Laboratory * * 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
app/core/src/main/java/uk/ac/ebi/fg/annotare2/core/utils/URIEncoderDecoder.java
arrayexpress/annotare2
apache-2.0
1,401
44
codeparrot/github-code
6fae14eb454d5be536b594c3931d221fbaf01641832f37dd04a8f2d4c275a8c7
<!DOCTYPE html> <html> <head> <title>Docs | Sencha Test 1.0.3 </title> <!-- Generated on August, 12 2016 at 15:48 --> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta property="og:image" con...
HTML
test/index.html
lovelyelfpop/Sencha_Cmd6_Extjs6_Guides
apache-2.0
69,142
1,110
codeparrot/github-code
9b40aa8e62b4f180ce4536410f8ed5ba203cb19a83504053ad0ecc18ef570c36
# Copyright 2012 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
Python
jenkins_jobs/modules/triggers.py
david-caro/jenkins-job-builder
apache-2.0
68,792
1,551
codeparrot/github-code
51faaa3396048d1b0f6fa5653b7ec23ecd49c4600cd6596058ddbf32eccefc84
package com.battlelancer.seriesguide.ui; import android.app.ProgressDialog; import android.app.SearchManager; import android.content.Intent; import android.content.res.TypedArray; import android.net.Uri; import android.nfc.NdefMessage; import android.nfc.NfcAdapter; import android.os.Bundle; import android.os.Parcelab...
Java
SeriesGuide/src/main/java/com/battlelancer/seriesguide/ui/SearchActivity.java
epiphany27/SeriesGuide
apache-2.0
20,045
543
codeparrot/github-code
2dc80cb11a3ebe7ccff7581b0aa42eab985897bd954d36a05c3ef27b5cc54dcd
using Pchp.Core; using Pchp.Core.Utilities; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pchp.Library { [PhpExtension("standard")] public static partial class PhpPath { #regi...
C#
src/Peachpie.Library/FileSystem.Glob.cs
iolevel/peachpie
apache-2.0
27,925
881
codeparrot/github-code
54f9883e8e53bb8bef768104b81917ba9e19693975441864bc1255792643650a
/******************************************************************************* * Copyright 2015 Maximilian Stark | Dakror <mail@dakror.de> * * 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...
Java
src/de/dakror/virtualhub/client/ClientFrame.java
Dakror/VirtualHub
apache-2.0
30,073
848
codeparrot/github-code
ff365c4bb79b58c0ebc29a71d84c95f2e68c320b137c1c2a5af6387150e7d5ea
package countdowntimer.sound; import java.net.URL; import java.util.concurrent.Executor; import java.util.concurrent.Executors; import java.util.concurrent.atomic.AtomicInteger; import countdowntimer.preferences.Preferences; import countdowntimer.preferences.UserLocalFileAccess; public class SoundPlayer { private...
Java
CountdownTimer/src/countdowntimer/sound/SoundPlayer.java
bitsetd4d/blingclock
apache-2.0
2,088
66
codeparrot/github-code
178a62bd26e0f1ae41f6acfbdf85d9d87e11b122b8ca9a1140776d464658a96d
/* Copyright 2010-2014 MongoDB Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
C#
naive_bayes/resources/c#/CSharp238Tests.cs
antonnik/code-classifier
apache-2.0
2,057
60
codeparrot/github-code
5e221fe003c668a471a8f88bfb53d606fd8414b8ce266856434577e0392f61c4
/* * Copyright (C) 2008 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
jni/include/aosp-4/frameworks/base/include/private/ui/LayerState.h
hhool/ffplayer
apache-2.0
2,060
76
codeparrot/github-code