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
c42fb17c7629b6e556ae75400e5b373f346e01ff0da0c240c738e764840608ed
//============================================================================== // Copyright 2016 Windy Darian (Ruoyu Fan) // // 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:...
C++
leetcode/_15_3_sum.cpp
WindyDarian/OJ_Submissions
apache-2.0
2,630
88
codeparrot/github-code
53baf5cf819f2e91dbe2d3c5b0e6070958581fba3189ae77ee75e5e0ef30fb36
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C
tensorflow/compiler/xla/python/absl_casters.h
cxxgtxy/tensorflow
apache-2.0
2,302
74
codeparrot/github-code
1eec3cb883cba1697c18824e7d7d44139ba905c92849a50afb7dc31289c00198
using System; using System.Linq; using Microsoft.VisualStudio.ExtensionManager; using Microsoft.VisualStudio.ExtensionManager.UI; namespace NuGet.VisualStudio { internal class VS2010UpdateWorker : IUpdateWorker { private const string NuGetVSIXId = "NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fdd...
C#
Nuget/src/VisualStudio/ProductUpdate/VS2010UpdateWorker.cs
monoman/NugetCracker
apache-2.0
2,337
60
codeparrot/github-code
dd149e5cd303073594c57b6b30c7cff4a57d98f0d82bf5ae8d7e3f5ebc887ce6
package drivers import ( "encoding/json" "fmt" "io" "io/ioutil" "os" "os/exec" "regexp" "strconv" "strings" "time" "github.com/pborman/uuid" "github.com/lxc/lxd/lxd/db" "github.com/lxc/lxd/shared" "github.com/lxc/lxd/shared/ioprogress" log "github.com/lxc/lxd/shared/log15" "github.com/lxc/lxd/shared/...
GO
lxd/storage/drivers/driver_ceph_utils.go
Skarlso/lxd
apache-2.0
32,627
1,209
codeparrot/github-code
a34559d6c6cc64582387b1dfa9b7c79956ac0e4405fcee13eb673ec8921dff2f
package com.example.shli.slip.support; import android.animation.ValueAnimator; import android.content.Context; import android.util.AttributeSet; import android.view.ViewGroup; import android.view.animation.AccelerateDecelerateInterpolator; import java.util.ArrayList; import java.util.List; /** * 滑动控件基类 * Created by...
Java
SlipDemo/app/src/main/java/com/example/shli/slip/support/SlipBase.java
aclululu/ImageSlipDemo
apache-2.0
4,894
176
codeparrot/github-code
54539d32aea08f004522d879a2a0182a146a8e94f02663de7ad52905474a7d1f
# # This source file is part of the EdgeDB open source project. # # Copyright 2008-present MagicStack Inc. and the EdgeDB 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...
Python
edb/pgsql/compiler/config.py
edgedb/edgedb
apache-2.0
17,269
554
codeparrot/github-code
a921bde33df5a9ec43d07082fb343933cd1cede37507012041c9eefabf36cf3d
/* * 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 ...
Scala
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFilters.scala
aosagie/spark
apache-2.0
30,750
627
codeparrot/github-code
d948f48871648544f382a83ee8992da2413d751fec2ce1b47802b044ffb5db65
/* * Copyright 2017 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Java
library/src/main/java/com/ibm/watson/developer_cloud/android/library/audio/MicrophoneHelper.java
lpatino10/android-sdk
apache-2.0
2,271
76
codeparrot/github-code
91cf83485d217ebf7d280fbe35b71ad31d03c917ba73ffab398e782239aac503
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Statistics of Person in UD_Ukra...
HTML
treebanks/uk_iu/uk-feat-Person.html
UniversalDependencies/universaldependencies.github.io
apache-2.0
21,161
278
codeparrot/github-code
9f42db9222e99f11f5fcb337804b3444b1c16d8e8f0da94ac305ffb996931f27
package com.xht.android.serverhelp; import android.app.Activity; import android.app.Fragment; import android.app.ProgressDialog; import android.content.ContentValues; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; im...
Java
app/src/main/java/com/xht/android/serverhelp/LoginFragment.java
caichengan/ServerHelp
apache-2.0
5,764
185
codeparrot/github-code
29a4ec2ef848c68e2fb365cc427f9183e8e2e80b422d4293262a60e98187273e
using System; using System.Collections.Generic; using System.Linq; using System.Web; /// <summary> /// Summary description for QuyetDinhLuongHangLoatInfo /// </summary> public class QuyetDinhLuongHangLoatInfo { public QuyetDinhLuongHangLoatInfo() { // // TODO: Add constructor logi...
C#
Austfeed/App_Code/Entity/HoSo/QuyetDinhLuongHangLoatInfo.cs
blackapple2017/qAustfeed
apache-2.0
1,106
34
codeparrot/github-code
e9663ad23724ea5a950b066537d52fa8b759bea968b43ded4ca0505f4c298bde
<?php require_once '../../lib/Kendo/Autoload.php'; require_once '../../include/header.php'; ?> <?php $start = new \Kendo\UI\DateTimePicker('start'); $start->value(new DateTime('now', new DateTimeZone('UTC'))) ->parseFormats(array('MM/dd/yyyy')) ->change('startChange'); $end = new \Kendo\UI\DateTimePicker...
PHP
admin/kendoui/wrappers/php/web/datetimepicker/rangeselection.php
saqlainmediasoft/Maintenance-Management-System
apache-2.0
1,793
79
codeparrot/github-code
b7c72b1efc7a60a81d9810d4ddbdfcdd1b728295be0acb2d2f551d2be06dc89c
/** * The copyright in this software is being made available under the BSD License, * included below. This software may be subject to other third party and contributor * rights, including patent rights, and no such rights are granted under this license. * * Copyright (c) 2013, Dash Industry Forum. * All rights re...
JavaScript
web/public/js/dashjs/src/dash/extensions/DashManifestExtensions.js
karlmoser/Video-Annotation
apache-2.0
29,742
806
codeparrot/github-code
4b018ab91be7fde2ca32e4f775aff0a4c38634a9172be2f9fb51971011c971ae
/* * Copyright 2020 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 wr...
Java
google/detectors/rce/java_jmx/src/test/java/com/google/tsunami/plugins/detectors/rce/java/JavaJmxRceDetectorTest.java
google/tsunami-security-scanner-plugins
apache-2.0
6,150
154
codeparrot/github-code
5299989b26f27aa5624f6307b8692d12b0b3a23b9b9e249ecf4138778f52b56b
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
Java
components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/OAuthAdminServiceImpl.java
wso2-extensions/identity-inbound-auth-oauth
apache-2.0
88,457
1,823
codeparrot/github-code
c871edf56f720de829b36ee59bddec3278257086862d22a47b7a4747bb7d3e12
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010-2016, MIT Probabilistic Computing 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.apac...
Python
examples/satellites/build_bdbs.py
probcomp/bdbcontrib
apache-2.0
9,056
250
codeparrot/github-code
f9447e68ffddb4704f987171ff3e8b5cd028b8a19ef0dffc61ff8c3fb6d603ca
/* * Copyright (c) 2017-2020 Evolveum * * 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
midpoint-client-api/src/main/java/com/evolveum/midpoint/client/api/exception/ExpressionEvaluationException.java
Evolveum/midpoint-client-java
apache-2.0
1,317
46
codeparrot/github-code
2014db0a84d3d2f63624cd9a9333461b9f98c673a4c8e53cb8a25d4b5afcd26d
#FLM: Simplepolator 5 steps # Simplepolator v1.1 # Description: # A simple macro to interpolate compatible glyphs inside FontLab. # To easily apply the Gunnlaugur SE Briem's method # http://66.147.242.192/~operinan/2/2.3.3a/2.3.3.02.tests.htm # Credits: # Pablo Impallari # http://www.impallari.com/projects/overview/...
Python
IMP Simplepolator/Simplepolator 5 steps.py
impallari/Impallari-Fontlab-Macros
apache-2.0
1,229
54
codeparrot/github-code
4cfe9cea127640638a900be9fed465ce3a393530156d46f2b3b1d4be341a03a9
package org.endeavourhealth.enterprise.core.json; import com.fasterxml.jackson.annotation.JsonInclude; import java.util.List; @JsonInclude(JsonInclude.Include.NON_NULL) public class JsonHealthcareActivityGraph { public String breakdown; public List<String> gender; public List<String> ethnicity; publi...
Java
src/enterprise-core/src/main/java/org/endeavourhealth/enterprise/core/json/JsonHealthcareActivityGraph.java
endeavourhealth/Enterprise
apache-2.0
2,730
128
codeparrot/github-code
a6b448bfca5cedc9fec2b051793663f537dfbc2fee11edcfa42d5e99413e2807
jQuery(document).ready(function() { var yafCKEditor = jQuery("textarea.YafTextEditor").ckeditor({ extraPlugins: "autosave,bbcode,syntaxhighlight,bbcodeselector,codemirror,emojione,wordcount", toolbar: [ ["Source"], ["Undo", "Redo"], ["-", "NumberedList", "Bullete...
JavaScript
yafsrc/YetAnotherForum.NET/Scripts/ckeditor/ckeditor_initbbcode.js
Pathfinder-Fr/YAFNET
apache-2.0
3,032
88
codeparrot/github-code
1b23a83ac02a3f8924424b69ef57e616c8ec05bec40ca23e28bea37e7c321736
package unit.zpcat.org.appunittest; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.TextView; import org.w3c.dom.Text; public class MainActivity extends App...
Java
app/src/main/java/unit/zpcat/org/appunittest/MainActivity.java
suzp1984/AppUnitTest
apache-2.0
1,724
62
codeparrot/github-code
5784a7885c0d934a2e4fbfc69e5372254a2fc3cb379d433b24bcc8b59eacf482
/** * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.pricer.credit; import java.time.LocalDate; import java.time.Period; import java.util.Optional; import java.util.OptionalDouble; import java.util.stream....
Java
modules/pricer/src/main/java/com/opengamma/strata/pricer/credit/IsdaCdsHelper.java
nssales/Strata
apache-2.0
13,784
320
codeparrot/github-code
8d7e38a44cba6f32f149c7ec62f2249a72729fec446df789b9ea9cf110155a63
/** * localStorage support for ie<8 * @author:yiminghe@gmail.com */ KISSY.Editor.add("localstorage", function() { var S = KISSY, KE = S.Editor,STORE; STORE = KE.STORE = /*S.UA.ie ? "localStorageKEFake" :*/ "localStorage"; if (!KE['storeReady']) { KE.storeReady = function(run) { ...
JavaScript
addons/theme/stv1/_static/ts2/js/editor/editor/plugins/localstorage/plugin.js
kindlejiang/jkb
apache-2.0
1,997
83
codeparrot/github-code
3b212ce4889a7ccd82e53e4cb279f3725b0e748a025ef08baf6906efc3ecff66
import { get, set, computed, observer } from '@ember/object'; import { on } from '@ember/object/evented'; import { inject as service } from '@ember/service'; import { hasMany, reference } from '@rancher/ember-api-store/utils/denormalize'; import Resource from '@rancher/ember-api-store/models/resource'; import C from 'u...
JavaScript
app/models/project.js
lvuch/ui
apache-2.0
4,285
133
codeparrot/github-code
bf8243a6caf5be99e642cb90e76c89c6bcb51e1f23379b1a381a958bde30f2a4
(function($){ $.PMX.DockerRunGenerator = function() { var options = arguments[0]; options.links = options.links || []; options.portMappings = options.portMappings || []; options.exposePorts = options.exposePorts || []; options.environmentVars = options.environmentVars || []; options.volumes =...
JavaScript
app/assets/javascripts/jquery.docker_run/docker_run_generator.js
fic2/panamax-ui
apache-2.0
3,166
147
codeparrot/github-code
45175fd8b373a542807473c8fec1d19aadd3e7f0db87f13e02456c7724836f22
/** * Copyright 2006-2017 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 * * Unle...
Java
mybatis-generator-core/src/main/java/org/mybatis/generator/api/FullyQualifiedTable.java
hobbitmr/MutiMybatisGenerator
apache-2.0
14,362
399
codeparrot/github-code
6ea222f27c9b00f2757dc18619ab3546e4b6de3009487e6eaf5da0d0a64ac235
package com.xw.project.gracefulmovies.ui.fragment; import android.content.Context; import android.content.Intent; import android.databinding.DataBindingUtil; import android.databinding.ViewDataBinding; import android.os.Bundle; import android.os.Parcelable; import android.support.annotation.LayoutRes; import android.s...
Java
app/src/main/java/com/xw/project/gracefulmovies/ui/fragment/BaseFragment.java
woxingxiao/GracefulMovies
apache-2.0
9,269
270
codeparrot/github-code
0436f68e4c0045d4b041c71916c476de1ff53826515e746b0a621c79355f2aba
// Chilkat Objective-C header. // This is a generated header file for Chilkat version 9.5.0.45 // Generic/internal class name = TrustedRoots // Wrapped Chilkat C++ class name = CkTrustedRoots @class CkoCert; @class CkoJavaKeyStore; @class CkoBaseProgress; @interface CkoTrustedRoots : NSObject { @private void...
C
FileUtillies/chilkat/include/CkoTrustedRoots.h
jay18001/FileUtilities
apache-2.0
1,479
58
codeparrot/github-code
a74b69d2fd687921972b9947abb73c610d155a637d7141d021d0277de980c184
package uk.dangrew.nuts.persistence.setup; import static org.hamcrest.Matchers.hasSize; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.notNullValue; import static org.junit.Assert.assertThat; import org.junit.Before; import org.junit.Test; import uk.dangrew.nuts.day.DayPlan; import uk.da...
Java
nuts/test/uk/dangrew/nuts/persistence/setup/DataSetupTest.java
DanGrew/Nuts
apache-2.0
4,201
101
codeparrot/github-code
d427abddafbd178e4d85bfa49b7504ea9462bd19c63f35da0744b377b29939a9
/* * Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Java
hazelcast-sql/src/test/java/com/hazelcast/sql/impl/expression/string/SubstringFunctionIntegrationTest.java
mdogan/hazelcast
apache-2.0
16,707
281
codeparrot/github-code
46fd9b82346c988495ebb33d731acf0079cf6e5ee292680a2e6c3790bd74d4a7
/* * Copyright 2015-2016 Red Hat, Inc, and individual 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
Java
resources/src/main/java/org/jboss/hal/resources/CSS.java
hpehl/hal.next
apache-2.0
22,606
569
codeparrot/github-code
933a60808c27fb613f7286b65aefc53b0784db6b26101d8f52179bcc3884c6e8
using System; using System.Linq; using System.Threading.Tasks; using Audiotica.Core.Common; using Audiotica.Core.Utilities.Interfaces; using Audiotica.Web.Enums; using Audiotica.Web.Exceptions; using Audiotica.Web.Metadata.Interfaces; using Audiotica.Web.Models; using Microsoft.Xbox.Music.Platform.Client; using Microso...
C#
Audiotica.Web/Metadata/Providers/GrooveMetadataProvider.cs
zumicts/Audiotica
apache-2.0
11,362
281
codeparrot/github-code
7c9ebdc97b4693cb72353f9c0a5977dd01afc50ebdaca0a02acb25fb410eca08
# ============================================================================== # Copyright 2018-2020 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
Python
examples/keras_sample.py
tensorflow/ngraph-bridge
apache-2.0
1,380
33
codeparrot/github-code
2c10222f19243f4cea868f647b2a23695f8dc86986a368ef1204f490fa925072
/* * 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-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/transform/DescribeStacksResultStaxUnmarshaller.java
dump247/aws-sdk-java
apache-2.0
2,832
80
codeparrot/github-code
90e8ef8f90255c05d43cd8d66f60e953b3cbac96fb1f5f2f273eb78457f8b40f
//===----------------------------------------------------------------------===// // // Peloton // // hash_group_by_translator.cpp // // Identification: src/codegen/hash_group_by_translator.cpp // // Copyright (c) 2015-17, Carnegie Mellon University Database Group // //===------------------------...
C++
src/codegen/hash_group_by_translator.cpp
phisiart/peloton-p3
apache-2.0
15,529
432
codeparrot/github-code
f68510385e54f4c82f6b61ed9efe6268349a84622d99623cb4c5bf213ccecb91
/* * 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/sql/MaterializedViewUtils.java
prestodb/presto
apache-2.0
7,389
157
codeparrot/github-code
e1ea138cec88e86e76785cc4d1fd9feda0b31f76b70545cdc63f1dac52f18eb5
package com.davidbracewell.hermes.corpus; import com.davidbracewell.config.Config; import com.davidbracewell.function.SerializableFunction; import com.davidbracewell.hermes.AnnotatableType; import com.davidbracewell.hermes.Document; import com.davidbracewell.hermes.DocumentFactory; import com.davidbracewell.hermes.Her...
Java
hermes-core/src/main/java/com/davidbracewell/hermes/corpus/SparkCorpus.java
dbracewell/hermes
apache-2.0
5,963
174
codeparrot/github-code
2abfef9f3327da8e8904f3d419bd3efb7b9aa6af17c42cbe52c550c8b875a9e6
package com.milleapplis.ovh.api.me; import java.util.Date; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.milleapplis.ovh.api.api.Application; import com.milleapplis.o...
Java
ovh.api/src/main/java/com/milleapplis/ovh/api/me/MEServices.java
1000applis/ovh-api
apache-2.0
8,864
272
codeparrot/github-code
63ed677a000108a3479b3c1b36ab1c5face9f3e4fe9c39bbb051a879ee85e54a
package de.peeeq.eclipsewurstplugin.editor; import com.google.common.collect.Sets; import de.peeeq.eclipsewurstplugin.WurstOccurencesMarker; import de.peeeq.eclipsewurstplugin.builder.ModelManager; import de.peeeq.eclipsewurstplugin.builder.ModelManagerStub; import de.peeeq.eclipsewurstplugin.builder.WurstNature; impo...
Java
EclipseWurstPlugin/src/de/peeeq/eclipsewurstplugin/editor/WurstEditor.java
Crigges/WurstScript
apache-2.0
11,450
361
codeparrot/github-code
9a15f42d853b6eeb2193289ae0748713c2a7a64410ee86f62189beab6999d66f
package com.centurylink.mdw.model.workflow; import com.centurylink.mdw.constant.ActivityResultCodeConstant; import com.centurylink.mdw.constant.WorkAttributeConstant; import com.centurylink.mdw.model.Attributes; import com.centurylink.mdw.model.Jsonable; import com.centurylink.mdw.model.Yamlable; import com.centurylin...
Java
mdw-common/src/com/centurylink/mdw/model/workflow/Transition.java
CenturyLinkCloud/mdw
apache-2.0
6,518
193
codeparrot/github-code
6a3408a9c636d7e64220b366b95aef2d74d0e035c57438818457569678ba8ba6
/* * Copyright 2017 Bartosz Lipinski * * 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
cortado/src/main/java/cortado/Matcher.java
blipinsk/cortado
apache-2.0
1,589
57
codeparrot/github-code
6ffdb84dc0f10cd3b9e8af8543c2d62f5766d57c33664dd1e9476cb664c98d3f
/* * 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
core/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java
strapdata/elassandra-test
apache-2.0
21,079
632
codeparrot/github-code
3ed67eed4724820b1e30a864446bf64fca8aad3a2c1c30c9081fabcb7ed7bf93
using System.ComponentModel.DataAnnotations; using MVCBlog.Localization; namespace MVCBlog.Web.Models.Blog; public class BlogEntryCommentViewModel { #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. public BlogEntryComment...
C#
src/MVCBlog.Web/Models/Blog/BlogEntryCommentViewModel.cs
danielpalme/MVCBlog
apache-2.0
1,896
42
codeparrot/github-code
a04d8fea7fdb1764ec134749f333662a7aaf934021b20cd6d607e58cb62b3628
#include <iostream> #include <typeinfo> #include <type_traits> using namespace std; // First way of operating template <bool C> struct Converter { template<class A, class B> int cvt( A& a, B&b ) { cout << "T1" << endl; a = (b); return 1; } }; // Second way of operating template <> struct Converter<true> { templ...
C++
examples/Sect8/metaprog.cpp
larry-fuy/labs-c11
apache-2.0
961
44
codeparrot/github-code
70c15190e537bb0d0d057cbe632ea5217c75106cd255551cebbf30854c210413
package servlet; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import persistencia.modelos.HistoricoMoeda; impor...
Java
src/main/java/servlet/MoedasServlet.java
allanmoreira/tf_desenvolvimento_sistemas
apache-2.0
2,998
81
codeparrot/github-code
ca2ca78aec38193799efeca27307351279f4293c658f7d3d97547218187d7c07
/* * Copyright 2013 The Closure Compiler 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...
Java
src/com/google/javascript/jscomp/ConstParamCheck.java
google/closure-compiler
apache-2.0
6,351
168
codeparrot/github-code
6c42c21714a6724f501591282168724d104ef562000cb7a50849c3d3b02148eb
//go:build gofuzz // +build gofuzz /* Copyright 2021 The Vitess 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 ...
GO
go/vt/vttablet/tabletmanager/vreplication/fuzz.go
vitessio/vitess
apache-2.0
2,972
120
codeparrot/github-code
67ec04618fb7544d7501ceb8e0a48849addc0b9b357e2f9d77a66dc07f9e5ded
<?php namespace Bee\Security\UserDetails\Doctrine2; /* * Copyright 2008-2014 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....
PHP
framework/Bee/Security/UserDetails/Doctrine2/SimpleUserDetailsService.php
bee-framework/bee-framework
apache-2.0
3,893
146
codeparrot/github-code
876758405c88616df46a7c0346a736221433bbba193d6985de3bc70ff67d5445
/*globals snake */ var /** * Constats */ COLS = 64, ROWS = 32, EMPTY = 0, SNAKE = 1, SNAKEH = 3, SNAKE2 = 4, SNAKEH2 = 5, FRUIT = 2, CHUNK = 6, LEFT = 0, UP = 1, RIGHT = 2, DOWN = 3, KEY_LEFT = 37, KEY_UP = 38, KEY_RIGHT = 39, KEY_DOWN = 40, KEY_LEFT2 = 65, KEY_UP2 = 87, KEY_RIGHT2 = 68, KEY_DOWN2 = 8...
JavaScript
trails.js
Bhuemann/trails
apache-2.0
9,903
478
codeparrot/github-code
3ca560d0d28b45123cd8bfc6921ccb458a2f0da2b26e6328f9e0014a305d7b73
// 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
api/src/org/apache/cloudstack/api/command/user/volume/UploadVolumeCmd.java
mufaddalq/cloudstack-datera-driver
apache-2.0
6,211
163
codeparrot/github-code
290d1a370adedf0a948290ae8cba2209083c227b762c0ee152c31afd4f2c1581
''' Created on 28/set/2014 @author: Vincenzo Pirrone <pirrone.v@gmail.com> ''' import serial, time class Connector: def readline(self): pass def writeline(self, line): pass def close(self): pass class FakeSerial(Connector): def __init__(self, port): p...
Python
osnf/connectors.py
sp4x/osnf
apache-2.0
1,423
62
codeparrot/github-code
1991a41a2e50cdaa17138410621ac6a833b06abe4dd480f868a33b089df4fffa
package org.soluvas.benchmarkemail; /** * Created by ceefour on 12/17/15. */ public class BenchmarkEmailException extends RuntimeException { public BenchmarkEmailException() { } public BenchmarkEmailException(String message) { super(message); } public BenchmarkEmailException(String mes...
Java
src/main/java/org/soluvas/benchmarkemail/BenchmarkEmailException.java
soluvas/benchmarkemail-client
apache-2.0
816
31
codeparrot/github-code
171989beb3b2235e1319bac6de5d0ad2dbf1562def4037604bdb4bdd7adbbce5
<?php namespace lb\components\events; class PDOEvent extends BaseEvent { public $statement; public $duration; public $pdoStatement; public $bindings; public $memory; public $startTime; public $endTime; public $startMemory; public $endMemory; public function __construct() {...
PHP
components/events/PDOEvent.php
luoxiaojun1992/lb_framework
apache-2.0
3,035
184
codeparrot/github-code
758b473285b7b954903008e3302fea9e17411cc5c432c073936e1ad3c2c4149a
// Copyright (c) 2018 Uber Technologies, Inc. // // 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...
GO
src/m3ninx/index/segment/mem/bytes_slice_iterator.go
m3db/m3db
apache-2.0
2,270
87
codeparrot/github-code
b298cdd826ae345ccf502a6ed56cd3bcf177f960910c2e728da6729dac133421
/** * Copyright Microsoft Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Java
microsoft-azure-storage/src/com/microsoft/azure/storage/core/SR.java
emgerner-msft/azure-storage-android
apache-2.0
19,983
175
codeparrot/github-code
511088d636484f5724d6c535616e51ac0f1472f0a869b4485158dfc418d4ea3e
/* * Copyright 2016 Chaos * * 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 wri...
Java
app/src/main/java/org/chaos/fx/cnbeta/net/model/WebCommentResult.java
ChaosLeong/FxcnBeta
apache-2.0
2,192
90
codeparrot/github-code
705c60f128241bdcc4bdd43d7cebe0c04b2edcbde1d61e45574eb904935fdc6e
/*! * kin * Copyright(c) 2016-2017 Benoit Person * Apache 2.0 Licensed */ const { logger } = require("../config"); const errors = require("../errors"); const { ensured_logged_in, split_source_id, validate_source } = require("../utils"); const { load_contacts_mapping, load_layers_mapping, load_places_ma...
JavaScript
src/api_server/routers/sources.js
KinToday/kin-api-server
apache-2.0
4,130
147
codeparrot/github-code
05fdd938410711a4314a0c5a3ea57973daaee4ac78b7102c682d5eb69ad4ba6f
/* Package unifi provides programmatic access to UniFi hardware. */ package unifi import ( "bytes" "crypto/tls" "encoding/json" "fmt" "io/ioutil" "net/http" "net/http/cookiejar" "net/url" "os" "path/filepath" "time" ) // API is an interface to a UniFi controller. type API struct { hc *http.Client ...
GO
api.go
dsymonds/unifi
apache-2.0
6,345
282
codeparrot/github-code
d73dc8dee99bc32b36aa45b7d885ee6e116828f415652e220ad14db2259ccdd9
<?php use kartik\helpers\Html; use yii\helpers\Url; use yii\web\JsExpression; use kartik\widgets\ActiveForm; use kartik\widgets\Select2; //suppress reload of existing asstes in main window $this->assetBundles['yii\web\YiiAsset'] = new yii\web\AssetBundle; $this->assetBundles['yii\validators\ValidationAsset'] = new ...
PHP
modules/purchase/views/purchase-order/windows/_form_party.php
FrenzelGmbH/company-website
apache-2.0
4,002
152
codeparrot/github-code
22782e96f655ab96930f6e92f0e27aff53a05be34bfc2d390e6a7a293e176bce
<?php namespace DCarbone\PHPFHIRGenerated\R4\FHIRElement\FHIRBackboneElement\FHIROperationDefinition; /*! * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using * class definitions from HL7 FHIR (https://www.hl7.org/fhir/) * * Class creation date: December 26th, 2019 15:...
PHP
src/DCarbone/PHPFHIRGenerated/R4/FHIRElement/FHIRBackboneElement/FHIROperationDefinition/FHIROperationDefinitionReferencedFrom.php
dcarbone/php-fhir-generated
apache-2.0
20,079
500
codeparrot/github-code
75ebb4de809a83de9cc7ef07669a4e8d6a9dfd4061d5878167d5ceab471ab4bc
/* * 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
java/java-analysis-impl/src/com/intellij/codeInspection/bytecodeAnalysis/ClassDataIndexer.java
FHannes/intellij-community
apache-2.0
20,285
451
codeparrot/github-code
24ad17f32722737c0691c04f8383a6e3d559d5e82281a4afbdedb186a2b2fa24
'use strict'; // ////////////////////////////////////////////////////////////////////////////// // / @brief ArangoDB Application Launcher Utilities // / // / @file // / // / DISCLAIMER // / // / Copyright 2013 triAGENS GmbH, Cologne, Germany // / // / Licensed under the Apache License, Version 2.0 (the "License") // /...
JavaScript
js/common/modules/@arangodb/foxx/manager-utils.js
baslr/ArangoDB
apache-2.0
11,333
340
codeparrot/github-code
29c1146792689fb7d240ef6351aefbedea90fc6e2b66180acbd888315316ddb8
/************************************************************************/ /* https://oj.leetcode.com/problems/anagrams/ Given an array of strings, return all groups of strings that are anagrams.(µßµ¹´ÊÐò) Note: All inputs will be in lower-case. */ /********************************************************************...
C++
Leetcode/104. Anagrams/Anagrams.cpp
printfchan/Leetcode
apache-2.0
1,260
58
codeparrot/github-code
47e0d7dfd08eeb80dba4e3bc7441eeae020a274d89e8a564dd44f94812acd8fd
#include "apply_models.h" #include <vector> #include <algorithm> #include <tr1/unordered_map> #include <tr1/unordered_set> #include <boost/tuple/tuple.hpp> #include <boost/functional/hash.hpp> #include "tdict.h" #include "hg.h" #include "ff.h" using boost::tuple; using namespace std; using namespace std::tr1; name...
C++
decoder/maxtrans_blunsom.cc
agesmundo/FasterCubePruning
apache-2.0
9,768
288
codeparrot/github-code
02626d456f1cc17a14382dc8c16b4cf219f56533a8b707ccefe37583fdd9876e
<?php /****************************************************************** @filename: Verify.class.php @function: ÑéÖ¤Âë´¦ÀíÀà @author:pengyong.info @date: 2012-10-17 15:25:35 @copyright: centphp.com *******************************************************************/ class Verify { public function __con...
PHP
Core/Extend/Library/ORG/Verify.class.php
minglangasp/pppon
apache-2.0
5,258
217
codeparrot/github-code
ff176f85e352aae1928cfb22e4289dab3575d789bc82398974c07c5357206c98
<?php session_start();?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Welcome to Galli Grounds</title> <meta name="description" content=""> <meta name="author" content=""> <!-- Le HTML5 shim, for IE6-8 support of HTML elements --> <!--[if lt IE 9]> <script src="...
PHP
index.php
vamshi4001/galligrounds
apache-2.0
11,107
256
codeparrot/github-code
7709bb394e99afedfd999f4c929269dc2d261062422a6a9ed79a1f6e65589166
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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...
Java
engine/src/main/java/org/camunda/bpm/engine/impl/history/producer/CacheAwareHistoryEventProducer.java
xasx/camunda-bpm-platform
apache-2.0
3,710
117
codeparrot/github-code
0b87ef52fd1c7621b3f77687cc23dfbbc6694c9dcc6815b32f9d2928641076e8
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C++
aws-cpp-sdk-lambda/source/model/GetEventSourceMappingResult.cpp
JoyIfBam5/aws-sdk-cpp
apache-2.0
2,287
95
codeparrot/github-code
2c75e293894d740c22ef7036af64b98baa3418f6180007b9b69cf0bde13aede5
package org.jboss.resteasy.utils; import org.jboss.resteasy.utils.maven.MavenUtil; import org.jboss.shrinkwrap.api.spec.WebArchive; import java.io.File; import java.util.ArrayList; import java.util.List; /** * Base util class for RESTEasy spring related testing. */ public class TestUtilSpring { private static...
Java
testsuite/arquillian-utils/src/main/java/org/jboss/resteasy/utils/TestUtilSpring.java
awhitford/Resteasy
apache-2.0
2,332
72
codeparrot/github-code
dad4bcd1ad9456558e9ca223cfecb5dc4f9ea8486674542eeeedc2426f39e9c2
# Copyright 2016 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 law or agre...
Python
examples/stop_on_first_failure.py
google/openhtf
apache-2.0
2,353
68
codeparrot/github-code
9340ca78b017e7b90c90ac3f7702866d52d42e7b8ee94f75de7c7f421d6334f1
/* * 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/test/resources/apache-ofbiz-17.12.04/framework/common/src/main/java/org/apache/ofbiz/common/qrcode/QRCodeServices.java
yuri0x7c1/ofbiz-explorer
apache-2.0
14,440
283
codeparrot/github-code
73ff9ddec0ab725e5f5d50af8e356fc76c33e3fd0565149937289da3ddd57586
package br.com.cribble.jhipster.security; import org.junit.Test; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.secur...
Java
src/test/java/br/com/cribble/jhipster/security/SecurityUtilsUnitTest.java
fjuriolli/scribble
apache-2.0
2,506
60
codeparrot/github-code
30c05ca80ab7561f948d4812682e50c2fa622ad78cccfe6a21196aa21b27d730
package com.travelersun.jpa.entity; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import org.apache.commons.lang3.StringUtils; import org.springframework.data.domain.Persistable; import javax.persis...
Java
common-jpa/src/main/java/com/travelersun/jpa/entity/PersistableEntity.java
travelersun/common
apache-2.0
3,235
127
codeparrot/github-code
a4797fca44b95956e49d9744dace55f38a7f5ef0386698b1b23e3ea4c48df857
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>Parse</title> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if...
HTML
ReadOWrite/app/libs/Parse-1.8.2-javadoc/com/parse/Parse.html
zelig81/hyperactive-home
apache-2.0
29,658
577
codeparrot/github-code
8e6edc388f27706c4a3f6a2517ced6987916cc0957dc59176312e0cda3f1af9d
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.provider.sensitivity.multicurve; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import...
Java
projects/analytics/src/main/java/com/opengamma/analytics/financial/provider/sensitivity/multicurve/MulticurveSensitivity.java
McLeodMoores/starling
apache-2.0
8,513
221
codeparrot/github-code
9e0cd8b277f54aaf0c60f482998b3a1304848cfc3d2dd1273c4f8312899ea286
package org.jetbrains.plugins.scala package codeInspection.methodSignature import com.intellij.codeInspection._ import com.intellij.psi.{PsiElement, PsiMethod} import org.jetbrains.plugins.scala.codeInspection.methodSignature.quickfix.RemoveCallParentheses import org.jetbrains.plugins.scala.extensions._ import org.jet...
Scala
src/org/jetbrains/plugins/scala/codeInspection/methodSignature/JavaAccessorMethodCalledAsEmptyParenInspection.scala
ilinum/intellij-scala
apache-2.0
2,051
55
codeparrot/github-code
1d9af6395805875bb1a7966ef41202d9e241656f3ccbd4dfe5b6c54df4c42b54
#!/usr/bin/env python3 # 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 # "...
Python
dev_menu.py
ptrendx/mxnet
apache-2.0
9,244
240
codeparrot/github-code
fba09a388fab88beacc98e714f29a22e23bae333315b2f79c1f2647411562d9c
using System; using System.Collections.Generic; using Akka.Actor; using Akka.Event; namespace SchJan.Akka.PubSub { /// <summary> /// UntypedActor which can publish defined types of messages to subscribers. /// </summary> public abstract class UntypedPublishMessageActorBase : UntypedActor, IPublish...
C#
src/SchJan.Akka/PubSub/UntypedPublishMessageActorBase.cs
schjan/Akka.NET-Extensions
apache-2.0
3,415
104
codeparrot/github-code
83ff2688df25df290e3475ac2e19a1c3536fce6db92750acff6a581af27d5880
/* * Copyright 2014 JHC Systems Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
Scala
src/test/scala/sqlest/executor/AbstractConnection.scala
andrewjskatz/sqlest
apache-2.0
3,613
76
codeparrot/github-code
8cd750502ce5a37cca2f0e19f4d9e8a3568f13e28e8d3355d1c6ad04b26a526b
<?php declare(strict_types=1); /* * +----------------------------------------------------------------------+ * | ThinkSNS Plus | * +----------------------------------------------------------------------+ * | Copyright (c) 2016-Present ZhiYiChuangXiang Technol...
PHP
packages/slimkit-plus-feed/src/FormRequest/API2/StoreFeedPost.php
slimkit/thinksns-plus
apache-2.0
5,851
146
codeparrot/github-code
b015290268a797fc6d8275cb4c4e251d8cadbcc9a34f47b672c1514ea4cc34af
/* * 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-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConsumer.java
CodeSmell/camel
apache-2.0
25,735
515
codeparrot/github-code
e4c32e19bc899294ead699fe96a39ead0880c22a396b10e09a02eb721d9e0d1c
/* * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.math.impl.interpolation; import static com.opengamma.strata.collect.TestHelper.coverPrivateConstructor; import static org.assertj.core.api.Assertions.ass...
Java
modules/math/src/test/java/com/opengamma/strata/math/impl/interpolation/WeightingFunctionsTest.java
OpenGamma/Strata
apache-2.0
946
37
codeparrot/github-code
61e4aed5cdf65f722e7495f87658c3ea0313e372f146ab28b7adacec24229e45
/** * FreeRDP: A Remote Desktop Protocol Implementation * RemoteFX USB Redirection * * Copyright 2012 Atrust corp. * Copyright 2012 Alfred Liu <alfred.liu@atruscorp.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ...
C
channels/urbdrc/client/libusb/libusb_udevman.c
cloudbase/FreeRDP-dev
apache-2.0
22,432
927
codeparrot/github-code
a4f8f011b959103ac1963cf9e91cab2250f3a77b17ef1a45b74e0da003165107
<!-- ~ Copyright 2016 Studentmediene i Trondheim AS ~ ~ 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 ...
HTML
src/main/webapp/app/views/person.html
Studentmediene/anthropos
apache-2.0
3,273
76
codeparrot/github-code
3d5820a535c609d22f0767f5b6d7d8d22d00ad90cad0d7b4d2e4dff6ef04969c
/* * Copyright 2017 Robert Winkler * * 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
swagger2markup/src/test/java/io/github/swagger2markup/internal/component/PropertiesTableComponentTest.java
Swagger2Markup/swagger2markup
apache-2.0
2,907
74
codeparrot/github-code
2db43a4b1646193dc5024648e9275e2af6b071d144fbf6e3cd5a1ed28f1e2d4e
/* * 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 u...
Java
print-api/src/main/java/com/aevi/print/model/PrinterStatus.java
Aevi-UK/android-pos-print-api
apache-2.0
1,121
40
codeparrot/github-code
773bce1676fc563ca83e16600789395c4f6164b997e82c466c22e8e5b3abe7b9
package mapreduce.simple; import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.Text; import org.apache....
Java
src/main/java/mapreduce/simple/MRDescScoreGroupByAge.java
Zychaowill/HadoopLearning
apache-2.0
4,033
129
codeparrot/github-code
f5d74d1ee5dcb4e03726194624a0f3be78a99e787e2d3c6024d9fd775b8d84d4
require([ 'splunkjs/ready!', 'splunkjs/mvc/simplexml/ready!', 'underscore', '../app/pas_ref_app/components/kvstore_backbone/kvstore', 'splunkjs/mvc/multidropdownview' ], function(mvc, ignored, _, KVStore, MultiDropdownView) { // TODO: Add error handling for I/O errors. // No time to fi...
JavaScript
pas_ref_app/appserver/static/setup.js
zenmoto/splunk-ref-pas-code
apache-2.0
16,232
420
codeparrot/github-code
f2b7b48c43914533af9f66ec55690588f5d9d7c428ad24bf9053d631c48dfa19
/* * Copyright 2017-2022 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-lookoutforvision/src/main/java/com/amazonaws/services/lookoutforvision/model/transform/OutputConfigJsonUnmarshaller.java
aws/aws-sdk-java
apache-2.0
2,725
75
codeparrot/github-code
5c95124ada471be3275eed73000a7c08f7e0b78e3aa0738ff8bb5bfb4bbd03e5
/* * Copyright 2017-2022 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-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/GetRecommenderConfigurationsRequest.java
aws/aws-sdk-java
apache-2.0
6,269
185
codeparrot/github-code
cfdcbd08a6a32f6e0c8edbcde94d25ae5ec0a0d2542abcfb307d2f1cef86e560
package org.docksidestage.postgresql.dbflute.bsentity; import java.util.List; import java.util.ArrayList; import org.dbflute.dbmeta.DBMeta; import org.dbflute.dbmeta.AbstractEntity; import org.dbflute.dbmeta.accessory.DomainEntity; import org.docksidestage.postgresql.dbflute.allcommon.DBMetaInstanceHandler; import or...
Java
src/main/java/org/docksidestage/postgresql/dbflute/bsentity/BsWithdrawalReason.java
dbflute-test/dbflute-test-dbms-postgresql
apache-2.0
15,521
374
codeparrot/github-code
a4a724dabd4d446aab0b833682d0d72463b269e22a81834a06acf5427f0e8d16
# # Copyright 2015-2017, Noah Kantrowitz # # 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...
Ruby
lib/poise_monit/monit_providers/binaries.rb
poise/poise-monit
apache-2.0
3,674
120
codeparrot/github-code
a2e0fd4a91c277977bb2ccc37e609c431fec5fc9542c25b29a50386befb76ca1
package org.bridgedb.tools.qc; import java.io.File; import java.sql.Connection; import java.sql.SQLException; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.Set; import org.bridgedb.DataSource; import org.bridg...
Java
org.bridgedb.tools.qc/src/org/bridgedb/tools/qc/BridgeQC.java
amarillion/BridgeDb
apache-2.0
7,388
269
codeparrot/github-code
8ba904c1904678226a6461b491ebb0536331dea984fdad19b11d4a5ac3bc8e79
package org.glamey.training.zookeeper; import lombok.extern.slf4j.Slf4j; /** * ZK节点观察者 * * @author zhouyang.zhou. 2017.11.07.19. */ @Slf4j public class ZKNodeObserver { private final ZKClient client; private SubjectChangedListener subjectChangedListener; public ZKNodeObserver(String address) { client...
Java
distribute/src/main/java/org/glamey/training/zookeeper/ZKNodeObserver.java
glameyzhou/training
apache-2.0
1,431
58
codeparrot/github-code
08889b43e87c37d0f4ddbf82e61fd2ea811621bb98c9a362e393c1883e58efcc
""" 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 use this ...
Python
KEEDIO/1.3/services/KAFKA/package/scripts/rebalance.py
keedio/keedio-stacks
apache-2.0
1,303
41
codeparrot/github-code
4bc3fdfc37170a4020efa19be85418c4904627227dfeff32d073141f606991ac
<!-- Copyright 2017 Capital One Services, LLC and Bitwise, 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...
HTML
hydrograph.ui/hydrograph.ui.help/html/License Info/CDDL 1.1_GPL 2.0LicenseInfo.html
capitalone/Hydrograph
apache-2.0
41,354
716
codeparrot/github-code
c970169c026929c8739bdf64dc62f80ad74b3a523653569bba3bf693f1c66369
package org.gradle.test.performance.mediummonolithicjavaproject.p122; public class Production2459 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
Java
my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p122/Production2459.java
oehme/analysing-gradle-performance
apache-2.0
1,891
105
codeparrot/github-code
f5d9614325f06ede43fc950a5725f3d5a543a10467048542b923579eb5c0418e
package com.netbrasoft.gnuob.shop.cart; import java.util.ArrayList; import java.util.List; import org.apache.wicket.authorization.Action; import org.apache.wicket.authroles.authorization.strategies.role.annotations.AuthorizeAction; import org.apache.wicket.extensions.markup.html.tabs.ITab; import org.apache.wicket.ma...
Java
src/main/java/com/netbrasoft/gnuob/shop/cart/CartMainMenuPanel.java
bendraaisma/gnuob-shop
apache-2.0
2,822
68
codeparrot/github-code
2f3ee9c69b26e87554393c00b83ffe8637939ab5dd1581480d1f9bdaef2f71c5
#region License // Copyright 2012 Julien Lebosquain // // 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#
GammaJul.ReSharper.ForTea/Services/CodeCompletion/DirectiveNameItemsProvider.cs
Diagonactic/ForTea
apache-2.0
3,351
85
codeparrot/github-code
78335f8c42f5d5ac830f1239649f78d2dec1c405ee202364880fd20c5d08c6c1
/* Copyright 2014 The Kubernetes 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 agreed to in writing, ...
GO
staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta.go
realfake/kubernetes
apache-2.0
13,596
292
codeparrot/github-code