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
12a9fb7af0389c1da85f9b76d801c097f540a30b201b28faf12a8abb437fdc4b
// Copyright 2020 The Oppia Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
TypeScript
core/templates/filters/translate.pipe.spec.ts
prasanna08/oppia
apache-2.0
6,271
173
codeparrot/github-code
07f2563e73060d07703496947114632725a7e91e7b253043f90ec64781aeb123
package won.protocol.message.builder; import java.util.Optional; import won.protocol.message.WonMessageDirection; /** * Base class for builders that need sub-builders for content, sockets, etc. * <p> * The type parameters <code><THIS></code> and <code><PARENT></code> are used as * the return types of builder met...
Java
webofneeds/won-core/src/main/java/won/protocol/message/builder/BuilderScaffold.java
researchstudio-sat/webofneeds
apache-2.0
1,265
37
codeparrot/github-code
f74ebf13d61916aabf4ef8add146d797bc528b9c070cd943cb1e8810442dc3e5
package com.guojianyiliao.eryitianshi.page.view; import android.content.Context; import android.os.Handler; import android.os.Message; import android.support.v4.view.ViewPager; import android.text.TextPaint; import android.util.AttributeSet; import android.view.LayoutInflater; import android.widget.ImageView; import a...
Java
app/src/main/java/com/guojianyiliao/eryitianshi/page/view/LectureroomAmongBanner.java
zmc969213509/eyts
apache-2.0
10,554
301
codeparrot/github-code
4df4009f782ab22f59e5e1f7e6e458a18eeb1301604cc935f21c6c4055d10d52
package com.idc.webchannel.pac4j.extensions.saml.dao.impl; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Types; import java.util.List; import javax.sql.DataSource; import org.apache.commons.lang3.StringUtils; import org.pac4j.core.util.CommonHelper; import org.springframework.jd...
Java
pac4j-saml-config-db/src/main/java/com/idc/webchannel/pac4j/extensions/saml/dao/impl/SpringJdbcTemplateSamlClientDaoImpl.java
jkacer/pac4j-extensions
apache-2.0
13,311
287
codeparrot/github-code
c1319030b858b42dff03ef77d31da355f9b62e9ae9067bda129929427305b6e7
package com.cognizant.cognizantits.qcconnection.qcupdation; import com4j.Com4jObject; import com4j.DISPID; import com4j.IID; import com4j.NativeType; import com4j.ReturnValue; import com4j.VTID; @IID("{1CD20510-7700-42B6-83AB-4AFC0419318D}") public abstract interface ICustomizationUsersGroups extends Com4jObject { ...
Java
QcConnection/src/main/java/com/cognizant/cognizantits/qcconnection/qcupdation/ICustomizationUsersGroups.java
CognizantQAHub/Cognizant-Intelligent-Test-Scripter
apache-2.0
997
41
codeparrot/github-code
c2a0cae5b7a4e766999a72104ad9013e6d003d9a69d4d44fd0a6ac3c72767234
package gov.va.hmp.access.asu; import gov.va.cpe.vpr.Document; import gov.va.cpe.vpr.DocumentDefinition; import gov.va.cpe.vpr.DocumentStatus; import gov.va.hmp.auth.HmpUserDetails; import gov.va.hmp.access.Matcher; import gov.va.hmp.access.MissingAttributeException; import gov.va.hmp.access.Targets; import o...
Java
ehmp/product/production/hmp-main/src/main/java/gov/va/hmp/access/asu/AsuTarget.java
KRMAssociatesInc/eHMP
apache-2.0
8,340
218
codeparrot/github-code
6da03952b596bef65693472742c5d09566cc4f3abdac73acc49b1dde9c990df6
<html> <head> <link href="../css/module.css" rel="stylesheet" type="text/css"> <script language="JavaScript" type="text/JavaScript"> <!-- function view_code(id) { var newurl = "../functions/" + id + ".html"; var w = window.open(newurl,"source code","width=770,height=600, scrollbars=yes,resizab...
HTML
docs/code/modules/library.classifier.create_model.html
tarsqi/ttk
apache-2.0
2,039
68
codeparrot/github-code
9858e9f6c7ca7f148fae07d4f6bc577b77f7238eddf779f2d75a070a75ce5135
/* * Copyright 2012, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
Java
JCL_Android/app/src/main/java/org/jf/dexlib2/base/value/BaseLongEncodedValue.java
AndreJCL/JCL
apache-2.0
2,564
68
codeparrot/github-code
4eead86e345101d3c7203bd49ae5ae4a37e2f15fd34e0efbb7bcb82fc615f8b1
๏ปฟusing System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Mall.WebUI.Models { public class ExternalLoginConfirmationViewModel { [Required] [Display(Name = "็”ตๅญ้‚ฎไปถ")] public string Email { get; set; } } public class ExternalLoginListViewModel { ...
C#
Mall.WebUI/Models/AccountViewModels.cs
liumuu/Mall
apache-2.0
2,902
113
codeparrot/github-code
b179a6cbd18e34a2cd288a561ff05ec9297acc997cac24140e0754f9c20d2513
/* * Copyright 2018 Sergey Khabarov, sergeykhbr@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
C++
debugger/src/common/generic/cpu_generic.cpp
sergeykhbr/riscv_vhdl
apache-2.0
19,377
691
codeparrot/github-code
87cb1af6a99fba73df6cf4c7527ea751b47d48944100b2789aed541e5cab70ca
package com.crazysunj.multityperecyclerviewadapter.helper; import android.support.v7.util.DiffUtil; import android.util.Log; import com.chad.library.adapter.base.BaseQuickAdapter; import com.crazysunj.multitypeadapter.entity.HandleBase; import com.crazysunj.multitypeadapter.entity.MultiHeaderEntity; import com.crazys...
Java
ListView/MultiTypeRecyclerViewAdapter-master/app/src/main/java/com/crazysunj/multityperecyclerviewadapter/helper/RxAdapterHelper.java
weiwenqiang/GitHub
apache-2.0
5,289
138
codeparrot/github-code
085f462f5e5bda5bea7becf0df6712143d4364a93b567cb22f0cff4df3c075d2
package com.ambrosoft.exercises; import java.util.Arrays; import java.util.HashSet; import java.util.Set; /** * Created by jacek on 11/13/16. */ public class ShortestSupersequence { /* find shortest subarray containing all elements similar to our full-text search algorithm generat...
Java
src/main/java/com/ambrosoft/exercises/ShortestSupersequence.java
JacekAmbroziak/Ambrosoft
apache-2.0
4,134
127
codeparrot/github-code
411d5e51e37af5be9ffb18fa7b9ec3b9bdc905314d572923c69d0ac9afa5b66a
//===-- HexagonTargetMachine.cpp - Define TargetMachine for Hexagon -------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C++
llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
henfredemars/Fork-Lang
apache-2.0
8,965
261
codeparrot/github-code
70b8f4556d502f1b8ff155d5050d10ffe241cb14763180a46d4723e8dd88dfab
// // main.cpp // Permutations II // // Created by liang on 8/23/15. // Copyright (c) 2015 tina. All rights reserved. // Problem: https://leetcode.com/problems/permutations-ii/ //Given a collection of numbers that might contain duplicates, return all possible unique permutations. // //For example, //[1,1,2] have t...
C++
old/Permutations II/Permutations II/main.cpp
betallcoffee/leetcode
apache-2.0
2,964
110
codeparrot/github-code
a6e13584362e59017cccdc41b716e5e3e587105670988053388bffbefbdebb89
package org.oiga.web.social.security; import org.oiga.exceptions.DuplicateUserException; import org.oiga.exceptions.NullEMailException; import org.oiga.model.entities.User; import org.oiga.services.UserService; import org.oiga.web.utils.UserUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spr...
Java
web/src/main/java/org/oiga/web/social/security/UserConnectionSignUp.java
renatocastorela/oiga-recommender
apache-2.0
1,326
40
codeparrot/github-code
61a3ff0418b9d659d6a2239c012c0f458a0c31a8e7d4330708b7aeb7f2f33366
package com.oppsis.app.hftracker.util; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.SortedSet; import com.oppsis....
Java
HFTrackerAndroid/src/com/oppsis/app/hftracker/util/FundFuncUtils.java
bitjjj/HFTracker
apache-2.0
5,151
157
codeparrot/github-code
8e6fff297e04119a4ec2d46a64fda017110149e750e8e079292e55e7e9dbf417
/* * 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-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeAvailabilityZonesResult.java
trasa/aws-sdk-java
apache-2.0
5,890
156
codeparrot/github-code
e53ccc6b9ce1413915756c25ad87371d704536eae0d8fdb4ca8d5e6d57d13d17
๏ปฟ using System.Collections.Generic; namespace SuperMap.WinRT.REST.NetworkAnalyst { /// <summary> /// <para>${REST_FindPathParameters_Title}</para> /// <para>${REST_FindPathParameters_Description}</para> /// </summary> /// <remarks>${REST_FindPathParameters_Remarks}</remarks> /// <typeparam na...
C#
iClient60ForWinRT/SuperMap.WinRT.REST/Networkanalyst/FindPathParameters.cs
SuperMap/iClient-for-Win8
apache-2.0
1,062
33
codeparrot/github-code
5820dd072114d5713a40d68115b5e4589258ff7d292b211643acb7ddd2a9b4e8
import $ from 'jquery' import Request from 'superagent' import VideoManager from './video_manager.js' import MobileVideoManager from './mobile_video_manager.js' import Speaker from './speaker.js' class App { constructor () { this.showMask() let videos = [$('.video-player:visible'), $('.video-player:hidden')...
JavaScript
src/js/modules/app.js
app2641/tori.jp
apache-2.0
1,537
60
codeparrot/github-code
9cd615f9b558d2ef2552e2482fc7011b4c62544c98220d4bd2529f375fc661fc
# 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 ...
Python
solutionbox/structured_data/mltoolbox/_structured_data/prediction/predict.py
googledatalab/pydatalab
apache-2.0
14,371
417
codeparrot/github-code
15ee3707d074aed3351a6dc3c99477b66f0551d5506c412426863c19b5292cc8
/** * * 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
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/FaultySequenceFileLogReader.java
daidong/DominoHBase
apache-2.0
2,740
83
codeparrot/github-code
50d1a5cbcae4e07abbc67d044a465579b1b3afa1af6d5b245224374e363ba9d6
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/host/spiflash/updater.h" #include <algorithm> #include <assert.h> #include <string.h> #include <unistd.h> #include "cryptoc/sha256.h" namespace opentitan...
C++
sw/host/spiflash/updater.cc
lowRISC/opentitan
apache-2.0
4,110
133
codeparrot/github-code
e671bd31ed5822ab144b9d25deb30a1f9b642f3bd2caf5b27c26f81167a0ef77
/** * Licensed to the Austrian Association for Software Tool Integration (AASTI) * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. The AASTI licenses this file to you under the Apache License, * Version 2...
Java
ui/common/src/main/java/org/openengsb/ui/common/model/PropertyEntry.java
openengsb/openengsb
apache-2.0
1,740
64
codeparrot/github-code
1f30350010a95050cee14da73a127210464a47c465fffba479f38f9740daa77b
"""Legacy device tracker classes.""" from __future__ import annotations import asyncio from datetime import timedelta import hashlib from types import ModuleType from typing import Any, Callable, Sequence, final import attr import voluptuous as vol from homeassistant import util from homeassistant.components import ...
Python
homeassistant/components/device_tracker/legacy.py
w1ll1am23/home-assistant
apache-2.0
27,443
895
codeparrot/github-code
6c699b450f315300d4470c224885ec5c62cdfcd96d0e6d74e69f587d8e7df01e
package org.vanilladb.comm.protocols.urb; import java.net.SocketAddress; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; impor...
Java
src/main/java/org/vanilladb/comm/protocols/urb/UniformReliableBroadcastSession.java
vanilladb/vanillacomm
apache-2.0
7,232
232
codeparrot/github-code
b646b18c54dd3d1fb49fa8f8c4e8cd6a3b4ec15f34fc3c34b5d013c28281850a
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
src/test/java/org/apache/commons/beanutils/bugs/Jira349TestCase.java
mohanaraosv/commons-beanutils
apache-2.0
3,657
127
codeparrot/github-code
01d340855903d1c76d5fb465c133cfddf53e014a8561a00380cce99aa7e42055
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @Date: 2016-07-18 15:53:21 @Author: King @Desc: """ import re from ..items import DealData from scrapy.loader.processors import TakeFirst, Join from scrapy import Selector from scrapy.loader import ItemLoader import scrapy class DealItemLoader(ItemLoa...
Python
taobao/spiders/spider1.py
leopard7777777/taobao_deal_history
apache-2.0
2,267
51
codeparrot/github-code
7c8663e38b31268f1952f5eb03729a973e8c04e873562ec6d50507d36af00ea0
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
C
google/cloud/spanner/internal/instance_admin_stub.h
googleapis/google-cloud-cpp
apache-2.0
4,065
104
codeparrot/github-code
5c2edf1f75e34bbe92c92f0441dca77dc4eb190a357dddb6a110c2ec9c241697
<?php namespace Wallee\Services; use Plenty\Modules\Basket\Models\Basket; use Plenty\Plugin\ConfigRepository; use Plenty\Modules\Item\Item\Contracts\ItemRepositoryContract; use Plenty\Modules\Basket\Models\BasketItem; use Plenty\Modules\Account\Address\Models\Address; use Plenty\Modules\Frontend\Session\Storage\Contra...
PHP
src/Services/PaymentService.php
wallee-payment/plentymarkets
apache-2.0
21,496
573
codeparrot/github-code
a31186c63dadb705d611cedda9d168497ee450c43e39e37f6a9d48d2dc71bda2
๏ปฟ <!DOCTYPE HTML5> <html> <head> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>โ€œ{$info.nickname}โ€ๅ‘โ€œ{$info.lover}โ€่กจ็™ฝๅ•ฆโ€”โ€”่‰พ่ฑ†ไนๅ›ญ่กจ็™ฝๅข™</title> <meta http-equiv="cache-control" content="no-cache"> <meta name="viewport" content="width=device-width,target...
HTML
Addons/Love/View/default/Love/showComment.html
eciyuan/yimei
apache-2.0
7,237
225
codeparrot/github-code
e0e970e582ca52e2d5a7cf37565f75f563c1ef293b2e128eba1acf29a5be2416
package jquants.energy; import jquants.MetricSystem; import org.hamcrest.core.Is; import org.junit.Test; import static jquants.energy.SpecificEnergy.*; import static jquants.energy.Energy.*; import static jquants.mass.Mass.*; import static jquants.space.Length.*; import static jquants.space.Area.*; import static jqu...
Java
src/test/java/jquants/energy/SpecificEnergyTest.java
synapplix/jquants
apache-2.0
1,930
70
codeparrot/github-code
6335b993cd4c3ae1f84a502c4c377649e21e01cde0ab7f56cf21135cedba15ef
package org.jaudiotagger.audio.generic; import org.jaudiotagger.audio.AudioFile; import org.jaudiotagger.audio.exceptions.CannotReadException; import org.jaudiotagger.audio.exceptions.CannotWriteException; import org.jaudiotagger.logging.ErrorMessage; import org.jaudiotagger.tag.Tag; import org.jaudiotagger.tag.TagOpt...
Java
app/src/main/java/org/jaudiotagger/audio/generic/AudioFileWriter2.java
GlennioTech/MetadataEditor
apache-2.0
3,335
103
codeparrot/github-code
b1a963439df9367c8535e4fee6af2d2653e3dfe78a06898c72c7580a2bf950ee
/* Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation 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....
C++
src/database/core/SoXipMprPlane.cpp
OpenXIP/xip-libraries
apache-2.0
2,663
112
codeparrot/github-code
45f14c76467191472ec0e116d827895a13d13dae2971bdd23075a86b11e890e2
package org.reveno.atp.examples.events; import org.reveno.atp.api.Reveno; import org.reveno.atp.core.Engine; import org.reveno.atp.utils.MapUtils; import java.util.concurrent.atomic.AtomicLong; import static org.reveno.atp.examples.events.BasicEvents.*; /** * This example shows simple example of dealing with event...
Java
examples/events-publishing/src/main/java/org/reveno/atp/examples/events/AsyncEvents.java
dmart28/reveno
apache-2.0
3,063
69
codeparrot/github-code
82dd1a0537c8853b28a09b7c4db2a6f70266349be5e877c73cc2db063086ff52
/* * Copyright 2017 Nuno A. C. Henriques [nunoachenriques.net] * * 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
src/main/java/net/nunoachenriques/vader/text/Properties.java
nunoachenriques/vader-sentiment-analysis
apache-2.0
5,602
144
codeparrot/github-code
4b65bd1cd34f204a4ab1d24d8dbc40fbd73528c9fcfd082c23f8189af420da5d
/** * */ package cn.org.zeronote.orm.dao.parser; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import cn.org.zeronote.orm.ORMAutoAssemble; import cn.org.zeronote.orm.ORMColumn; import cn.org.zeronote.orm.ORMTable; ...
Java
source/trunk/commondao/src/main/java/cn/org/zeronote/orm/dao/parser/SqlSelGenerator.java
bluesky8318/CommonDao
apache-2.0
6,087
239
codeparrot/github-code
478763d0130b83bfa0f367e83c570f166df6a8c70b5cbf026bb18f0bb0f59942
package com.rance.chatui.util; import android.media.AudioManager; import android.media.MediaPlayer; import android.media.MediaPlayer.OnCompletionListener; import android.media.MediaPlayer.OnErrorListener; /** * ไฝœ่€…๏ผšRance on 2016/12/15 15:11 * ้‚ฎ็ฎฑ๏ผšrance935@163.com */ public class MediaManager { private static Me...
Java
app/src/main/java/com/rance/chatui/util/MediaManager.java
stridercheng/chatui
apache-2.0
1,935
79
codeparrot/github-code
af1fb6a92cfd5fb3574663ba34b18450f4710e7f741c264b2c9651851b9b5f8a
/* * This file is part of the Anime Detour Android application * * Copyright (c) 2015 Anime Twin Cities, Inc. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ package com.animedetour.android.schedule.favorite; import com.animedetou...
Java
src/main/java/com/animedetour/android/schedule/favorite/Favorite.java
MaxVandervelde/anime-detour-android
apache-2.0
1,645
70
codeparrot/github-code
0871fc68a094f6420189eb5354798cff763a8475c3e76961e9fd4bc15108dfb3
## # Copyright (c) 2013-2014 Apple 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 l...
Python
txdav/common/idirectoryservice.py
trevor/calendarserver
apache-2.0
2,527
104
codeparrot/github-code
ac8fbd4cb36de203b36b3e2ab8ab5fa6ea9c306f8d1c0a9aa49eabbec0fab0db
package com.wealthfront.magellan; import android.app.Activity; import android.content.Context; import android.os.Parcelable; import android.util.SparseArray; import android.view.ViewGroup; import com.wealthfront.magellan.lifecycle.LifecycleAware; import org.jetbrains.annotations.NotNull; public class LegacyViewComp...
Java
magellan-legacy/src/main/java/com/wealthfront/magellan/LegacyViewComponent.java
wealthfront/magellan
apache-2.0
1,220
49
codeparrot/github-code
6dec30eb195056a048e8a450da375b4c76f8689bfefb28d5e30ecc70d93b15f6
# Copyright 2014 Abid Hasan Mujtaba # # 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...
Python
bitcoin/utilities/push_transactions.py
abid-mujtaba/BitcoinTracker-python
apache-2.0
1,634
54
codeparrot/github-code
2785d668c088665275ab1f9352c233b9ff0681830d419b8d6d4ce5d46b830c0b
/* * Copyright 2007 ZXing 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 o...
Java
core/src/com/google/zxing/common/PerspectiveTransform.java
kragen/zxing
apache-2.0
5,508
137
codeparrot/github-code
10f7815160a4a07ef7849539b0574071e35d9d0184d32d683738eece4f82fa04
/** * @FileName: AsuraSubAnnotationProcessor.java * @Package com.asura.framework.conf.subscribe * @author zhangshaobin * @created 2014ๅนด12ๆœˆ8ๆ—ฅ ไธ‹ๅˆ4:32:20 * * Copyright 2011-2015 asura */ package com.asura.framework.conf.subscribe; import com.asura.framework.base.util.Check; import com.asura.framework.conf.common.C...
Java
asura-conf/src/main/java/com/asura/framework/conf/subscribe/AsuraSubAnnotationProcessor.java
AsuraTeam/asura
apache-2.0
5,074
134
codeparrot/github-code
bdf9e4659e8d0585bd19abe33ec4b4e0dd5168f2a3a162e7690b052d5f982f10
/* Copyright 2014 Shahriyar Amini 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
Source/GortGUIv2/Gort/gortproject/src/org/cmuchimps/gort/modules/gortproject/Installer.java
samini/gort-public
apache-2.0
1,022
35
codeparrot/github-code
d55d680a1f22da4055f482ecff027969a0e368dab265a068a9ba3ec3cc93059c
function _drawActivationBreakdown() { var encodedData = document.getElementById('task-activation-breakdown').innerHTML; var data = atob(encodedData); var dataObject = JSON.parse(data); var activations = dataObject.taskActivationBreakdown.activations; var colors = dataObject.taskActivationBreakdown....
JavaScript
src/staticContent/webui/static/js/repeat/task-statistics.js
repeats/Repeat
apache-2.0
2,349
80
codeparrot/github-code
55b40618fdb2a948576a65e99a18d33e0ee74b54e913085c68ea030322f4b93c
package com.netease.ad.omp.entity.sys; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date; /** * Created with IntelliJ IDEA * ProjectName: omp * Author: bjsonghongxu * CreateTime : 15:48 * Email: bjsonghongxu@crop.netease.com * Class Description: * ...
Java
quartz-demo/quartz-spring/src/main/java/com/netease/ad/omp/entity/sys/ScheduleJob.java
asdgh1000/demo
apache-2.0
2,608
157
codeparrot/github-code
c820579afa4634a55551b80aa1d78329a47b5c571b29eb8585597db2388f3688
package com.koch.ambeth.server.rest; /*- * #%L * jambeth-server-rest * %% * Copyright (C) 2017 Koch Softwaredevelopment * %% * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www....
Java
jambeth/jambeth-server-rest/src/main/java/com/koch/ambeth/server/rest/PrivilegeServiceREST.java
Dennis-Koch/ambeth
apache-2.0
2,907
90
codeparrot/github-code
9e81a4e0e8384893dcbf7cd530c99ddb02df758067453dfeecef6955c2670f18
package mb.p_raffrayi.impl.envdiff; import org.metaborg.util.collection.CapsuleUtil; import io.usethesource.capsule.Set; import mb.scopegraph.oopsla20.diff.BiMap; public class EnvDiffBuilder<S, L, D> { private final BiMap.Transient<S> patches = BiMap.Transient.of(); private final Set.Transient<IEnvChange<S,...
Java
p_raffrayi/src/main/java/mb/p_raffrayi/impl/envdiff/EnvDiffBuilder.java
metaborg/nabl
apache-2.0
1,039
38
codeparrot/github-code
eda078bc02a1d4f574d3c716a7dc029fdd4b537cc6aedbea5cf1550d8ce528e4
๏ปฟusing System; using System.Collections.Generic; using System.Linq; using Epi.FormMetadata.DataStructures; namespace Epi.FormMetadata.Extensions { public static class ProjectTemplateMetadataExtensions { public static FormDigest[] ToFormDigests(this Template projectTemplateMetadata) { var formDigests = new Li...
C#
Cloud Enter/Epi.FormMetadata/Extensions/ProjectTemplateMetadataExtensions.cs
Epi-Info/Epi-Info-Cloud-Contact-Tracing
apache-2.0
2,942
85
codeparrot/github-code
14adf51b806c30767f5a8b6226d1902d6babc21787921eb83eba86712eb28b12
/* * 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
runners/flink/runner/src/main/java/org/apache/beam/runners/flink/translation/functions/FlinkMergingNonShuffleReduceFunction.java
yafengguo/Apache-beam
apache-2.0
9,656
236
codeparrot/github-code
223add8e537fe9ac1a91f545ae84e33418523ec19ae2a85021bea83a3f07d0e7
// CatalogResolver.java - A SAX EntityResolver/JAXP URI Resolver /* * 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 ...
Java
src/main/java/mf/org/apache/xml/resolver/tools/CatalogResolver.java
BartoszJarocki/boilerpipe-android
apache-2.0
10,493
342
codeparrot/github-code
21905d34202a2c419a3cbca3c6dc0c874efd136a420df085e65e34ddc0735328
package com.example.yanliu.coolweather.model; /** * Created by yanliu on 2016/1/11. */ public class Province { private int id; private String provinceName; private String provinceCode; public void setId(int id) { this.id = id; } public void setProvinceName(String provinceName) { ...
Java
app/src/main/java/com/example/yanliu/coolweather/model/Province.java
oscar92420aaa/coolweather
apache-2.0
670
35
codeparrot/github-code
433598955027740a678f661cfd0593143fdb634a5765e1f6ae803392f7c8106e
// 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 ...
C#
YetiCommon/YetiConstants.cs
googlestadia/vsi-lldb
apache-2.0
3,915
86
codeparrot/github-code
95fbf6fae212651f0370afa9c30ed06bf56e9c2925cbd28118348a958f3e89aa
/** * Nov 26, 2013 * DecodeTest.java * Daniel Pok * AP Java 6th */ package test; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; /** * @author poler_000 * */ public...
Java
src/test/DecodeTest.java
polerizer/SmarterPlaylists
apache-2.0
851
44
codeparrot/github-code
c661b0400854bb326d91815728064ce47e2b93c6c78b502476537ba1db60c7d2
package com.yingjunyu.GetInfo.news.widget; import android.os.Bundle; import android.support.design.widget.CollapsingToolbarLayout; import android.support.v7.widget.Toolbar; import android.view.View; import android.widget.ImageView; import android.widget.ProgressBar; import com.yingjunyu.GetInfo.R; import com.yingjuny...
Java
app/src/main/java/com/yingjunyu/GetInfo/news/widget/NewsDetailActivity.java
yingjunyu/getinfo
apache-2.0
3,022
85
codeparrot/github-code
fad0cfdb5cc965617453e98915c5db08144e6a667c0e7e92aca4c0bad525b853
package org.nd4j.autodiff.functions; import java.util.List; import org.nd4j.autodiff.Field; import org.nd4j.autodiff.samediff.SDGraph; import org.nd4j.autodiff.samediff.SameDiff; /** * Negative operation * @param <X> */ public class Negative<X extends Field<X>> extends AbstractUnaryFunction<X> { public Nega...
Java
samediff/src/main/java/org/nd4j/autodiff/functions/Negative.java
huitseeker/nd4j
apache-2.0
1,328
61
codeparrot/github-code
8a9c7278a3433b4d7f9152412d86f13b8b7e485a74be55371ba06770332ebf6c
#Description: Deletes the matching volume for each listing in directorates.name #Author: Robert A. Marshall #Date: 17/10/2017 #Authorized by: #Last Modified: 17/10/2017 #Audit Log: #Notes: Can't force deletion of a parent volume (e.g. '/Data') while it has children. #----------------------------------------------------...
Shell
Unit Test/Volumes/testVolumes.sh
actgov/act-data-lake
apache-2.0
1,447
45
codeparrot/github-code
904f635e01c73d2c309be773e8769ea595d31699fcf789976edf75765b431356
from scipy import signal # Currently this filter uses numbers for boundaries defined in Oliver's matlab code. # Shoaib pointed out that it should be 13 bands instead of 11 for original MFCC bands. # Need to remove .62* later. period16=16000 period8=8000 period4=4000 period2=2000 #why do we use different period value? ...
Python
Visualizer/Filter.py
UWNetworksLab/GlimpseData
apache-2.0
1,654
45
codeparrot/github-code
fb67d79e817dc33a6cf91dbae046236286630177c7ca67334ef90c530d393c6c
# Copyright (C) 2012 Yaco Sistemas (http://www.yaco.es) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
Python
djangosaml2/utils.py
advisory/djangosaml2_tenant
apache-2.0
1,490
48
codeparrot/github-code
1b86d9718ac3b68a7e787a4f8f721610ff7a6a9bd583c7edced08d6fe530ce02
/******************************************************************************* * Copyright FUJITSU LIMITED 2017 *******************************************************************************/ package org.oscm.billingservice.business.model.brokershare; import java.math.BigDecimal; import java.math.BigInteger; im...
Java
oscm-billing/javasrc/org/oscm/billingservice/business/model/brokershare/BrokerShareResultAssembler.java
opetrovski/development
apache-2.0
9,715
233
codeparrot/github-code
830d6ab450421f0802f6a6280d55fa2258b71e6abd93be2b13146d03ce97169c
๏ปฟ/* Copyright 2013 KLab Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
C++
Engine/source/UISystem/CKLBUIGroup.cpp
kennykwok1/PlaygroundOSS
apache-2.0
4,122
201
codeparrot/github-code
1046cc47022d732d610b52593257be8112abac674071e73c9ccbcfdf8ffa4a92
/* * Copyright (C) 2015 The Minium 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 agr...
Java
minium-cucumber-rest/src/main/java/minium/cucumber/rest/dto/StepDefinitionInvocation.java
viltgroup/minium
apache-2.0
4,249
128
codeparrot/github-code
e31440ebb82484405242e507680d7529f253793e2b6fc8ca6a0567c987aa1b5f
package com.datafibers.service; import com.datafibers.util.DFAPIMessage; import io.vertx.core.AbstractVerticle; import io.vertx.ext.web.Router; import io.vertx.ext.web.handler.StaticHandler; import org.apache.log4j.Logger; import java.net.InetAddress; import java.net.UnknownHostException; public class DFWeb...
Java
src/main/java/com/datafibers/service/DFWebUI.java
allenzhangliugen/df_data_service
apache-2.0
1,672
43
codeparrot/github-code
6de83442c0ba38d48a226820592bb6bbe421e40120f228ced343f7e9acbf2943
/* * 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...
C#
ParquetColumn/src/Column/Impl/ColumnReaderImpl.cs
CurtHagenlocher/ParquetSharp
apache-2.0
27,886
878
codeparrot/github-code
452dd86b745fb229d58552755071199a61a900d605acc210e0f2c41b3c589711
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2012 EMC Corp. // // @filename: // CSerializableStackTrace.cpp // // @doc: // Serializable stack trace object //--------------------------------------------------------------------------- #include "gp...
C++
libgpopt/src/minidump/CSerializableStackTrace.cpp
PengJi/gporca-comments
apache-2.0
2,093
87
codeparrot/github-code
3a4f3a62f89e6f8a32093569c6ef239db54624f2216846274f0da5819b019db6
<?php /** * Wizard * * @link https://aicode.cc/ * @copyright ็ฎกๅฎœๅฐง <mylxsw@aicode.cc> */ namespace App\Http\Controllers; use App\Repositories\Document; use App\Repositories\PageShare; use App\Repositories\Project; use Illuminate\Database\Eloquent\Relations\Relation; use Illuminate\Http\Request; class ShareC...
PHP
app/Http/Controllers/ShareController.php
mylxsw/wizard
apache-2.0
3,322
120
codeparrot/github-code
a7da524caf9bb5407e50b7bb7d3fb485812b2122e5f94ab8ef91849827f54cad
package com.imotspot.dashboard; import java.util.HashSet; import java.util.Set; import com.google.gwt.core.ext.typeinfo.JClassType; import com.vaadin.client.ui.button.ButtonConnector; import com.vaadin.client.ui.csslayout.CssLayoutConnector; import com.vaadin.client.ui.label.LabelConnector; import com.vaadin.client.u...
Java
src/main/java/com/imotspot/dashboard/OptimizedConnectorBundleLoaderFactory.java
imotSpot/imotSpot
apache-2.0
2,035
46
codeparrot/github-code
63c067e3e670853ded6d67bb049296032ea35769e11f899af610c64ca3309ee5
package net.jueb.util4j.beta.classLoader.util; import java.io.File; import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import java.util.jar.JarFile; public class UrlClas...
Java
util4j/src/test/java/net/jueb/util4j/beta/classLoader/util/UrlClassLoaderUtil.java
juebanlin/util4j
apache-2.0
3,224
171
codeparrot/github-code
952e4ca24bd454e07d7d75cbd156c913832e7263d2f497e7a156d767c3cf0d3d
/* * otr4j, the open source java otr library. * * Distributable under LGPL license. See terms of license at gnu.org. */ package net.java.otr4j.session; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.m...
Java
src/net/java/otr4j/session/SessionImpl.java
prive/prive-android
apache-2.0
28,681
773
codeparrot/github-code
1b41047a012362baf602e3ca896dc10505296d42051da094b415e4bf80bbd962
package com.ajavac; import com.ajavac.util.RedisLock; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ApplicationContext; import org.springframework.data.redis.core.StringRedisTemplate; import java.util.concurre...
Java
redis-and-lock/src/main/java/com/ajavac/RedisAndLockApplication.java
wyp0596/elegant-springboot
apache-2.0
1,530
56
codeparrot/github-code
81fcb4aa696b41af63bbdfb0281fd9ebb1866306bbf63bdfc5380682083adb17
/* * 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
modules/core/src/test/java/org/apache/ignite/internal/processors/security/sandbox/SecuritySubjectPermissionsTest.java
andrey-kuznetsov/ignite
apache-2.0
4,820
133
codeparrot/github-code
aa023751718b4d02dd03a3aacdd746b4800353220476da100baf2a990e986c20
'use strict'; const angular = require('angular'); import _ from 'lodash'; import { ACCOUNT_SERVICE } from '@spinnaker/core'; module.exports = angular.module('spinnaker.gce.instanceType.service', [ACCOUNT_SERVICE]) .factory('gceInstanceTypeService', function ($http, $q, $log, accountService) { var cachedResult...
JavaScript
app/scripts/modules/google/src/instance/gceInstanceType.service.js
kenzanlabs/deck
apache-2.0
9,633
331
codeparrot/github-code
b6d18a761b72effcdc388a826f4521f5c344dfe00c3dacf75b0841846846bc28
import bpy import datetime from . properties import * from . operators import * from . sun_calc import Degrees, format_lat_long, degToRad, \ format_time, format_hms, Move_sun #--------------------------------------------------------------------------- # # Draw the Sun Panel, sliders, et. al. ...
Python
ui_sun.py
yaricp/Sun_Power
apache-2.0
27,597
772
codeparrot/github-code
21750ca68185e63f31d56a7724737e1ef6d3d9c2709217a971171b76623a18a2
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # OK anaconda2 + freeglut+pyopengl # sous windows: # - telecharger freeglut ici: http://freeglut.sourceforge.net/ # - renommer freeglut.dll en freeglut64.vc14.dll et la mettre dans le path # en cas de non chargement regarder ce qui se passe dans C:\Python37\Lib\site-pac...
Python
sandbox/pyopengl/ball_glut.py
rboman/progs
apache-2.0
1,601
57
codeparrot/github-code
14010e8f7993e1a03d8b4f5ec39fcd9797951811e1f6eada0ec080be30280249
#ifndef arrayStack_ #define arrayStack_ #include<sstream> #include<string> #include"stack.h" #include"changeLength1D.h" #include"myExceptions.h" using namespace std; template<class T> class arrayStack : public stack<T> { public: arrayStack(int initialCapacity = 10); ~arrayStack() { delete [] stack; } bool empty()...
C
Stack/Stack/arrayStack.h
miduo0503/Data_Structures_And_Algorithm_C-
apache-2.0
1,188
63
codeparrot/github-code
a93c33894cd6962c95d910ecc09ae1ef6e3887ce3103da35311ff06b3872c75f
/** * Copyright 2017 Confluent Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
ksql-metastore/src/test/java/io/confluent/ksql/metastore/MetastoreTest.java
TheRealHaui/ksql
apache-2.0
2,823
76
codeparrot/github-code
8ed92203fc1a9598a9a8b7fbe8b6adb2818bdf312b70a09993b80ceb3805e57c
Polymer({ /** * Fired when the content has been scrolled. `event.detail.target` returns * the scrollable element which you can use to access scroll info such as * `scrollTop`. * * <core-header-panel on-scroll="{{scrollHandler}}"> * ... * </core-header-panel> ...
JavaScript
paper/lib_new/core-header-panel/core-header-panel.html.0.js
jarrodek/feed-reader
apache-2.0
5,524
184
codeparrot/github-code
941bed04327e0266833c7b9176dc83f282da7d1e6c5a74b11716f771edff0dbb
package org.driveblur.io; import org.driveblur.storable.Header; /** * This interface allows for a custom Observer to be used in your project. * If creating a custom Store, you will also need a custom Observer. * * The observer should observe the store for changes, and update the state of the system upon each c...
Java
main/org/driveblur/io/Observer.java
neword/DriveBlur
apache-2.0
966
44
codeparrot/github-code
f9f85df3359d0bdec408fc6dc2344a74460b12f5ceb5a6d45cb06d9797c78ad8
๏ปฟ/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/iotwireless/model/MulticastWirelessMetadata.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespa...
C++
aws-cpp-sdk-iotwireless/source/model/MulticastWirelessMetadata.cpp
aws/aws-sdk-cpp
apache-2.0
1,090
60
codeparrot/github-code
201e85433e9887ff1837822fc0acdf4595f8edd2cf07290f38f4cb6f57f38fda
/* * Copyright 2010-2015 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 ...
C++
aws-cpp-sdk-core/source/platform/windows/Environment.cpp
ambasta/aws-sdk-cpp
apache-2.0
1,541
48
codeparrot/github-code
a3d264351e2d97de30d42c64847acdd5d2b4245c1db1074029cf52b4d1298f31
/* * Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute * Copyright [2016-2019] EMBL-European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
Java
src/org/ensembl/healthcheck/testcase/variation/ForeignKeyCoreId.java
Ensembl/ensj-healthcheck
apache-2.0
5,277
152
codeparrot/github-code
343cf648ea108491edee22ebaf94813a4c8b66768095abe20138c28528fa6a68
/* * Copyright 2015 RITcraft & Chris Bitler * * 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
src/main/java/edu/rit/chrisbitler/ritcraft/slackintegration/listeners/PlayerListener.java
RITcraft/SlackIntegration
apache-2.0
3,322
80
codeparrot/github-code
167ba3a3babcd0ea5477b8af923b7b404c0eb7a33202e3d88e716bf81d21d67f
package org.springboot.integration.handler; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.data.redis.serializer.RedisSerializer; import org.springframework.data.redis.serializer.SerializationException; import org.springfr...
Java
springboot-integration/src/main/java/org/springboot/integration/handler/GenericJackson2JsonRedisSerializer.java
liuyunlong1229/source-code
apache-2.0
3,790
105
codeparrot/github-code
8f8eeacd719190b57b7004129af3ce91bba6ea4304bf696562c803c35a8fa9a4
/* * * Copyright (c) 2020 Project CHIP 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 requir...
C++
src/platform/qpg/qpgConfig.cpp
project-chip/connectedhomeip
apache-2.0
6,971
289
codeparrot/github-code
42d4649fcc43361cde0ab0a989a4aa521c3d64941636d7e1499509f33461e512
/* * 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
cc-extractor/src/main/java/org/tallison/cc/index/mappers/CountMimesByMimesDetected.java
tballison/SimpleCommonCrawlExtractor
apache-2.0
2,980
92
codeparrot/github-code
c0cf10fa550da552dc5cdf8986c29edc0eb5296eb495742ff940f1d9b84ad898
/* * 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/test/java/com/hazelcast/config/ConfigRecognizerTest.java
mdogan/hazelcast
apache-2.0
14,999
324
codeparrot/github-code
29c37b39e75842b2c73c64afffe7abc1e41ec12bd30571dfe3726bf7d8a85a45
package io.vertx.codegen; import io.vertx.codegen.type.ClassKind; import io.vertx.codegen.type.DataObjectInfo; import io.vertx.codegen.type.ParameterizedTypeInfo; import io.vertx.codegen.type.TypeInfo; import io.vertx.codegen.type.TypeVariableInfo; import javax.lang.model.element.Element; import javax.lang.model.elem...
Java
src/main/java/io/vertx/codegen/TypeValidator.java
vert-x3/vertx-codegen
apache-2.0
9,406
249
codeparrot/github-code
8566f0bb4b0949c82c81d24c62a5b5e82eb9d9800f6ce225ad5c0df899661a87
# Copyright (C) 2015 Google Inc., authors, and contributors <see AUTHORS file> # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> # Created By: dan@reciprocitylabs.com # Maintained By: miha@reciprocitylabs.com from datetime import datetime, date from flask import Blueprint from sqlalchemy i...
Python
src/ggrc_workflows/__init__.py
jmakov/ggrc-core
apache-2.0
34,934
1,022
codeparrot/github-code
e75f727e90fe224acb538f64d4f18ac90c106332bc204e6061f129c478585cfe
/* * 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-route53/src/main/java/com/amazonaws/services/route53/model/transform/CreateTrafficPolicyInstanceResultStaxUnmarshaller.java
aws/aws-sdk-java
apache-2.0
2,886
72
codeparrot/github-code
ae0d902ff7cc8e09e0f7d5b4f3829e4e4d7bed3d9648c022e35d81a0fcc75e0b
/* * 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-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/transform/ListCachePoliciesResultStaxUnmarshaller.java
aws/aws-sdk-java
apache-2.0
2,450
63
codeparrot/github-code
1a77b71d85bc86dde3facd34c78ec32d41ad957b97090f79ad8032b59279c3c5
package de.t7soft.android.t7home.background; import java.util.List; import android.app.Activity; import android.app.IntentService; import android.content.Intent; import android.os.Bundle; import android.os.IBinder; import android.os.Message; import android.os.Messenger; import android.util.Log; import de.t7soft.andro...
Java
t7home/src/de/t7soft/android/t7home/background/UpdateService.java
thorstenschenkel/t7home
apache-2.0
1,510
64
codeparrot/github-code
43eb45d1ea2c78478af4a210b259366d283dd46490edd070baf84e9b221990eb
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
aws-java-sdk-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchv2/model/PartitionInstanceType.java
dagnir/aws-sdk-java
apache-2.0
2,066
66
codeparrot/github-code
2eec6b978a88c9d76a9784f808b4ca6e94ca23fa93685a75a0c6d2e0de8a6832
package com.ppiech.auto.value.jackson.internal.objectmappers; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import java.io.IOException; /** * Built-in mapper for Float objects */ public class FloatMapper extends com.ppiec...
Java
core/src/main/java/com/ppiech/auto/value/jackson/internal/objectmappers/FloatMapper.java
ppiech/auto-value-jackson
apache-2.0
912
31
codeparrot/github-code
c021f4e76cd4fa288e448bc8d51fe1a23c1ce9c58829bb40c18926d537106fc1
/* * 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/io/prestosql/operator/aggregation/multimapagg/MultimapAggregationFunction.java
hgschmie/presto
apache-2.0
9,659
179
codeparrot/github-code
4e457154e297a9714c805fa12ce89de72179b4f5342f2f9485907b2a09a8121e
package com.dawnjf.fei.perfectweather.db; import org.litepal.crud.DataSupport; /** * Created by fei on 2017/3/3. */ public class Province extends DataSupport{ private int id; private String provinceName; private int provinceCode; public int getId() { return id; } public String ...
Java
app/src/main/java/com/dawnjf/fei/perfectweather/db/Province.java
DawnJF/perfectweather
apache-2.0
714
41
codeparrot/github-code
1a9a69f400459f579f3418c44d65f27a583138831f350da1ff5c4473df18f39c
๏ปฟusing System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace De.Osthus.Ambeth.Appendable { public class StreamWriterAppendable : IAppendable { protected StreamWriter streamWriter; public StreamWriterAppendable(StreamWriter streamWriter) ...
C#
ambeth/Ambeth.Util/ambeth/appendable/StreamWriterAppendable.cs
Dennis-Koch/ambeth
apache-2.0
654
31
codeparrot/github-code
8ed348cf44c49a6d0af7515f3d5a3aa1e07e671293c4a63440c95575422e5ecd
๏ปฟusing System; using System.Collections.Concurrent; using System.Reflection; namespace Arch.Data.Orm.FastInvoker { internal delegate void DynamicPropertySetHandler(Object obj, Object value, Object[] index); internal delegate Object DynamicPropertyGetHandler(Object obj, Object[] index); class Dyna...
C#
Arch.Data/Arch.Data/Orm/FastInvoker/DynamicPropertyInfo.cs
ctripcorp/dal
apache-2.0
2,182
63
codeparrot/github-code
4c959ab4366288f1ff3f607fd683f83ce2160cba076b4b793bd75d2ff054e0df
๏ปฟusing UnityEngine; using System.Collections; public class UISound : MonoBehaviour { public enum SoundTypes{ CLICK, HIGH_SCORE } [SerializeField] private AudioClip clickSound; [SerializeField] private AudioClip highScore; [SerializeField] private AudioSource audioSource = null; public static UISound Insta...
C#
Assets/Scripts/Menu/UISound.cs
GameWorthy/G1
apache-2.0
743
42
codeparrot/github-code
576d5e994b1920d47ce095e896006d44ff6e372c9e94619a67a9d937fde83a01
/* * jcapistd.c * * Copyright (C) 1994-1996, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains application interface code for the compression half * of the JPEG library. These ...
C++
dlib-18.18/dlib/external/libjpeg/jcapistd.cpp
Nekel-Seyew/Complex-3D-Vector-Fields
apache-2.0
6,038
162
codeparrot/github-code
b8078411c737da0bcefe3dd67ba02194aa01bb8d34f83780fd4f35fc5952fd06
//! Macros. /// If the input is an error, prints it SMT-LIB-style and panics. #[macro_export] macro_rules! expect { ($e:expr => |$err:pat| $($action:tt)*) => ( match $e { Ok(res) => res, Err($err) => { $crate::errors::print_err( & { $($action)* }.into() ) ; panic!("F...
Rust
src/common/macros.rs
AdrienChampion/hoice
apache-2.0
14,438
572
codeparrot/github-code