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
867f6806c6f8b9a5092849776aecf42c0b2e01c377428dfb0b2aa3005b3654e3
/******************************************************************************* * Copyright 2021 Cognizant Technology Solutions * * 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 * * ...
Java
PlatformRegressionTest/src/main/java/com/cognizant/devops/platformregressiontest/test/ui/reportmanagement/ReportTemplateObjectRepository.java
CognizantOneDevOps/Insights
apache-2.0
3,706
117
codeparrot/github-code
5eee39019ea0dc741d8474f4ef3e207e792adc3050e1bb11258cf77dab6571d4
package oasis.names.tc.wsrp.v1.types; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for Fault complex type. * * <p>The following schema fragment specifie...
Java
commons/src/java/oasis/names/tc/wsrp/v1/types/Fault.java
axeolotl/wsrp4cxf
apache-2.0
1,242
50
codeparrot/github-code
93edcb4a3a0bed760d249d75677d5329be6e09bffc13ffe1954b29a5433e2169
<?php namespace Ajax\semantic\widgets\business; use Ajax\semantic\widgets\dataform\DataForm; use Ajax\JsUtils; /** * @author jc */ abstract class BusinessForm extends DataForm { protected $_fieldsOrder; /** * * {@inheritdoc} * * @see \Ajax\semantic\widgets\dataform\DataForm::__construct() */ public fu...
PHP
Ajax/semantic/widgets/business/BusinessForm.php
phpMv/phpMv-UI
apache-2.0
1,643
60
codeparrot/github-code
1520e3067e1c4ae6720d030dd827970e55ad08768c569d185ce61f07a662173e
/* * Copyright 2006 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
test/com/google/javascript/jscomp/CompilerTestCase.java
leapingbrainlabs/closure-compiler
apache-2.0
38,194
1,114
codeparrot/github-code
e9dead79a176c09cb3abb00b270fab50ca84365b9bf20b83daae14d5cd10625f
/* * 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
modules/base/vcs-log-impl/src/main/java/com/intellij/vcs/log/ui/frame/CommitSelectionListener.java
consulo/consulo
apache-2.0
3,657
104
codeparrot/github-code
02a24c88374249aae5048850377a4d633ceb5be1ca466934133d616be2850631
package com.kayosystem.honki.chapter06.lesson25; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.TextUtils; import android.view.Menu; import android.view.MenuItem; import android.view.WindowManager; import android.widget.EditText; import android.widget.Toast; import andr...
Java
Chapter06/Lesson25/after/app/src/main/java/com/kayosystem/honki/chapter06/lesson25/MainActivity.java
yokmama/honki_android2
apache-2.0
3,064
93
codeparrot/github-code
caf511210fbc7568b3de4a66412601c518acf8d3924c90ebb0c254cfc3044a63
//===- llvm/IR/DebugInfoMetadata.h - Debug info metadata --------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C
llvm/include/llvm/IR/DebugInfoMetadata.h
henfredemars/Fork-Lang
apache-2.0
88,154
2,252
codeparrot/github-code
757a6cf0437ec43b34ce9ddc32b9477808f1462812d5d2770e42bf14d9deeed9
package radium.dump; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.reflect.InvocationTargetException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import radium.dump.impl.NoneCompressor; import radium.dump.impl.ZIPCompressor; public in...
Java
src/main/java/radium/dump/Compressor.java
radium226/dumper
apache-2.0
1,278
47
codeparrot/github-code
c53d0f80b6cd3e518411253d5c705a7aba67feb9cc3f16f0d468a7147abc6625
// Copyright 2018 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 ...
Java
merchant-app/app/src/main/java/com/googleinterns/smb/barcodescanning/BarcodeScanningProcessor.java
googleinterns/product-catalog-builder-for-smbs
apache-2.0
6,273
151
codeparrot/github-code
a3e45fa29d5cd49eed6ed206359aa4427307e9a84517316b37399729e9cbdf63
{% extends 'utilities/obj_edit.html' %} {% load form_helpers %} {% block form %} <div class="panel panel-default"> <div class="panel-heading"><strong>Device</strong></div> <div class="panel-body"> {% render_field form.name %} {% render_field form.device_role %} {...
HTML
netbox/templates/dcim/device_edit.html
rfdrake/netbox
apache-2.0
3,024
73
codeparrot/github-code
8a2a6618802e530d4f527deb4fdd4b43ed3675b6386610c2fc8db882fff2f4b1
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class TitanFrameworkOptionMulticheckPostTypes extends TitanFrameworkOptionMulticheck { public $defaultSecondarySettings = array( 'options' => array(), 'public' => true, 'value' => 'all', 'slug' => true, ); /* * Display for option...
PHP
wp-content/plugins/screets-lc/core/library/titan-framework/lib/class-option-multicheck-post-types.php
josefcts/projeto-adoradores
apache-2.0
2,022
76
codeparrot/github-code
fae4e230256a742663791054f0e19eecf27d2c76654859ffc0a8963acb43e59e
package com.github.kmbulebu.nicknack.core; import java.util.Collections; import java.util.List; import java.util.UUID; import com.github.kmbulebu.nicknack.core.attributes.AttributeDefinition; import com.github.kmbulebu.nicknack.core.events.EventDefinition; import com.github.kmbulebu.nicknack.core.units.BooleanUnit; ...
Java
nicknack-core/src/test/java/com/github/kmbulebu/nicknack/core/SwitchChangeEvent.java
kmbulebu/NickNack
apache-2.0
2,391
115
codeparrot/github-code
1d9094545a8c002d613bebdbc83d782e200a4d9a54800ffe864a3b906b0dcedb
/** * 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
artemis-ra/src/main/java/org/apache/activemq/artemis/ra/recovery/RecoveryManager.java
jbertram/activemq-artemis-old
apache-2.0
4,489
144
codeparrot/github-code
6bc1d51ea747d3fa22e35e27f1bfb362aa28c4ee5b96842e378b763510387244
import inspect import requests from django.core.paginator import Paginator, PageNotAnInteger, EmptyPage from django.core.urlresolvers import reverse from django.db.models import Q from django.http import HttpResponseRedirect, FileResponse, Http404, HttpResponse from django.shortcuts import render from django.template i...
Python
fedoralink/views.py
mesemus/fedoralink
apache-2.0
15,936
432
codeparrot/github-code
98607943007ca599011229bccb08513211218fff98c03cbeaf351ca260f86db7
/* * Copyright 2014 Dmitry Ovchinnikov. * * 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...
Java
src/main/java/org/dimitrovchi/conf/service/demo/DemoService.java
dimitrovchi/annsepademo
apache-2.0
2,933
77
codeparrot/github-code
fa72eab98587912b1583a1956615132e67808fb338c3c83d3e5724634c368841
/* Copyright (C) 2014 KKBOX 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...
Java
src/com/kkbox/toolkit/widget/KKDragAndDropListView.java
KKBOX/android_kktoolkit
apache-2.0
7,747
227
codeparrot/github-code
51559baba820c75d7e8c29bdb0df31feb1e414dcfb9189f6fa10d633a115b91c
package de.be.thaw.connect.parser; import net.fortuna.ical4j.model.Calendar; import net.fortuna.ical4j.model.Component; import net.fortuna.ical4j.model.DateTime; import net.fortuna.ical4j.model.Property; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; impo...
Java
java-app/app/src/main/java/de/be/thaw/connect/parser/WeekPlanParser.java
BullshitPingu/Guide7
apache-2.0
3,866
146
codeparrot/github-code
cde99d13e100354bbd5697f5294bbe15b2e0e2e641e472d081258882e794d670
/** * * Project Name:myweb-web * File Name:ProductSub.java * Package Name:cn.fancy.test * Date:2015-7-31 * */ package cn.telling.shop.vo; import java.io.Serializable; import java.math.BigDecimal; /** * ClassName:ProductSub <br/> * * @author caosheng */ public class ProductSub implemen...
Java
FancyInterface/src/main/java/cn/telling/shop/vo/ProductSub.java
zhgo116/fancy
apache-2.0
3,410
192
codeparrot/github-code
2002df85051e5ba24d2b3f60f4fa0632b8ea4174e1d866dc7d4ed6ae765eb1fe
package de.ck35.metricstore.cache.core.filter; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.mock; import org.joda.time.Interval; import org.junit.Before; import org.junit.Test; import com.google.common.collect.ImmutableList; import de.ck35.metricstore.StoredMetricCallable; import d...
Java
core/src/test/java/de/ck35/metricstore/cache/core/filter/AbstractThreadsafeMetricCacheRequestTest.java
CK35/metric-store
apache-2.0
2,002
47
codeparrot/github-code
d94a4233350c06c627f4a6180064a24fe04b0ae037ac4dafebb6a6ac375bd516
package models; import java.io.IOException; /** * Finder, determine of search method */ public class Finder { /** * Massive of keys */ private String args[]; /** * Variable for validate data */ private Validator validator = new Validator(); /** * Constructor get massiv...
Java
finder/src/main/java/models/Finder.java
gr0607/agrigoriev
apache-2.0
1,029
47
codeparrot/github-code
e8aba98324215150453145ab711a2928724c191ee03b021d4d74c6a3aff1d5d5
# Copyright 2017 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 ag...
Python
tools/android/emulator/resources.py
android/android-test
apache-2.0
2,873
91
codeparrot/github-code
3d9ca426af3edb13a577bf69701e790a96ab5ebbcc7c2baa127075c08257d9e1
<div #translations style="display: none" codelabBreadcrumbParent="TypeScript"> <div i18n="@@shorthandFunction" id="shorthandFunction"> Or use shorthand function notation. </div> <div i18n="@@errorNotAPuppy" id="errorNotAPuppy"> Error: this is clearly not a puppy </div> <div i18n="@@thisIsNumber" id="t...
HTML
apps/codelab/src/app/codelabs/angular/typescript/typescript/typescript.component.html
nycJSorg/angular-presentation
apache-2.0
15,810
472
codeparrot/github-code
45e49f0f4fec4c61726c232316844b58c554f17c20e91d2b85d244c0d2bd228f
<?php $db= Conexao::getInstance(); $usuario_nome = strip_tags(@$_POST['nome']); $usuario_sexo = strip_tags(@$_POST['sexo']); $usuario_data_nascimento = strip_tags(@$_POST['data_nascimento']); $usuario_email = strip_tags(@$_POST['email']); $usuario_celular = strip_tags(@$_POST['celular']); $usua...
PHP
secretaria/php/salvar-teste.php
mauriney/psf
apache-2.0
4,997
129
codeparrot/github-code
f65334ef8218477cba5f1619d3c5ce5a18571a24a0775f14f97d8263c014a7f1
/* * Copyright 2013 must-be.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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
Java
lombok-api/src/main/java/consulo/lombok/processors/util/LombokUtil.java
consulo/consulo-lombok
apache-2.0
3,144
105
codeparrot/github-code
57680807e0a4cdf7b12e0e6643e8b787e8bc6496c4c02527d2e4c3b9b85d1887
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
Java
generator.server.jaxrs/src/main/java/com/bbva/kltt/apirest/generator/server/jaxrs/velocity/rest/impl/RestHandlerServerJaxrsImplGenerator.java
BBVA-CIB/APIRestGenerator
apache-2.0
4,646
113
codeparrot/github-code
5b93fc477231ccee326fb14e0d9bbba09127fa53a24bb30006fd59a9d8db4a1d
package command import ( "fmt" "sort" "github.com/polyverse-security/vulcand/Godeps/_workspace/src/github.com/buger/goterm" "github.com/polyverse-security/vulcand/engine" ) func hostsView(hs []engine.Host) string { t := goterm.NewTable(0, 10, 5, ' ', 0) fmt.Fprint(t, "Name\tDefault\n") if len(hs) == 0 { re...
GO
vctl/command/view.go
polyverse-security/vulcand
apache-2.0
2,858
131
codeparrot/github-code
ad114fda176a1fa2fe459dfe50626fb3286a727d9e8430b32a2c7e6fe1ea6299
#!/usr/bin/python __author__ = 'anson' import optparse import re import sys from utils.utils_cmd import execute_sys_cmd from lib_monitor.monitor_default_format import nagios_state_to_id class messages_check(): def __init__(self, rex, config, type): self.rex = rex self.config = config self.t...
Python
messages_monitor.py
AnsonShie/system_monitor
apache-2.0
2,645
83
codeparrot/github-code
105d6bffa44a34dec58f852b719bf6aa5c43c4950dcdf603139c9f5687eb7bd0
/** * Copyright 2012 Erik Isaksson * * 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
openapp-store-hbase/src/main/java/org/openapplication/store/hbase/HBaseIterable.java
openapp/store
apache-2.0
2,157
85
codeparrot/github-code
a3f762e897cb278095410d1dc0d78ceeb028eb90cd909ac81447f22d30bf0afb
package com.arthurb.iterator.dinermergergery; import java.util.Iterator; /** * Created by Blackwood on 07.03.2016 18:57. */ // Реализуем интерфейс Iterator public class DinerMenuIterator implements Iterator { MenuItem[] list; int position = 0; // Текущая реализация вообще не изменяется... public ...
Java
src/com/arthurb/iterator/dinermergergery/DinerMenuIterator.java
NeverNight/SimplesPatterns.Java
apache-2.0
1,324
51
codeparrot/github-code
bef7a98e0966c72a61e7e67db9062ee7047eaf7527c8873ce5cad6d8cc52c62e
package org.gradle.test.performance.mediummonolithicjavaproject.p322; public class Production6459 { 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/p322/Production6459.java
oehme/analysing-gradle-performance
apache-2.0
1,891
105
codeparrot/github-code
fb9539e4751e6bf10ec9a571256cefa1d078079542a899e66458c5a6164e1f1a
package com.weygo.weygophone.pages.tabs.home.adapter; import android.content.Context; import android.graphics.Point; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.weygo.common.base.JHBaseViewHolder; import com.weygo.common.base.JHLinea...
Java
app/src/main/java/com/weygo/weygophone/pages/tabs/home/adapter/WGHomeFragmentAdapter.java
mumabinggan/WeygoPhone
apache-2.0
21,130
493
codeparrot/github-code
b9a3dc364420604e9bae1500f15f6bf82a54c5499f10147b744366135d5aab7b
package main import ( "bufio" "bytes" "crypto/tls" "flag" "fmt" "hash" "hash/fnv" "io" "io/ioutil" "log" "math" "math/rand" "net" "net/http" "net/http/httptrace" "net/url" "os" "os/signal" "path" "strconv" "strings" "sync" "sync/atomic" "syscall" "time" "github.com/buoyantio/slow_cooker/hdrr...
GO
main.go
BuoyantIO/slow_cooker
apache-2.0
15,339
573
codeparrot/github-code
04740b44505a86cf1620397de32abf1267215a388181df7ba7772351da405949
package org.hswebframework.web.crud.web.reactive; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; import org.hswebframework.ezorm.rdb.mapping.ReactiveRepository; import org.hswebframework.web.api.crud.entity.PagerResult; import org.hswebframework.web.api.crud.entity.Quer...
Java
hsweb-commons/hsweb-commons-crud/src/main/java/org/hswebframework/web/crud/web/reactive/ReactiveQueryController.java
hs-web/hsweb-framework
apache-2.0
4,967
167
codeparrot/github-code
c1a008f1096f13d513532178d495f51cb02cd2d3febfc4bc4f22a86061fd11ae
<?php declare(strict_types=1); namespace BlockHorizons\BlockSniper\brush\types; use BlockHorizons\BlockSniper\brush\BaseType; use BlockHorizons\BlockSniper\sessions\SessionManager; use pocketmine\level\ChunkManager; use pocketmine\Player; /* * Changes the biome within the brush radius. */ class BiomeType extends...
PHP
src/BlockHorizons/BlockSniper/brush/types/BiomeType.php
Sandertv/BlockSniper
apache-2.0
1,153
57
codeparrot/github-code
21991af05b827349690cb189ca801badd7d4c333b416c97e5a45c2533717ad72
package io.adok.android.model; import android.app.Application; import android.net.Uri; import android.provider.Settings; import android.text.TextUtils; import com.google.gson.FieldNamingPolicy; import com.google.gson.GsonBuilder; import java.io.File; import java.util.List; import io.adok.android.AdokApplication; im...
Java
app/src/main/java/io/adok/android/model/AdokController.java
AdokApp/adok-android
apache-2.0
5,447
158
codeparrot/github-code
b41396fee135d3feb778610e620e477c5d7a6235087bf7f688f27542e832c4f5
// Copyright 2000-2019 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.xdebugger.impl; import com.intellij.CommonBundle; import com.intellij.execution.ui.ConsoleView; import com.intellij.execution.ui.ConsoleViewContentType; impo...
Java
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/XDebuggerUtilImpl.java
paplorinc/intellij-community
apache-2.0
29,813
682
codeparrot/github-code
5c01daa288aa9b8641ce54b0df174b17394c00f57c1bbf058c72f1641ab361e6
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
Java
geode-core/src/main/java/org/apache/geode/internal/cache/backup/UnixScriptGenerator.java
smanvi-pivotal/geode
apache-2.0
2,474
70
codeparrot/github-code
e3b2678d4156f648f69a70ef1f74b10e610b09fda8bceb8b3b560db37c1f8c27
using Abp.Domain.Entities; using Abp.EntityFrameworkCore; using Abp.EntityFrameworkCore.Repositories; namespace Helios.EntityFrameworkCore.Repositories { /// <summary> /// Base class for custom repositories of the application. /// </summary> /// <typeparam name="TEntity">Entity type</typeparam> //...
C#
src/Helios.Zero/Helios.Zero.EntityFrameworkCore/EntityFrameworkCore/Repositories/AbpZeroTemplateRepositoryBase.cs
kelely/Helios
apache-2.0
1,509
41
codeparrot/github-code
fc7494d0ee96ca06f8b4b1f17a7ab0ec2350b63ec00f9be24e8fa6ef299c6aff
<?php //Simple Message Manage //简单信息管理 //2016.8.7 //By DTSDAO //Install if (file_exists("file/config.php")&&($_POST['step'] != "config")&&($_POST['step'] != "finish")){ header("Location: index.php"); exit; } ini_set('error_reporting','E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE'); if (!$_POST['step']) $title = ...
PHP
install.php
dtsdao/SMM
apache-2.0
7,874
233
codeparrot/github-code
66e650d9fe61c14257dd8ceb3a53d2c8e72ecab1fd8d7fa570e85d7ea8173a9a
<?php return [ 'rating' => 'Rating', /* action rating */ 'actionRating' => 'Action ratings', 'actionDuration' => 'Action duration', 'alreadyRatedAction' => 'You have already rated this action', 'youReceivedThisEmailVolunteer' => 'You recerived this questionnaire because you are registered as ...
PHP
VoluntEasy/resources/lang/en/entities/ratings.php
scify/VoluntEasy
apache-2.0
2,708
70
codeparrot/github-code
69a194f33f303547526ebb924ebec386091e9bc903cccb3b60cf631f48540310
using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Reconfig.Common.CQRS; using Reconfig.Domain.Model; using Reconfig.Domain.Queries; namespace Reconfig.Web.Controllers.Api { [AllowAnonymous] public class ConfigController : ApiControllerBa...
C#
src/Web/Controllers/Api/ConfigController.cs
mauriciogentile/reconfig
apache-2.0
5,018
135
codeparrot/github-code
b8ce5637bd1d6e53e133af981f01d670c1e40f2b211863ef9d789060aa918ef2
/* * 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-workmail/src/main/java/com/amazonaws/services/workmail/model/DnsRecordVerificationStatus.java
aws/aws-sdk-java
apache-2.0
1,880
62
codeparrot/github-code
aae04cfd24aa877d5c95f11f418a4a0164634a27974a06b1d9c216de00477f97
package mapping var ( transportationMapFn = func(kv map[string]interface{}) map[string]interface{} { var cl string if class, ok := kv["highway"]; ok { cl = class.(string) } return map[string]interface{}{ "@layer": "transportation", "class": cl, } } landuseMapFn = func(kv map[string]interface{})...
GO
lib/mapping/default.go
thomersch/grandine
apache-2.0
1,982
70
codeparrot/github-code
1a2ec47667d8b4ab3d8662c146e5215deda565c857d7467dfe61609f7f8682dc
/* * Copyright 2015 Adaptris Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
adapter/src/test/java/com/adaptris/core/services/jmx/ObjectMetadataValueTranslatorTest.java
mcwarman/interlok
apache-2.0
3,677
115
codeparrot/github-code
2966b144fe7c12899b53261fb5fd7e71a8fb8233abb535cc6151c6117b02673f
package krasa.svn.frontend.pages.mergeinfo; import krasa.svn.backend.dto.MergeInfoResult; import krasa.svn.backend.dto.MergeInfoResultItem; import krasa.svn.frontend.component.table.SVNLogEntryTablePanel; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.list.ListItem; import org.a...
Java
src/main/java/krasa/svn/frontend/pages/mergeinfo/MergeInfoResultPanel.java
krasa/DevSupportApp
apache-2.0
1,938
55
codeparrot/github-code
bb505bccdeb7d3cc9c2aae7bd366d04c14f95bafcc46e959512a17f335bc38d0
package com.xxx.market.service.api.order; import java.io.Serializable; @SuppressWarnings("serial") public class PalletElementResultDto implements Serializable{ String label; //显示文本 String key; //JSON数据 key值 String type; //类型 分table span div img等 String text; //显示文本 String imgSrc; //当type为img的时候有值 public Strin...
Java
wscs-service-api/src/main/java/com/xxx/market/service/api/order/PalletElementResultDto.java
pjworkspace/wscs
apache-2.0
854
54
codeparrot/github-code
9442f6b0d108be27cc2a819bd2e6d4097eacbe7dc80eda93b808df6202e707b3
package com.zhy.sample; import android.content.Context; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import com.zhy.autolayout.AutoLayoutActivity; import c...
Java
sample/src/main/java/com/zhy/sample/CategoryActivity.java
hongyangAndroid/AndroidAutoLayout
apache-2.0
1,564
66
codeparrot/github-code
b006334487714cc7b52d13dd1879cf3f5ce4e72a1a030db833a4f15a2822052c
<?php /** * Copyright 2010 SURFnet B.V. * * 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...
PHP
library/EngineBlock/Xml/Validator.php
OpenConext/OpenConext-engineblock
apache-2.0
3,363
97
codeparrot/github-code
9dc020b26ea4ead2920d39fea3c4ae7a66d3efe54d6fd4a5287015525d98da63
package org.apereo.cas.config; import org.apereo.cas.JmsQueueIdentifier; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.configuration.support.Beans; import org.apereo.cas.hz.HazelcastConfigurationFactory; import org.apereo.cas.services.RegisteredServiceHazelcastDistributedCacheMa...
Java
support/cas-server-support-service-registry-stream-hazelcast/src/main/java/org/apereo/cas/config/CasServicesStreamingHazelcastConfiguration.java
leleuj/cas
apache-2.0
3,624
79
codeparrot/github-code
39f8399c661833069c79ad0305d41795f63f8a1e48852d6d07638860bc2d4d12
/* * Copyright 2014 WANdisco * * WANdisco 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: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
c5db/src/main/java/c5db/regionserver/RegionServerService.java
cloud-software-foundation/c5
apache-2.0
6,704
189
codeparrot/github-code
862dbfb4a77818a4503b69da349d7a0a58e733cefb0188e0285622f0e33c52ae
package com.example.zjy.niklauslibrary.widget.behavior; import android.content.Context; import android.support.design.widget.CoordinatorLayout; import android.util.AttributeSet; import android.util.Log; import android.view.View; /** * Created by zjy on 2016/11/24. */ public class MyScrollBehavior extends Coordinato...
Java
niklauslibrary/src/main/java/com/example/zjy/niklauslibrary/widget/behavior/MyScrollBehavior.java
1147576679/findbest
apache-2.0
2,213
70
codeparrot/github-code
80fb00bc27682d174bf6de6b7a27bc54734b300b74e014c0e6479bcfd0cd9da3
package io.corbel.lib.mongo.index; import java.util.concurrent.TimeUnit; import com.mongodb.BasicDBObject; import com.mongodb.DBObject; public class IndexOptions { private final BasicDBObject options; public IndexOptions() { options = new BasicDBObject(); } public IndexOptions setSparse(boolean sparse) { ...
Java
src/main/java/io/corbel/lib/mongo/index/IndexOptions.java
corbel-platform/lib-mongodb
apache-2.0
1,064
54
codeparrot/github-code
cb5eb09d2674fcf9330942110fb97cbbcab91b7a928a6cd52e7652c74e87fdaa
package com.tcl.mie.downdertest; import android.content.Context; import com.tcl.mie.downloader.Downloader; import com.tcl.mie.downloader.IDownloader; /** * Created by Rex on 2015/7/2. */ public class DownloadManager { private static DownloadManager instance; private IDownloader downloader; private D...
Java
downloadtest/src/main/java/com/tcl/mie/downdertest/DownloadManager.java
mutsinghua/DownloadSDK
apache-2.0
834
37
codeparrot/github-code
d457f25d21883b496b342dbae84ff98d43791d31d2f911ef5e5a6c84ed9b3f22
/* * Copyright (C) 2016 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...
Java
app/src/main/java/com/example/android/miwok/NumbersActivity.java
ankit-tyagi/miwok
apache-2.0
5,810
132
codeparrot/github-code
bd43c1df0c90daf47bfcf00bffc64b342aa76e14a4c2ae9a6b168699698eff07
#!/usr/bin/env python # # Copyright 2017 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 requir...
Python
examples/ad_manager/v202111/publisher_query_language_service/get_all_browsers.py
googleads/googleads-python-lib
apache-2.0
1,900
56
codeparrot/github-code
ead80a20347c73b5f5f5f488b735f8de611b68c5a22bbeb5f4f7af37a1adcdb8
# Copyright 2011-2019, The Trustees of Indiana University and Northwestern # University. 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 # # ...
Ruby
app/helpers/migration_report_helper.rb
ualbertalib/avalon
apache-2.0
1,477
36
codeparrot/github-code
42e9722603d86dc78524f9c6c1015695dc015764cf9715cb5c0acc6f1187cef7
/** * Copyright 2010 The ForPlay 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 a...
Java
core/src/forplay/html/HtmlJson.java
forplay/forplay
apache-2.0
6,055
262
codeparrot/github-code
bc3c6a12ae4bcaad241e871690dcb126106e55f415c1a47716e9202021d0581e
/* * Copyright 1999-2000,2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
C++
src/xercesc/util/XMLEBCDICTranscoder.cpp
rherardi/xerces-c-src_2_7_0
apache-2.0
11,684
205
codeparrot/github-code
2d348ada53d7904d96013bcf4dc5829a3b4c4c4545aebdc05325771d4f52afe3
package com.myit.server.util; import java.util.Date; import org.apache.log4j.Logger; import com.myit.common.util.DateConvert; import com.myit.common.util.StringConvert; public class CodeGenerator { private Logger logger = Logger.getLogger(this.getClass()); private int curValue; private Date dateT...
Java
code/myit-server/src/main/java/com/myit/server/util/CodeGenerator.java
346674058/SuRui
apache-2.0
2,240
98
codeparrot/github-code
76b7b8516286e9a4c856f6886a39fef244980127f753da3cfa2f090f321e7782
/* * 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-appconfig/source/model/ConfigurationProfileSummary.cpp
cedral/aws-sdk-cpp
apache-2.0
3,373
138
codeparrot/github-code
936fda847206cda5178f0a9162a36a4ff885997f62f9936ecd6b86095a29e509
package com.ning.pummel; import com.google.common.io.ByteProcessor; import com.google.common.io.ByteStreams; import com.google.common.io.Resources; import java.io.IOException; import java.net.URL; import java.util.concurrent.Callable; import java.util.concurrent.TimeUnit; public class Fist implements Callable<Poll> ...
Java
src/main/java/com/ning/pummel/Fist.java
brianm/pummel
apache-2.0
1,104
43
codeparrot/github-code
6b39f48468bc411e253d77262ca154486c7a4a8ebee6ee597f36a6d3a6b74ce9
/* Copyright 2004-2019 Jim Voris * * 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
qvcse-qvcslib/src/test/java/com/qumasoft/qvcslib/requestdata/ClientRequestServerUpdatePrivilegesDataTest.java
jimv39/qvcsos
apache-2.0
4,670
121
codeparrot/github-code
157a4660c9fb606848a86756b2f96155af48a8e0da5f7e4a41e4105f4c22bd94
/*========================================================================= * * 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/Core/Mesh/include/itkTriangleMeshToBinaryImageFilter.h
eile/ITK
apache-2.0
7,919
250
codeparrot/github-code
3f9cb8b3e695467f9b328199f012b2f02cf282e5ed553a01587a90ab10fa6124
from django.db.models.sql import compiler class SQLCompiler(compiler.SQLCompiler): def as_sql(self, with_limits=True, with_col_aliases=False, subquery=False): if with_limits and self.query.low_mark == self.query.high_mark: return '', () raw_sql, fields = super(SQLCompiler, self).as_sql...
Python
django_informixdb/compiler.py
leowa/django_informixdb
apache-2.0
1,808
50
codeparrot/github-code
f8a20789dce03d4e140fd1583223294ad2f6b52dd2c72807fe4f50c6488f5cbe
<!DOCTYPE html> <html> <head> <title>The Groovy 2 Tutorial - Collections</title> <meta name="The Groovy 2 Tutorial" content="text/html; charset=utf-8" /> <meta name="description" content="Having a single number or string is useful but collections help you keep them together." /> <meta name="author" content="Duncan D...
HTML
publishing/book-definition/src/main/draft/site/parts/02_VariablesDataTypes/Collections.html
dedickinson/engineering-notebook
apache-2.0
17,332
431
codeparrot/github-code
f5467d5c9938072a93971d3edad62d41ffd7dc396e159176d11e2a78aad118b1
/** * Copyright (C) 2009-2010 Typesafe Inc. <http://www.typesafe.com>. */ package akka.osgi.sample.internal import language.postfixOps import akka.cluster.Cluster import akka.cluster.ClusterEvent.{CurrentClusterState, LeaderChanged} import akka.event.Logging //Akka adaptation of //http://www.dalnefre.com/wp/2010/08...
Scala
core/src/main/scala/akka/osgi/sample/internal/Hakker.scala
Crossing-Tech/akka-osgi-sample
apache-2.0
5,539
170
codeparrot/github-code
60bc33a8e5a1c61e124467c58a717dd9f73057d2c2391875041e7c4c816f4cf0
package com.lxf.weatherdemo.db; public class DBInfo { public static final String DB_NAME = "area.db"; public static final String DB_VERSION = "1.0"; public static final String PROVINCE_TABLE_NAME = "province"; public static final String PROVINCE_COLUMN_ID = "id"; public static final String PROVINCE_COLUMN_CODE =...
Java
WeatherDemo/src/com/lxf/weatherdemo/db/DBInfo.java
feidegenggao/WeatherDemo
apache-2.0
1,714
39
codeparrot/github-code
a84897db9e5dc2de6d716d56dbbb380d01b6d665564f94ccf4fb0efa06916c96
function terbilang(bilangan) { bilangan = String(bilangan); var angka = new Array('0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'); var kata = new Array('','satu','dua','tiga','empat','lima','enam','tujuh','delapan','sembilan'); var tingkat = new Array('','ribu','juta','milyar','triliun');...
JavaScript
files/js/terbilang_js.js
rizafr/ANCOL-SEAFRONT
apache-2.0
2,060
85
codeparrot/github-code
6dcd3b7c1a92342cfa216d364ae8ab8a152eb5a462544074f330e5e795957a43
'use strict'; var FetchContextApi = require('fetch-context-api.js'); module.exports = SimpleMovableFetch; var FETCH_STATE_WAIT_FOR_MOVE = 1; var FETCH_STATE_ACTIVE = 2; var FETCH_STATE_STOPPING = 3; var FETCH_STATE_STOPPED = 4; var FETCH_STATE_TERMINATED = 5; function SimpleMovableFetch(fetcher, indirectCloseIndica...
JavaScript
src/simple-fetcher/simple-movable-fetch.js
MaMazav/ImageDecoderFramework.js
apache-2.0
6,080
170
codeparrot/github-code
a1e05f9803d12850adf3fbfbf7f1c9f5dc4a9a0d7709d623f9e86af3b0521e0a
import React from 'react' import PropTypes from 'prop-types' import Suggestion from './Suggestion' import SuggestionInfoModal from './SuggestionInfoModal' import SuggestionGoogleModal from './SuggestionGoogleModal' class SuggestionsReview extends React.Component { constructor(props) { super(props) this.sta...
JavaScript
src/components/chatrooms/suggestions/SuggestionsReview.js
AleksandrRogachev94/chat-vote-go-frontend
apache-2.0
2,527
92
codeparrot/github-code
a07b6d392fe46c60ee4d1848d98e2c72848670470426cf9535c618653fdbaa71
/** * 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/java/org/apache/cassandra/io/util/DataOutputBuffer.java
gmargari/apache-cassandra-1.1.0-src
apache-2.0
1,791
68
codeparrot/github-code
23b53d18e39d88856c2b2c0c9f577490586104c530a6c70314998de3971638d8
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * 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/LICE...
Java
plugins/org.jkiss.dbeaver.ui/src/org/jkiss/dbeaver/ui/TableToolTip.java
Sargul/dbeaver
apache-2.0
5,101
124
codeparrot/github-code
091391537bc30c15e7eee549db51650640cc2b5e57e873cd7f0931f81c77a93e
#!/bin/bash #################### FUNCTION DEFINITIONS #################### usage() { echo '# Example usage:' echo 'export WORKLOAD_NAME=EXAMPLE' echo 'export DESCRIPTION="Example 10sec sleep command"' echo 'export WORKLOAD_CMD="sleep 10"' echo $0 echo echo See example*.sh exit 1 } # Required paramete...
Shell
scripts/run-and-measure.sh
jschaub30/viz_workload
apache-2.0
5,796
208
codeparrot/github-code
298cda75c27eb68d3b2fcdbebd8e60fbc453d55561ebb49aa13bad6239666289
// Copyright 2015 Jacques Supcik, HEIA-FR // // 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...
GO
ledmatrix/font/font.go
heia-fr/telecom-tower
apache-2.0
1,451
68
codeparrot/github-code
d2749c8d361b4eef0f4e2db21c1bb1aace1ab68ccfc8538158cdce52a89a0d37
<?php /** * XML处理类 * @author Yurun <yurun@yurunsoft.com> * @copyright 宇润软件(Yurunsoft.Com) All rights reserved. */ class XML { /** * XML文本转为数组 * @param string $content * @return array */ public static function toArray($content) { $doc = new DomDocument('1.0', 'UTF-8'); $doc->loadXML($content,LIBXML_CO...
PHP
Ex/Lib/XML.class.php
Yurunsoft/YurunPHP
apache-2.0
3,030
147
codeparrot/github-code
7e412d7c2dc50592d44565928850664ceb7cd0b0fbe030f60d1d5fafb2353904
package com.myntra.coachmarks.providers; import android.content.Context; import android.content.res.Resources; import android.util.DisplayMetrics; import com.myntra.coachmarks.providers.interfaces.IScreenInfoProvider; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito...
Java
coachmarks/src/test/java/com/myntra/coachmarks/providers/DefaultScreenInfoProviderTest.java
myntra/CoachMarks
apache-2.0
2,173
63
codeparrot/github-code
033d66974c64f889f0bd2e33a5dc996c4f664ed6f10223c152a8d9ed5f142d24
using System.Data.Entity; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; namespace Shinetechchina.Employee.Web.Models { // You can add profile data for the user by adding more properties to your ApplicationUser class, p...
C#
Shinetechchina.Employee/Shinetechchina.Employee.Web/Models/IdentityModels.cs
VinnieFeng/Shinetechchina
apache-2.0
1,222
33
codeparrot/github-code
9a5e17d51c2c384def1e86fc39ee32a302a8df3bb902799c1a5183001ddf5660
using Telerik.Charting; using Telerik.Core; using Telerik.UI.Automation.Peers; using Windows.Foundation; using Windows.UI.Xaml; using Windows.UI.Xaml.Automation.Peers; using Windows.UI.Xaml.Media; namespace Telerik.UI.Xaml.Controls.Chart { /// <summary> /// This is the base class for all chart annotations. ...
C#
Controls/Chart/Chart.UWP/Visualization/Annotations/ChartAnnotation.cs
geotinc/UI-For-UWP
apache-2.0
5,003
164
codeparrot/github-code
7b65bec1eec740c4ec6cca791d61c876ce0caa1735f1150e96c35dc30351e034
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
Java
deeplearning4j/deeplearning4j-core/src/test/java/org/deeplearning4j/exceptions/TestInvalidInput.java
RobAltena/deeplearning4j
apache-2.0
12,070
315
codeparrot/github-code
0faf806e86848abce8112dbb47fdaabd2cf5579aaf5b73d127461dbb22fa3642
package cgeo.geocaching.activity; import cgeo.geocaching.R; import cgeo.geocaching.settings.Settings; import org.apache.commons.lang3.StringUtils; import org.eclipse.jdt.annotation.NonNull; import android.app.Activity; import android.content.Intent; import android.support.v4.app.ActivityCompat; import android.suppor...
Java
main/src/cgeo/geocaching/activity/ActivityMixin.java
eric-stanley/cgeo
apache-2.0
5,233
149
codeparrot/github-code
89ee57001d9f31a6ccb12118bf0585db1ce00f41702d18c3f1ec5f1b102d5b3a
'use strict'; /** * @ngdoc function * @name carouselApp.controller:ManagementCtrl * @description * # ManagementCtrl * Controller of the carouselApp */ angular.module('carouselApp') .controller('ManagementCtrl', ['$scope', '$log', '$location', '$http', 'CONFIG', function ($scope, $log, $location, $http, CONFIG) {...
JavaScript
app/scripts/controllers/management.js
PaoloMessina/kiosk-loop-carousel
apache-2.0
2,259
68
codeparrot/github-code
5741ecd48aa55d23d451583d0fb9f7793a8631abd0867d72139b6693094bb5bd
""" Cisco_IOS_XR_patch_panel_cfg This module contains a collection of YANG definitions for Cisco IOS\-XR patch\-panel package configuration. This module contains definitions for the following management objects\: patch\-panel\: patch\-panel service submode Copyright (c) 2013\-2016 by Cisco Systems, Inc. All right...
Python
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_patch_panel_cfg.py
111pontes/ydk-py
apache-2.0
2,513
111
codeparrot/github-code
cdab5658c89d99ba542ea5bcca4511dc3e60bc893e5bc9b55d2e9cb3d4dd2d71
// Copyright 2015, 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 applicabl...
C#
examples/AdWords/CSharp/v201502/CampaignManagement/PromoteExperiment.cs
stevemanderson/googleads-dotnet-lib
apache-2.0
3,751
99
codeparrot/github-code
da19d01f6f12f6db64fadad269b0573cea6502eef7dadde1c8279be328cd943f
/* * Copyright (c) 2017 Dewin J. Martínez. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
Java
library/src/main/java/com/github/dewinjm/textclock/TextClock.java
dewinjm/TextClock
apache-2.0
4,587
140
codeparrot/github-code
24fb07be6d1ab4efc78f771608830edc164de7602f491cb5aebb5c16fbdbc30a
/*========================================================================= Library: CTK Copyright (c) Kitware 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.ap...
C++
Libs/Widgets/ctkFileDialog.cpp
CJGoch/CTK
apache-2.0
9,068
293
codeparrot/github-code
556d55e64a08c05544fb95e4c95f6804a15abd60ac595270210b058c2f2a0d27
package ugc import ( v1 "go-common/app/service/main/archive/api" "go-common/library/time" ) // Archive archive def. corresponding to our table structure type Archive struct { ID int AID int64 MID int64 TypeID int32 Videos int64 Title string Cover string Content string Dur...
GO
126-go-common-master/app/job/main/tv/model/ugc/archive.go
LQJJ/demo
apache-2.0
2,918
139
codeparrot/github-code
316464dba788c96eb92d44f83abd77049afbc0a764eeaa36662375cc9e7558c4
package br.com.test.domain; import java.math.BigDecimal; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import com...
Java
rest-cloud/src/main/java/br/com/test/domain/Preco.java
cleitonferreira/test_rest
apache-2.0
1,557
73
codeparrot/github-code
8949b053ba60c0caa9958ba69041d88ced4c0a46ca51b79949bf2da8661285ef
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
core/src/main/java/org/apache/accumulo/core/data/impl/TabletIdImpl.java
adamjshook/accumulo
apache-2.0
3,011
101
codeparrot/github-code
92791292d9119b044a0e40c67224c2037bc42368a0c56e50d6c7f1c6f571c498
/* Copyright 2016 Vanderbilt University 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...
C
src/toolbox/skiplist.h
PerilousApricot/lstore
apache-2.0
3,612
109
codeparrot/github-code
486320248a8544a9455aaa035d5aa9fef693088e73abb4a6428be73dbde68249
module HbvsHelper #CONSTANT ? #countries with HBsAg prevalence >2% #@@hbv_2pcnt_countries = { #'CN' => '1' #} #countries HBsAg prevalence >8% #@@hbv_8pcnt_countries = { #'CN' => '1' #} #CDC hbv risk guideline, number => guideline @@hbv_guidelines = { 1 => Guideline.new(:gn => 1, ...
Ruby
app/helpers/hbvs_helper.rb
tectronics/pophealth-booster
apache-2.0
11,611
279
codeparrot/github-code
1e3d2dd2e82d35e8ff0cd543af73ebfd98ed2bb5496e310bd6b8fe1b16ad645e
/* * 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/src/main/java/com/hazelcast/sql/impl/worker/QueryOperationExecutable.java
mdogan/hazelcast
apache-2.0
1,746
54
codeparrot/github-code
3c6814b86d811d1c6d84358e95c1bc2fcb2d6f95011b03dbb95c9e997cacbbe3
/* * Copyright 2010-2016 Rajendra Patil * * 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
src/main/java/com/googlecode/webutilities/modules/ne/YUICompressModule.java
rpatil26/webutilities
apache-2.0
6,303
161
codeparrot/github-code
77d3fde1ed491321a1ad5474ffebc482c08304e4fb7a41bf660e32ae4a14066c
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD // // 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
examples/32_helltec/components/arduino/cores/esp32/esp32-hal-uart.c
Ebiroll/qemu_esp32
apache-2.0
10,966
427
codeparrot/github-code
c42f799be2ef360997a068fef8f75013a620b7410e569c17cbf05c1cc9e89df5
<?php class AuthController extends BaseController { public function getLogin() { return View::make('auth.index'); } public function postLogin() { //gather sanitize input $input = array( 'username' => Input::get('username'), 'password' => Input::get('password') ); //set validation rules ...
PHP
app/controllers/AuthController.php
nicopenaredondo/dar
apache-2.0
915
46
codeparrot/github-code
60a3c5da0a340254135626e078f706202792bf04b94c0a47a45c7963df9fb90f
package com.loveboyuan.smarttrader; import java.io.Serializable; import java.util.ArrayList; /** * Created by boyuangu on 2015-10-16. * * Inventory is yet another model class for storing collection * info about a particular user; but in contrast to FriendList, * it stores all the items a user possesses. */ pu...
Java
SmartTrader/app/src/main/java/com/loveboyuan/smarttrader/Inventory.java
CMPUT301F15T16/Team16Project
apache-2.0
2,342
99
codeparrot/github-code
4610501612a625ba281d8143ca9cfbb4b56848db98be0d2189d0a5a4a5e032e5
/* * Copyright 2012-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 * * Unless required by ap...
Java
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/DefaultEndpointPathResolver.java
ihoneymon/spring-boot
apache-2.0
1,366
44
codeparrot/github-code
1973efab840d319054a232a1cccab4d05916c7d1b43a5177c601f5d887250bda
/* * Copyright 2017 Datamountaineer. * * 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...
Scala
kafka-connect-redis/src/main/scala/com/datamountaineer/streamreactor/connect/redis/sink/config/RedisConfigConstants.scala
datamountaineer/stream-reactor
apache-2.0
3,265
83
codeparrot/github-code
ac08df201d2be9d287937b32c365a8a7410dec7dc759aa6260d83224f595cac6
/** * @license * Copyright 2018 Google LLC. 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 a...
TypeScript
tfjs-converter/scripts/gen_json.ts
tensorflow/tfjs-converter
apache-2.0
3,168
92
codeparrot/github-code
3f849d43ce7ad2a712613d792fcb4c61b2b7d267aebe97e66e9f9bc45ded4098
package biolinks.model; import java.net.URI; import java.util.ArrayList; import java.util.List; import ws.biotea.ld2rdf.util.OntologyPrefix; import ws.biotea.ld2rdf.util.annotation.AnnotationOntologyPrefix; public class Biolink implements Concept{ private String id; private URI biolinkURI, givenDocURI, analyzedDoc...
Java
src/main/java/biolinks/model/Biolink.java
ljgarcia/biotea-biolinks
apache-2.0
3,858
179
codeparrot/github-code
99fe3e323d62b7761bc2d7a11a968d0a6144370635502d1b6ed2d28ad27f898d
package ca.six.todo.home; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.w...
Java
deprecated/ImitateTodo/app/src/main/java/ca/six/todo/home/HomeActivity.java
songzhw/AndroidArchitecture
apache-2.0
2,104
66
codeparrot/github-code