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
e94a108e8dab1af92428d3d9f3454010db60df6d6e52d842ac24d1c9a8fb523a
/** * * 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++
extensions/sftp/processors/PutSFTP.cpp
dtrodrigues/nifi-minifi-cpp
apache-2.0
23,734
516
codeparrot/github-code
ad449ab1c03d4ae2a70c2975a09ab7cb25658cd909f39080800e1afded7a415b
package cn.tee3.n2m.ui.view; import android.annotation.SuppressLint; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.support.v4.app.FragmentManager; import cn.tee3.n2m.biz.http.HttpHelper; //// TODO: 2015/9/5 W...
Java
android/nice2meet/app/src/main/java/cn/tee3/n2m/ui/view/HttpProgressDialog.java
fz1998/nice2meet-android
apache-2.0
1,002
41
codeparrot/github-code
905da03507833d25b5209765015587b73670667a72dcfbbea49250478e019bcf
#include "../core_include/api.h" #include "../core_include/rect.h" #include "../core_include/cmd_target.h" #include "../core_include/wnd.h" #include "../source/manager/value_manager.h" #include "../source/ui_ctrl_ex/value_ctrl.h" #include <string.h> #include "value_view.h" c_value_view* c_value_view::ms_param_view_gro...
C++
sample/source/ui_ctrl_ex/value_view.cpp
BlyanDev/DevCenter
apache-2.0
1,749
71
codeparrot/github-code
31b8776f75941fbb264f95f95ca63fedaf6b9ac73933247361306edb45831b4e
/* * Copyright 2011 JBoss 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
drools-grid/drools-grid-impl/src/main/java/org/drools/grid/remote/command/GetObjectFromQueryResultsRowRemoteCommand.java
mswiderski/droolsjbpm-integration
apache-2.0
1,542
47
codeparrot/github-code
5443186b9a6b69179eee5a65e0ac2614f06b367631c3a34376cbbbb596cef0f1
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C
aws-cpp-sdk-swf/include/aws/swf/model/WorkflowExecutionFilter.h
ambasta/aws-sdk-cpp
apache-2.0
2,764
88
codeparrot/github-code
4deef9b0f1e0a3d3627779cf3d14c82e97095f24b77d74cff5ee3c4e0863040b
# # Author:: Seth Chisamore <schisamo@opscode.com> # Cookbook Name:: python # Provider:: virtualenv # # Copyright:: 2011, Opscode, Inc <legal@opscode.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...
Ruby
providers/virtualenv.rb
GannettDigital/chef-python
apache-2.0
2,445
83
codeparrot/github-code
853a1756a4bb57bf2a1a663a4feb68d54dc43e3cc01acf4e5cdf97ca41707a53
package io.palaima.debugdrawer.okhttp; import com.squareup.okhttp.Cache; import com.squareup.okhttp.OkHttpClient; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import io.palaima.debugdrawer.module.DrawerModule; public class OkHttpModule ...
Java
debugdrawer-okhttp/src/main/java/io/palaima/debugdrawer/okhttp/OkHttpModule.java
omegasoft7/DebugDrawer-1
apache-2.0
2,794
84
codeparrot/github-code
41f94527f6e88d7481997d9a56b83b35a7e7a6d23e3c0f086026fb6f681da68b
/* * Copyright (c) 2008-2016, 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/spi/impl/operationservice/impl/OperationRunnerFactoryImpl.java
lmjacksoniii/hazelcast
apache-2.0
1,746
47
codeparrot/github-code
1d6b3f25c087d63badefa2c32accd63f408f3ba44be5607a4bd04d15ef8d41fc
# Copyright (c) 2005-2015 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 law...
Python
txdav/caldav/datastore/scheduling/ischedule/scheduler.py
red-hood/calendarserver
apache-2.0
22,345
562
codeparrot/github-code
6f29e4a3fdd21b9754e070a20f02b930303abdf96b2073be18d4fbd885f3c865
// /*=========================================================== // Copyright 2013 Robbert Hock // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apac...
C#
Website/MVC/Views/Codebehind/CallToActionBlocksView.cshtml.cs
KayeeNL/SUGNL-Website
apache-2.0
1,238
34
codeparrot/github-code
6059d7b70f38fa5f8e297f1134237812a47ec39092fc475333535c25b3df0f63
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.client.ui.impl.gwt.widget.panel.adapter; import net.sf.mmm.client.ui.base.widget.panel.adapter.UiWidgetAdapterHorizontalPanel; import net.sf.mmm.client.ui.gwt.widgets.Hori...
Java
ui/widget/impl-web-gwt/src/main/java/net/sf/mmm/client/ui/impl/gwt/widget/panel/adapter/UiWidgetAdapterGwtHorizontalPanel.java
m-m-m/client
apache-2.0
1,071
38
codeparrot/github-code
7ca43788268577feb78b4460647456832a76b83596356997bc6b74c5c2e17771
package cz.yetanotherview.webcamviewer.app.adapter; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.graphics.drawable.TransitionDrawable; import android.supp...
Java
app/src/main/java/cz/yetanotherview/webcamviewer/app/adapter/DiaporamaAdapter.java
makbn/WebCamViewer
apache-2.0
10,891
277
codeparrot/github-code
c92082c68fabb25a50727fef33d91cc1f75cda68af7eae64f136f94425e89b22
/* * 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
apm-collector/apm-collector-analysis/analysis-metric/metric-provider/src/main/java/org/apache/skywalking/apm/collector/analysis/metric/provider/worker/global/GlobalTraceSpanListener.java
hanahmily/sky-walking
apache-2.0
4,019
89
codeparrot/github-code
58d5f3926d87f8577eaecfb84f518ac54fde1578b43f501c874f7df2f83a3070
package ch.m02.comet.pinball.physics.placable; import javax.inject.Inject; import ch.m02.comet.pinball.core.ApplicationContext; import ch.m02.comet.pinball.core.model.playfield.PlayFieldObstacleElement; import ch.m02.comet.pinball.core.presentation.playfield.ObstacleElementFactory; import ch.m02.comet.pinball.physics...
Java
src/game/physics/src/main/java/ch/m02/comet/pinball/physics/placable/ObstacleElementFactoryImpl.java
boskoop/comet-pinball
apache-2.0
1,557
51
codeparrot/github-code
43af3b146ce653fd89818274f52d3193bb196f40b295b8251c06c3ca2df1d52b
# 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
Python
qkeras/qpooling.py
google/qkeras
apache-2.0
6,418
190
codeparrot/github-code
8c996ed9cabdc070ec50fd2ba9d8bd630b4cc61b8a442867b8845f6266a89955
/* * Copyright 2012 JBoss 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
drools-workbench-models/drools-workbench-models-test-scenarios/src/main/java/org/drools/workbench/models/testscenarios/backend/TestScenarioKSessionWrapper.java
bxf12315/drools
apache-2.0
6,115
144
codeparrot/github-code
a7752b5990358dfc45991adffe7d1d64bc540665f339868b570f5a106314cfbb
// // hiho3.cpp // acmProject // // Created by HuQiaoNan on 14-7-26. // Copyright (c) 2014年 HuQiaoNan. All rights reserved. // #include "hiho3.h" #include <stdio.h> int main() { char *p1 = "hello"; char p2[] = "hello"; // p1[0] = 'i'; p2[0] = 'j'; printf("%s",p2); return 0; } #include <stdio.h> ...
C++
hiho3.cpp
hqnjkkl/patAnswers
apache-2.0
1,595
99
codeparrot/github-code
bb1ae266d423644688145095d71f9d16553e94b67609fea9cd1c57c47271f419
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Scala
flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/runtime/stream/table/TableSinkITCase.scala
gyfora/flink
apache-2.0
20,912
584
codeparrot/github-code
fb22812de49cebb0fbc264f0b52311fcbed864d92e4603eb3d5e5d4c83d59214
# -*- coding: utf-8 -*- # Copyright 2022 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...
Python
google/cloud/securitycenter_v1p1beta1/types/source.py
googleapis/python-securitycenter
apache-2.0
2,762
69
codeparrot/github-code
1709007247e6cf48463fb1560d6c5a856a2fcdf70db3417c2efcb6f3be77d345
package main import ( "fmt" "time" ) func createServer() error { c, err := getClient() if err != nil { return err } sb := c.NewServerBuilder() // 必选项 sb.Addr("127.0.0.1:8080").HTTPBackend().MaxQPS(100) // 健康检查,可选项 // 每个10秒钟检查一次,每次检查的超时时间30秒,即30秒后端Server没有返回认为后端不健康 sb.CheckHTTPCode("/check/path", time.S...
GO
examples/server.go
fagongzi/gateway
apache-2.0
1,413
83
codeparrot/github-code
aa6ae318afd51ef6cc519214505032cd2e28ba023415f47473bb3f4de2a14899
/* * 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 agreed t...
Java
interlok-core/src/test/java/com/adaptris/core/DefaultEventHandlerTest.java
adaptris/interlok
apache-2.0
7,077
216
codeparrot/github-code
641c17fd34452ce20a9a6df646910f1ca5e5678167b04bc43383d71da50baf38
using System; using System.ComponentModel; using System.Diagnostics; using System.Windows.Media.Animation; using Blake.NUI.WPF.Touch; using Microsoft.Surface; using SocialStream.Helpers; using SocialStream.Properties; using System.Windows; namespace SocialStream { /// <summary> /// The main application window....
C#
SocialStream/SurfaceWindow.xaml.cs
stimulant/SocialStream
apache-2.0
5,364
142
codeparrot/github-code
e85e0469f64d3a19e0b80743eb6b39b31a574ff159b34a3ba9b8a39433fe6785
# (c) Copyright 2017 Hewlett Packard Enterprise Development LP # # 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...
Ruby
lib/oneview-sdk/resource/api1200/c7000/enclosure.rb
HewlettPackard/oneview-sdk-ruby
apache-2.0
1,384
33
codeparrot/github-code
cd3da19d21e73c0dd6b5c87c0e5beba17f8c2289ca9952e548411e904e7fe847
/* * AnnotationTypes.java: managing link type of Annotation * for the Nomencurator, a Nomenclature Heuristic Model. * * Copyright (c) 2004, 2014, 2015, 2019 Nozomi `James' Ytow * All rights reserved. */ /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in ...
Java
src/main/java/org/nomencurator/model/AnnotationTypes.java
nomencurator/taxonaut
apache-2.0
3,799
148
codeparrot/github-code
211567698f2a5b2c16a1f7019bbfd950e316063acae5fa8b6ab7d9f94be0a46c
package org.verdictdb.sqlreader; import static org.junit.Assert.assertEquals; import java.util.Arrays; import org.junit.Test; import org.verdictdb.core.sqlobject.AbstractRelation; import org.verdictdb.core.sqlobject.AliasedColumn; import org.verdictdb.core.sqlobject.AsteriskColumn; import org.verdictdb.core.sqlobjec...
Java
src/test/java/org/verdictdb/sqlreader/SqlToRelationTest.java
mozafari/verdict
apache-2.0
9,999
215
codeparrot/github-code
caf61556ef60dfe8c458912cfb144338be03f0ac32127338f32967cba315adae
package atcoder.abc041; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; public class C { stati...
Java
java/atcoder/abc041/C.java
hiuchida/exam
apache-2.0
1,804
83
codeparrot/github-code
00def6cb59f4551e5576e0b5a1e4a795837cee378abcfc1987225a198fdc7b5a
package randoop.test; import java.io.FileWriter; import java.util.LinkedHashSet; import java.util.Set; import junit.framework.TestCase; import randoop.util.ClassComplexityCalculator; import randoop.util.ClassHierarchy; public class ClassComplexityCalculatorTests extends TestCase { public void test1() throws Except...
Java
randoop/src/test/java/randoop/test/ClassComplexityCalculatorTests.java
Groostav/CMPT880-term-project
apache-2.0
1,620
55
codeparrot/github-code
0e651d740983188d7d6f86bc55e9c265fca81e9a1ed6af5caf91bd95389dec45
function __processArg(obj, key) { var arg = null; if (obj) { arg = obj[key] || null; delete obj[key]; } return arg; } function Controller() { function addPlayer() { if (4 == Alloy.Globals.activeTeamPlayers) alert("Solo se permite hasta 4 jugadores"); else { Alloy...
JavaScript
Resources/android/alloy/controllers/players.js
jmarcos48/myCardsGame
apache-2.0
7,181
191
codeparrot/github-code
8561c95fe3852645e5f842f667e675e0cfdc1a2ed6f920829852e20a6212f7f7
package org.infinispan.protostream.annotations.impl; import org.infinispan.protostream.annotations.ProtoDoc; import java.lang.reflect.AnnotatedElement; /** * @author anistor@redhat.com * @since 3.0 */ final class DocumentationExtractor { public static String getDocumentation(AnnotatedElement... elements) { ...
Java
core/src/main/java/org/infinispan/protostream/annotations/impl/DocumentationExtractor.java
jmarkos/protostream
apache-2.0
806
31
codeparrot/github-code
1dbf421c41b7e69ad88589df243961bcfed92820123a7b174831fed1beab12ab
/** * MVEL 2.0 * Copyright (C) 2007 The Codehaus * Mike Brock, Dhanji Prasanna, John Graham, Mark Proctor * * 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
src/main/java/org/mvel2/ast/NewObjectNode.java
codehaus/mvel
apache-2.0
12,365
315
codeparrot/github-code
05103423e042415fa34dcc3bc4955ec6c44151b3664e20d88a6d4c0590cc4c0e
package com.must7hsan.androidutils.image.picasso.transformation; import android.graphics.Bitmap; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Paint; import com.squareup.picasso.Transformation; /** * Created by Mustahsan on 0...
Java
androidutils/src/main/java/com/must7hsan/androidutils/image/picasso/transformation/CropCircleTransformation.java
must7hsan/AndroidUtils
apache-2.0
1,496
50
codeparrot/github-code
4727cf7fe50a1396bdcd027d68a581bfb0baaabe8a6d8599fc98febe0c134668
// // Copyright 2018 WebAssembly Community Group participants // // 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...
C
include/wasp/base/span.h
WebAssembly/wasp
apache-2.0
1,570
61
codeparrot/github-code
41532327df57da7f2394b0d7fdf6fe6be198853659ea27cf083fde1ab1655a68
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>CollaboratingWorkbooksEnvironment (POI API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> </head> <bod...
HTML
lib/poi-3.16-beta1/docs/apidocs/org/apache/poi/ss/formula/CollaboratingWorkbooksEnvironment.html
Aarhus-BSS/Aarhus-Research-Rebuilt
apache-2.0
14,195
329
codeparrot/github-code
ca66d9b4c3f43c7d802d7999a72409d68f2021d4ec034a0580dc7c85a2664805
/** * Copyright 2011-2013 See AUTHORS file. * * 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...
C#
MonoGdx/Scene2D/Utils/SceneBatch.cs
jaquadro/MonoGdx
apache-2.0
2,624
75
codeparrot/github-code
0a1e6ef9f6cc7385c7f1d59b756f371c88febfc91dc9085adb2a49f96afe144b
namespace AH.ModuleController.UI.ACCMS.Forms { partial class frmVoucherArchive { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
C#
Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/ACCMS/Forms/frmVoucherArchive.Designer.cs
atiq-shumon/DotNetProjects
apache-2.0
29,443
559
codeparrot/github-code
49c4932e7e95814b5f1461932499053a89e3fdf33816fc3018b632d379dec950
// The main module of the conjuror Add-on. // Modules needed are `require`d, similar to CommonJS modules. // In this case, creating a Widget that opens a new tab needs both the // `widget` and the `tabs` modules. var Widget = require("sdk/widget").Widget; var tabs = require('sdk/tabs'); var data = require('sdk/self')....
JavaScript
lib/main.js
Conjuror/mozTizer
apache-2.0
2,471
89
codeparrot/github-code
9a3d7a837b2fcc1ca7f51319e35c92b80d1f683831956e11c2b2d46ddae45e76
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta http-equiv=Content-Type content="text/html;charset=utf-8"> <meta property="wb:webmaster" content="e635a420782119b7" /> <meta name="keywords" content="可穿戴,可穿戴设备,百度可穿戴设备,百度可穿戴,智能设备,智能可穿戴设备,超智能设备,百度智能设备,便携设备,便携智能设备,百度便携设备,...
HTML
store.baidu.com/cache/html/3031.html
jiangerji/my-utils
apache-2.0
16,085
351
codeparrot/github-code
ece5be342a86464cda183fdb3abd2e77ccb57a128a7d86d6fb074bc6f5afae15
/* Copyright 2011 Tobii Technology AB 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...
C++
src/EyeTrackerBrowserApplication.cpp
vidstige/openeyetrackerbrowser
apache-2.0
2,661
90
codeparrot/github-code
e103ae2ae552f80aeea6dfbe580e02d88de79c975020bc51e54f77846befac3f
package com.example.fw; import java.util.Arrays; import com.example.tests.GroupData; import com.example.utils.SortedListOf; import com.google.common.collect.Lists; public class ApplicationModel { private SortedListOf<GroupData> groups; public SortedListOf<GroupData> getGroups(){ return groups; }; public void ...
Java
addressbook/src/com/example/fw/ApplicationModel.java
Farfique/home-work-prog-for-testers-course
apache-2.0
788
34
codeparrot/github-code
f69655c008ce7b5d808d25bbf7c92e2ec8a4a9d818654c1076dac899c2f0dc8a
package com.xinmei365.emojsdk.network; import com.squareup.okhttp.MediaType; import com.squareup.okhttp.RequestBody; import java.io.IOException; import okio.Buffer; import okio.BufferedSink; import okio.ForwardingSink; import okio.Okio; import okio.Sink; /** * Decorates an OkHttp request body to count the number o...
Java
emojsdk/src/main/java/com/xinmei365/emojsdk/network/CountingRequestBody.java
xinmei365/Emojier-Andriod
apache-2.0
1,985
84
codeparrot/github-code
e445e3432ad1faddf0336ea838e610e8bcf1ed9d724e5a24c43313125e5a4a77
package signalfx import ( "runtime" "time" ) // GoMetrics gathers and reports generally useful go system stats for the reporter type GoMetrics struct { metrics []Metric reporter *Reporter } // NewGoMetrics registers the reporter to report go system metrics. // You should provide enough dims to differentiate thi...
GO
gometrics.go
zvelo/go-signalfx
apache-2.0
3,348
109
codeparrot/github-code
bb4917f0dbf952b4859f43f099f5af78536981da7d50d4f03cba797e87879175
package vn.tiki.appid.common.pattern.list; import android.support.annotation.NonNull; import io.reactivex.Scheduler; import io.reactivex.Single; import io.reactivex.functions.BiFunction; import io.reactivex.functions.Consumer; import io.reactivex.functions.Function; import ix.Ix; import ix.IxFunction; import ix.IxPred...
Java
common/src/main/java/vn/tiki/appid/common/pattern/list/ListPresenter.java
talenguyen/AppTemplate
apache-2.0
5,001
181
codeparrot/github-code
ce56b7fa1f950e0863499ba8670e59004cf4ba796d06c52e0e02023cfb4ad5b5
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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.or...
Java
component/src/test/java/org/wso2/extension/siddhi/io/mqtt/sink/ResultContainer.java
HamsaV/siddhi-io-mqtt
apache-2.0
2,676
80
codeparrot/github-code
cf519f8926e971de2ce3f0bee2abe7a327aef039df67909634087da3cb3d6868
package oj.leetcode.string.word; import java.util.ArrayList; import java.util.List; import java.util.Set; /** * * Given a string s and a dictionary of words dict, determine if s can be * segmented into a space-separated sequence of one or more dictionary words. * * For example, given s = "leetcode",...
Java
src/oj/leetcode/string/word/WordBreak.java
feng124/leetcode
apache-2.0
1,607
75
codeparrot/github-code
daca95f7a63a97a7859a7035a1e748fa544c141a56db4fcf0f8d7b717a6ab3b9
//===--- ArrayElementValuePropagation.cpp - Propagate values of arrays ----===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
C++
lib/SILOptimizer/Transforms/ArrayElementValuePropagation.cpp
jmgc/swift
apache-2.0
11,738
360
codeparrot/github-code
2dde26cccf736671be1003f533d105827a37f857b735ba2610187e132b60b2f7
/* ÎÊÌâÃèÊö£ºÔÚ¾­µäººÅµËþµÄ»ù´¡ÉϼÓÒ»¸öÌõ¼þ£¬¼´£¬Èç¹ûÔÙ¼ÓÒ»¸ùÖù×Ó £¨¼´ÏÖÔÚÓÐËĸùÖù×Óa,b,c,d)£¬¼ÆË㽫n¸öÅÌ´ÓµÚÒ»¸ùÖù×Ó (a)È«²¿ÒƵ½×îºóÒ»¸ùÖù×Ó(d)ÉÏËùÐèµÄ×îÉÙ²½Êý£¬µ±È»£¬ Ò²²»Äܹ»³öÏÖ´óµÄÅÌ×Ó·ÅÔÚСµÄÅÌ×ÓÉÏÃæ¡£×¢£º1<=n<=64; ·ÖÎö£ºÉèF[n]ΪËùÇóµÄ×îС²½Êý£¬ÏÔÈ»£¬µ±n=1ʱ£¬F[n]=1; µ±n=2ʱ£¬F[n]=3;Èçͬ¾­µäººÅµËþÒ»Ñù£¬ÎÒÃǽ«ÒÆÍê...
C++
c/hdu/hdu1207汉诺塔.cpp
WeAreChampion/notes
apache-2.0
1,797
65
codeparrot/github-code
2196dce281dbb84bcb69b9ffb5a971ac9d50fef260956e962aac46706dfa6af1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>Uses of Class org.deidentifier.arx.framework.check.StateMachine.Transition (ARX Developer Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../.....
HTML
doc/dev/org/deidentifier/arx/framework/check/class-use/StateMachine.Transition.html
kbabioch/arx
apache-2.0
7,307
162
codeparrot/github-code
c247e887c9fc33c2e0120cb7af2bcff3d21630463eee44cd1c08dc2bffb11e0e
// Per the Apache License, Section 4b, this file has been modified from its original version for use in this library. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using System.Diagnostics; using System.DirectoryServic...
C#
Owin.Security.ActiveDirectoryLDAP/Owin.Security.ActiveDirectoryLDAP/LDAPAuthenticationHandler.cs
PCFDev/Owin.Security.ActiveDirectoryLDAP
apache-2.0
14,499
327
codeparrot/github-code
6224af90a3c93112b6737e95ce4f84d568293e9a89c43ab7e1d8f897fd00009e
/* * Copyright (C) 2014-2022 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
Java
ph-commons/src/main/java/com/helger/commons/dimension/SizeDouble.java
phax/ph-commons
apache-2.0
5,981
211
codeparrot/github-code
e4a9b31479cf1f4d4b16de049a27992246bf9f7ee7ea1a840ed15100269cd1e0
package com.github.mygreen.cellformatter.term; import java.util.Locale; import com.github.mygreen.cellformatter.lang.MSLocale; import com.github.mygreen.cellformatter.tokenizer.Token; /** * フォーマットの書式'_'の記号を表現する項。 * ・'_'の次に続く文字を空白で置き換える。 * @author T.TSUCHIE * */ public class UnderscoreTerm<T> impl...
Java
src/main/java/com/github/mygreen/cellformatter/term/UnderscoreTerm.java
mygreen/excel-cellformatter
apache-2.0
773
34
codeparrot/github-code
917763c1a1aa36837bed9578e8c5aa5c9049a4a9adfd10b00114a06ad216c1c4
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Python
tensorboard/plugins/scalar/scalars_plugin.py
tensorflow/tensorboard
apache-2.0
6,802
185
codeparrot/github-code
dcb0ed3dea49888d957015f3554021d86abf4d759c0408001b3cd66d04e6bf17
import styled from 'styled-components' import type { TMetric } from '@/spec' import css from '@/utils/css' import { theme } from '@/utils/themes' // import { WIDTH } from '@/utils/css/metric' import Img from '@/Img' export const Main = styled.div<{ metric: TMetric }>` ${({ metric }) => css.fitContentWidth(metric)};...
TypeScript
src/containers/digest/ArticleDigest/styles/desktop_view/works_layout.ts
mydearxym/mastani
apache-2.0
1,772
72
codeparrot/github-code
9d1b25461e721c684ea74d1b2e4223e9982dd63ff47cb09328e96c807987db97
/* * metismenu - v1.1.3 * Easy menu jQuery plugin for Twitter Bootstrap 3 * https://github.com/onokumus/metisMenu * * Made by Osman Nuri Okumus * Under MIT License */ ;(function ($, window, document, undefined) { var pluginName = "metisMenu", defaults = { toggle: true, double...
JavaScript
src/main/webapp/js/plugins/metisMenu/jquery.metisMenu.js
hwangfantasy/fantasy-manager
apache-2.0
3,992
121
codeparrot/github-code
260be3ee0845777dc0b6cc04f9314226b54f966bb16755f8e8ae4a7f72a6dcc8
/* rtb_agent_config.cc Jeremy Barnes, 24 March 2011 Copyright (c) 2011 Datacratic. All rights reserved. */ #include "agent_config.h" #include "jml/arch/exception.h" #include "jml/utils/string_functions.h" #include <boost/lexical_cast.hpp> #include "rtbkit/common/auction.h" #include "rtbkit/core/router/router_t...
C++
rtbkit/core/agent_configuration/agent_config.cc
Motrixi/rtbkit-vainilla
apache-2.0
24,699
773
codeparrot/github-code
dcd181970820edae7ff6db7a7e638e300303ba66501e9ac17ff1ebc888f03746
using Nlpcn.Net.Commons.Lang.Tire.Domain; namespace Nlpcn.Net.Commons.Lang.Tire { public class SmartGetWord<T> { private const string Emptystring = ""; private readonly SmartForest<T> _forest; private SmartForest<T> _branch; private char[] _chars; private int _i; ...
C#
src/Ansj.Net/Nlpcn.Net/Commons/Lang/Tire/SmartGetWord.cs
echofool/Ansj.Net
apache-2.0
6,894
216
codeparrot/github-code
39eaba2fa4c565e59166a3bd962e27a366fa5d01bde58ab665a07142324c5c4b
using System; using System.Collections.Generic; using System.Threading.Tasks; using Acquaint.Abstractions; using Acquaint.Models; using Acquaint.Util; using BackendlessAPI; using BackendlessAPI.Persistence; namespace Acquaint.Data { public class BackendlessDataSource : IDataSource<Acquaintance> { string _Data...
C#
Samples/Acquaint/Common/Acquaint.Data.NetStandard/BackendlessDataSource.cs
Backendless/.NET-SDK
apache-2.0
2,848
119
codeparrot/github-code
899dae5db4f67219e9ee434d65c3febd0743aa7515874e25dfb1049785ee3ae0
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai-10.6/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/TemplateBaseListener.java $ * $Id: TemplateBaseListener.java 106463 2012-04-02 12:20:09Z david.hor...
Java
samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/TemplateBaseListener.java
eemirtekin/Sakai-10.6-TR
apache-2.0
3,599
96
codeparrot/github-code
e69d9e6fa8c7deeb0d7d407d04758ac325959573d27fa72c1ec4f2dfa0943efa
package io.vertx.ext.cassandra; import java.util.Arrays; import java.util.List; import org.junit.Test; public class StatementTest extends CassandraTestBase { private static final String CREATE_SIMPLE_TABLE = "create table simple_table (pk varchar, ck int, primary key ((pk), ck))"; private static final Strin...
Java
vertx-cassandra-client/src/test/java/io/vertx/ext/cassandra/StatementTest.java
sisqbates/vertx-cassandra
apache-2.0
2,804
92
codeparrot/github-code
e3d7d9079e21ec6b29eb3e8896c4e7f078c2d494cae6c787e079ee0bad83cb33
<?php /** * Description of ai_core * * @author gofrendi */ class Ai_core extends CMS_Model{ private $core_identifier; //identifier, should be different for each intance private $core_property; //all property should be putted here public function __construct(){ parent::__construct(); ...
PHP
Pwltt/MangaReadersTemplates/No-CMS-master/modules/artificial_intelligence/models/Ai_core.php
pwltt/MES-PWLTT-ENVI
apache-2.0
2,204
82
codeparrot/github-code
3dd5f3e6c69ac9b942a850e2ca54c6c051d829c54dbfe5ff068da56cd313545d
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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....
Java
http/org.wso2.carbon.transport.http.netty/src/main/java/org/wso2/carbon/transport/http/netty/listener/SourceHandler.java
thusithathilina/carbon-transports
apache-2.0
14,819
327
codeparrot/github-code
a584f86ebaeae88a1755ccfb36d41c8e3ed577947d604ce26fdaab0f5721630d
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import _ from 'lodash'; export default function withToggle(ComposedComponent) { return class Toggle extends Component { static propTypes = { // Allow active state changes to trigger actions such as toggling relay variables ...
JavaScript
src/packages/@ncigdc/uikit/withToggle.js
NCI-GDC/portal-ui
apache-2.0
1,163
48
codeparrot/github-code
3559ce05861c4fa26fcec151c067de000b7fddf7681d14d54bc8f883c1c71970
/* * Copyright (C) 2014-2015 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compliance with the License. You may obtain a copy of the * License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
Java
gobblin-runtime/src/main/java/gobblin/runtime/TaskContext.java
liyinan926/gobblin
apache-2.0
11,359
307
codeparrot/github-code
5cc7ef49ba5f00c1b128ae78e09111d655c282c52a6c673e0107f6740afe35d2
/** * Opensec OVAL - https://nakamura5akihito.github.io/ * Copyright (C) 2015 Akihito Nakamura * * 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/...
Java
src/main/java/io/opensec/oval/model/windows/UserSid55Object.java
nakamura5akihito/opensec-oval
apache-2.0
5,593
251
codeparrot/github-code
09990385c21dca157e9a29e66c597614b55294be47e7c8d868e82854b396af32
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.convention.yield; import static org.testng.AssertJUnit.assertEquals; import org.testng.annotations.Test; import com.opengamma.util.test.TestGroup; ...
Java
projects/analytics/src/test/java/com/opengamma/financial/convention/yield/YieldConventionFactoryTest.java
McLeodMoores/starling
apache-2.0
1,587
39
codeparrot/github-code
896fb08d4cb2993508f4259190846960acb59559c4c7f1beab935951f0bd874a
/* * Copyright 2016-2020 Imply Data, 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 ...
TypeScript
src/expressions/customTransformExpression.ts
implydata/plywood
apache-2.0
2,699
79
codeparrot/github-code
7a1959b2826138a7471dc1850641570bc5e2ca9a6525a2a1a6b3189b24ee3d80
/* * www.msxf.com Inc. * Copyright (c) 2017 All Rights Reserved */ package com.falcon.suitagent.util; // ,%%%%%%%%, // ,%%/\%%%%/\%% // ,%%%\c "" J/%%% // %. %%%%/ o o \%%% // `%%. %%%% _ |%%% // `%% `%%%%(__Y__)%%' // // ;%%%%`\-/%%%' // (( / `%%%%%%%...
Java
src/main/java/com/falcon/suitagent/util/HexUtil.java
DevopsJK/SuitAgent
apache-2.0
4,011
135
codeparrot/github-code
e15ae2bb39846cdd57821640fad2fcbebf8872e4fa40f0a39a7c7ddf835792cc
/* * 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-connectors/src/acceptanceTest/java/org/apache/geode/connectors/jdbc/JdbcAsyncWriterIntegrationTest.java
pdxrunner/geode
apache-2.0
9,210
250
codeparrot/github-code
2c9caa49e0c3e8a42d79f76bcd7a0c4599890c49d889001805c9dfda46693dca
package io.smart7.commerce.web.form; import java.io.Serializable; import java.math.BigDecimal; import java.math.BigInteger; import io.smart7.commerce.model.Product; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class CartLine implements Serializable { private static final Logger LOGGER = LoggerFa...
Java
src/main/java/io/smart7/commerce/web/form/CartLine.java
feurle/smart7-commerce
apache-2.0
890
45
codeparrot/github-code
11fa0a3ede33580e9191e9890e55bccd96292ec7bc226e439c2231a317df2302
/* * Copyright (C) 2013 Leszek Mzyk * * 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
loopingviewpager/src/com/imbryk/viewPager/LoopViewPager.java
wasnot/LoopingViewPager
apache-2.0
7,572
228
codeparrot/github-code
3ea7524f8b813e310d1e5f56d62f6fbe213780f1dfac69773d611b0c07cbbf45
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Python
research/object_detection/builders/model_builder.py
derekjchow/models
apache-2.0
23,976
524
codeparrot/github-code
a558f094e3b1375cdf7ca343beb405180aae579bcc68b01a007cfd98dd313565
package org.wiperdog.installer; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import jav...
Java
src/main/java/org/wiperdog/installer/SelfExtractorCmd.java
WiperDogLabo/WiperdogJobrunner
apache-2.0
18,457
525
codeparrot/github-code
dd989c084d1b48fec9cb8ae72c2d3f979fe19c2dd8d73b24b54ae1c64257959b
/** * jQuery EasyUI 1.5.1 * * Copyright (c) 2009-2016 www.jeasyui.com. All rights reserved. * * Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php * To use it on other terms please contact us: info@jeasyui.com * */ (function ($) { $.fn._remove = function () { return thi...
JavaScript
assets/addons/easyui/plugins/jquery.panel.js
osdu/xcloud-client
apache-2.0
24,330
719
codeparrot/github-code
9a13ae4da130efe38e8e6c85ea796044520b594370f370f98ae5e6220a310495
const electron = require("electron"); const app = electron.app; module.exports = function (mainWindow) { var template = [ { label: "Application", submenu: [ { label: "About Application", selector: "orderFrontStandardAboutPanel:", }, { label: "Quit...
JavaScript
public/electron/helpers/menuTemplate.js
Thorium-Sim/thorium
apache-2.0
1,576
64
codeparrot/github-code
c5d6fa6e515c997ea17f3ee878db63702c4b46e0688d3743f9f98e9cf9613058
package validation import ( "github.com/robfig/cron" "k8s.io/apimachinery/pkg/api/validation" "k8s.io/apimachinery/pkg/util/validation/field" cronworkflowv1 "github.com/amadeusitgroup/workflow-controller/pkg/api/cronworkflow/v1" batchv2alpha1 "k8s.io/api/batch/v2alpha1" ) func validateScheduleFormat(schedule s...
GO
pkg/api/cronworkflow/validation/validation.go
sdminonne/workflow-controller
apache-2.0
4,354
95
codeparrot/github-code
bd3bd0ac5804c95b78377037b8bd0dc5f8d6d7de09837f6e87b7d2be28ec69fe
import React, { FC, useState } from 'react'; import { Handle, Position } from 'react-flow-renderer'; import { Container, JobName, JobStatusText, StatusIcon, InheritedTag } from './elements'; import { configStatusText, JobNodeProps, statusIcons, WORKFLOW_JOB_NODE_CHANNELS } from './shared'; import GridRow from 'componen...
TypeScript
web_console_v2/client/src/components/WorkflowJobsCanvas/JobNodes/EditConfigNode.tsx
bytedance/fedlearner
apache-2.0
2,206
60
codeparrot/github-code
1425db4862bb244dfe8396777386696a019c9f3090435c4a129615007ddc9a27
#include <puppet/runtime/values/value.hpp> #include <puppet/cast.hpp> #include <boost/functional/hash.hpp> using namespace std; namespace puppet { namespace runtime { namespace values { variable::variable(string name, shared_ptr<values::value const> value) : _name(rvalue_cast(name)), _value(rvalu...
C++
lib/src/runtime/values/variable.cc
peterhuene/puppetcpp
apache-2.0
1,542
63
codeparrot/github-code
59cb97ac878503933ac80a50b23efc81096e59580edf9cc3021d78c89bbd4551
// Copyright 2000-2020 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.codeInsight.generation.surroundWith; import com.intellij.codeInsight.CodeInsightActionHandler; import com.intellij.codeInsight.CodeInsightBundle; import com...
Java
modules/base/lang-impl/src/main/java/com/intellij/codeInsight/generation/surroundWith/SurroundWithHandler.java
consulo/consulo
apache-2.0
12,059
273
codeparrot/github-code
ff4c80caa68bbfeecc3d6bd4c675ec00bf756ead672179671008a591592adbe4
// // Copyright 2014 Gustavo J Knuppe (https://github.com/knuppe) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // ...
C#
src/SharpNL/POSTag/Language/pt/POSSequenceValidator.cs
knuppe/SharpNL
apache-2.0
10,214
268
codeparrot/github-code
323cdf4ffcd0a13d3c849c0b74ffebcf8618199a8a2d116c3fe8171b07c03611
package org.gradle.test.performance.mediummonolithicjavaproject.p251; import org.junit.Test; import static org.junit.Assert.*; public class Test5020 { Production5020 objectUnderTest = new Production5020(); @Test public void testProperty0() { String value = "value"; objectUnderTest....
Java
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p251/Test5020.java
oehme/analysing-gradle-performance
apache-2.0
2,111
79
codeparrot/github-code
29fde9e5eb8712086967b86181dd0cf7ddda5022cc70532d34e7f350af14423d
namespace HanRuEdu.LDAL { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; [MetadataType(typeof(EDU_ZZJX_50_A12_PJPFFS_metadata))] public partial class EDU_ZZJX_50_A12_PJPFFS { public EDU_ZZJX_50_A12_PJPFFS() { PFFSMC = "";...
C#
export/model/HANRU/ZZJX/EDU_ZZJX_50_A12_PJPFFS_MODEL.cs
shinkxw/DataAnalysisSystem
apache-2.0
930
36
codeparrot/github-code
72903323cf77e3f08a62c584151834a37c832c3ec8a10ca1cfc197d45ac28175
/** * @description FormCheckmark SVG Icon. * @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon. * @property {string} colorIndex - The color identifier to use for the stroke color. * If not specified, this component will default to muiTheme.palette.textColor. ...
JavaScript
src/js/components/icons/base/FormCheckmark.js
odedre/grommet-final
apache-2.0
2,138
65
codeparrot/github-code
df61e5626b438e910aca2dd5ace109d18d0fee192ce9426464258e8f287fac09
/* * $Id: EncodingFont.java 3428 2008-05-24 18:33:09Z xlv $ * * This code is part of the 'iText Tutorial'. * You can find the complete tutorial at the following address: * http://itextdocs.lowagie.com/tutorial/ * * This code is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without ...
Java
sample/PDFtest/src/com/lowagie/examples/fonts/EncodingFont.java
fc-dream/PDFTestForAndroid
apache-2.0
7,010
140
codeparrot/github-code
700d3a04db9a40d76bd5d1d2c2118be42ff0e88954e9b8cdf79ed9e4e7201bb8
package org.librairy.bluebottle.conf; import java.text.SimpleDateFormat; import java.util.Date; import java.util.concurrent.ScheduledFuture; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Configuration;...
Java
src/main/java/org/librairy/bluebottle/conf/ScheduledTasks.java
jluisred/Explorer-Bluebottle
apache-2.0
1,108
37
codeparrot/github-code
fd64a3f43885a1caebe3386ab03b6382230ae80edade2868645fec77d505dc43
package com.alexvasilkov.gestures.sample.ex.other.text; import android.annotation.SuppressLint; import android.content.Context; import android.util.AttributeSet; import android.util.TypedValue; import android.view.MotionEvent; import androidx.annotation.NonNull; import androidx.appcompat.widget.AppCompatTextView; im...
Java
sample/src/main/java/com/alexvasilkov/gestures/sample/ex/other/text/GestureTextView.java
alexvasilkov/GestureViews
apache-2.0
3,155
106
codeparrot/github-code
c3a6767dd8a8609f14789f5b8a64bf156c775ac6942921ebfc231d3da42688ef
import React, { Component } from "react"; import { Image } from "react-native"; import { Content, Text, List, ListItem, Icon, Container, Left, Right, Badge, Button, View, StyleProvider, getTheme, variables, } from "native-base"; import styles from "./style"; const drawerCover = require("../../../img/dr...
JavaScript
js/components/sidebar/index.js
alaxa27/Lukeat
apache-2.0
3,941
244
codeparrot/github-code
490e72e59b1c0f7fe4b083b92a8b142228337c2934facc08c367712acd237eaa
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at // // http://www.apache.org/licenses/LICENSE-2.0...
C#
src/MassTransit.AutomatonymousIntegration/MassTransitStateMachine.cs
SanSYS/MassTransit
apache-2.0
20,955
467
codeparrot/github-code
9aa4c77cdf7fbc62862151a9b33626a37a851292a7ba164107d68301a72de304
package com.cuc2017.model; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import com.fasterxml.jackson.annotation.JsonManagedReference; @Entity public class Event extends AbstractEntity { private EventType eventType; ...
Java
src/main/java/com/cuc2017/model/Event.java
cuc2017/scoreReporting
apache-2.0
2,889
143
codeparrot/github-code
ee0d3f8b509d298709836937bf6b3355a0f69c2824661d95a2b4b117358449e4
package com.beanu.l2_recyclerview; import com.google.android.material.appbar.AppBarLayout; import androidx.recyclerview.widget.RecyclerView; import android.view.View; import in.srain.cube.views.ptr.PtrDefaultHandler; import in.srain.cube.views.ptr.PtrFrameLayout; /** * Created by lizhihua on 2017/2/27. */ public ...
Java
l2_recyclerview/src/main/java/com/beanu/l2_recyclerview/RecyclerViewPtrHandler.java
beanu/smart-farmer-android
apache-2.0
1,559
45
codeparrot/github-code
7f3601d86395306166cdaf86da545be04045f788627bf97271375f2898f8f016
// Copyright 2015 The Oppia Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
JavaScript
core/templates/dev/head/domain/exploration/OutcomeObjectFactory.js
AllanYangZhou/oppia
apache-2.0
2,792
84
codeparrot/github-code
4a7315ab778a9726ac0a2a6e912e95820930addccd9f4d19c6aac0e25d82ee90
package com.deswaef.spring.examples.reactor.configuration; import com.deswaef.spring.examples.reactor.SpringReactorExample; import com.deswaef.spring.examples.reactor.repository.LogMessageRepository; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; ...
Java
src/test/java/com/deswaef/spring/examples/reactor/configuration/ReactorLoggingConfigurationTest.java
Qkyrie/spring-boot-reactor-example
apache-2.0
1,092
32
codeparrot/github-code
bf9a854cd424f98943afb496e35eb986bcfc74fd5d93f4f23d88fd7604685db7
package technology.mainthread.apps.isitup.view.fragment; import android.annotation.TargetApi; import android.app.Activity; import android.app.Fragment; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.support.annotation.StringRes; import android.s...
Java
mobile/src/main/java/technology/mainthread/apps/isitup/view/fragment/ResultFragment.java
mainthread-technology/is-it-up-android
apache-2.0
11,589
321
codeparrot/github-code
e70d60d99f971473c349d10f0f26198c336ce99135ba35f4d8195dee48d3681b
/* * Copyright 2017 The Mifos Initiative. * * 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
api/src/main/java/io/mifos/portfolio/api/v1/events/TaskInstanceEvent.java
mifosio/portfolio
apache-2.0
1,886
59
codeparrot/github-code
4ea3f0f7151c5027b1d108e05e00a7d1a251e76eee7292e4edca34c0ae646e7e
/* Copyright © 2014 Daniel Boulet */ package com.obtuse.ui; import com.obtuse.util.*; import org.jetbrains.annotations.Nullable; import javax.swing.*; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import java.awt.*; import java.util.Dictionary; import java.util.Hashtable; import ja...
Java
src/com/obtuse/ui/GaussianDistributionConfiguratorWidget.java
Savrola/Pipestone
apache-2.0
10,580
328
codeparrot/github-code
72b306df98f77fa93b3a869bb66505c541272f338bd349af95ba60d9e621de29
package org.mst.largeimage; import java.io.InputStream; public interface IPhotoView { public void setScale(float scale, float offsetX, float offsetY); public void setImage(String filePath); public void setImage(InputStream inputStream); public int getImageWidth(); public int getImageHeight();...
Java
largeimage/src/main/java/org/mst/largeimage/IPhotoView.java
xyzmst/PhotoPicker
apache-2.0
1,110
57
codeparrot/github-code
71edbdb793f75ba4877b7fbf038e0ef3be0d772cbb99b169fb1928a3edd139cd
/* * Copyright 2014 Jay Soyer * * 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
app/src/main/java/com/sawyer/advadapters/app/adapters/rolodexarrayadapter/advancedemo/NavigationDrawerActivity.java
JaySoyer/Advanced-Adapters
apache-2.0
11,194
304
codeparrot/github-code
c487ae436166db521f800434e1424ddbde77ac00e3cfd85c70621b2280b106c6
/* * 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-fms/src/main/java/com/amazonaws/services/fms/model/RemediationActionWithOrder.java
aws/aws-sdk-java
apache-2.0
6,025
190
codeparrot/github-code
1251943416fdf1dd6c301d7bdbc8ad8d466254256504d79360535b0cd51366b2
package org.javajumper.cartok.entity; import java.awt.Point; import org.javajumper.cartok.building.Building; import org.javajumper.cartok.world.World; import org.newdawn.slick.geom.Vector2f; public class AI { private World world; private NPC npc; private Path path; private boolean isWalking; ...
Java
Cartok/src/org/javajumper/cartok/entity/AI.java
JavaJumperStudios/Cartok
apache-2.0
3,701
158
codeparrot/github-code
77934d34b93c93ead00870fe32125fba0a37fd82d5f6f4d8d6442c14d647b11d
package com.cisco.trex.stl.gui.services; import javafx.concurrent.ScheduledService; import javafx.concurrent.Task; import org.apache.log4j.Logger; import java.util.HashSet; import java.util.Set; import com.cisco.trex.stateless.model.stats.ActivePGIdsRPCResult; import com.exalttech.trex.core.ConnectionManager; impo...
Java
src/main/java/com/cisco/trex/stl/gui/services/ActivePGIDsService.java
cisco-system-traffic-generator/trex-stateless-gui
apache-2.0
1,712
50
codeparrot/github-code
2fd1bc33d19b2cdce04a7c764570d945ed806808d1846466760dbfea7a64a40e
/* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Java
src/com/heneryh/aquanotes/io/LocalBlocksHandler.java
HeneryH/AquaNotesBU
apache-2.0
4,248
120
codeparrot/github-code
722343b3ddfc100d3524af68d909e40d7c38d9bda1a280d917fe7e0c232af342
package org.educama.services.flightinformation.model; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.springframework.data.annotation.Id; public class Airport { @Id private String id; private String name; private String city; private String country; private String iataCode; private St...
Java
services/flightinformation/src/main/java/org/educama/services/flightinformation/model/Airport.java
educama-students2/Showcase
apache-2.0
2,657
153
codeparrot/github-code