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
b5c75308660fef6a9a223675be5b2932ecbc0932652fb493ed76a3c2871da1f9
package it.sephiroth.android.library.floatingmenu; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.util.Log; import android.view.animation.Interpolator; import android.widget.FrameLayout; import android.widget.ImageView; import com.nineoldandroid...
Java
floatingmenu/src/main/java/it/sephiroth/android/library/floatingmenu/FloatingActionItemImageView.java
sephiroth74/android-floating-action-menu
apache-2.0
11,544
355
codeparrot/github-code
bbb2b231f77440aad0806c159c2151ec25d2a20468798e7397133e1c1f4ca397
/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /* Copyright 2012 Mozilla Foundation and Mozilla contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
C++
B2G/gecko/dom/bluetooth/gonk/BluetoothGonkService.cpp
sergecodd/FireFox-OS
apache-2.0
4,368
165
codeparrot/github-code
0e06e0d3dfe7f0dc06e17bff5f98aceedec1a8403043b179e2a4e4f86f92f9b1
--- layout: shared/wide description: "Web Fundamentals is a comprehensive resource for multi-device web development." title: Web Fundamentals translation_priority: 0 --- <div class="wf-subheading wf-fundamentals-landing"> <div class="page-content"> {% include svgs/fundamentals.svg %} <p class="mdl-typography...
Markdown
src/content/en/fundamentals/index.markdown
yoichiro/WebFundamentals
apache-2.0
2,554
61
codeparrot/github-code
62053019e050f71523535e70fb994c483616fdc927f2fcaa853749ef8dc032a7
package org.deeplearning4j.nn.conf.graph; import org.deeplearning4j.nn.api.OptimizationAlgorithm; import org.deeplearning4j.nn.conf.ComputationGraphConfiguration; import org.deeplearning4j.nn.conf.NeuralNetConfiguration; import org.deeplearning4j.nn.conf.layers.ActivationLayer; import org.deeplearning4j.nn.conf.layers...
Java
deeplearning4j-core/src/test/java/org/deeplearning4j/nn/conf/graph/ElementWiseVertexTest.java
kinbod/deeplearning4j
apache-2.0
31,675
687
codeparrot/github-code
d9c85ae1e11b612ae40ace0a5650689b7e1937f7753e8f69d6bd5b1537377c0a
/*++ Module Name: DataReader.h Abstract: Headers for the DataReader & related classes for the SNAP sequencer Authors: Ravi Pandya, Jan 2013 Environment: User mode service. Revision History: --*/ #pragma once #include "Compat.h" #include "VariableSizeMap.h" // // This defines a family of comp...
C
SNAPLib/DataReader.h
Blahah/snap
apache-2.0
6,599
211
codeparrot/github-code
e226e3df6bf7c12d6dfdb932d55fd0be2cbd7dc2d52c6c85820707ee892a1e96
/* * 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
include/tvm/tir/data_layout.h
tqchen/tvm
apache-2.0
11,809
349
codeparrot/github-code
3de5426dd8e6c2b655dbb866d423ac841186567f2809cd4948cc96070618062e
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C++
aws-cpp-sdk-dynamodb/source/model/CreateTableRequest.cpp
chiaming0914/awe-cpp-sdk
apache-2.0
3,773
116
codeparrot/github-code
540606201e12c2a8c795f0d600d95596d86f762334bd93a46f6d5f70d200c431
/** * Created by filip on 2/2/15. */ 'use strict'; /** * PipelineService is used for MainController interaction with pipeline instance */ angular.module('registryApp.dyole').service('PipelineService', [function() { var service, pipelines = {}, refresh = {}, toCall = {}; service =...
JavaScript
client/src/editors/app/scripts/dyole/services/PipelineService.js
rabix/cottontail
apache-2.0
2,217
104
codeparrot/github-code
3f8d70f85979ba78994a1deb923d0da69cd88695db7c70433315964117a3c82b
/* * This file is part of Flicklib. * * Copyright (C) Zsombor Gegesy * * 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 requi...
Java
flicklib-guice/src/main/java/com/flicklib/module/SourceLoaderSelector.java
francisdb/flicklib
apache-2.0
2,402
80
codeparrot/github-code
6467b9ed03588d4953847976c7bfa9698081d507870f92060d38b54e9481f44a
define("dojox/app/controllers/Transition", ["require", "dojo/_base/lang", "dojo/_base/declare", "dojo/has", "dojo/on", "dojo/Deferred", "dojo/when", "dojo/dom-style", "../Controller", "../utils/constraints"], function(require, lang, declare, has, on, Deferred, when, domStyle, Controller, constraints){ var transit; ...
JavaScript
WebContent/js/dojo-release-1.9.0/dojox/app/controllers/Transition.js.uncompressed.js
GeoinformationSystems/Time4Maps
apache-2.0
17,159
431
codeparrot/github-code
3d575575a827a7a556971ab0077869e7700d8d296be4d6a7d5f01efda3ae4aaf
//---------------------------------------------------------------------------------------------- // Copyright 2014 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the ...
C#
MediaLibraryWebApp/Controllers/MediaLibraryController.cs
gtrifonov/Key-delivery-with-AAD-integration
apache-2.0
17,155
393
codeparrot/github-code
f07b34d0aa491193a193d7cd0e2f86d390a1ffccfa386240a05e135c1863f659
/* * Copyright (C) 2015 The Dagger Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
Java
java/dagger/internal/codegen/validation/MonitoringModuleGenerator.java
google/dagger
apache-2.0
3,679
93
codeparrot/github-code
6ea6d2ed530c0894146f52b8fcb39d6856c9c733381e658507eafe54ac28964a
/* * Copyright 1999-2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
src/share/org/apache/slide/event/ContentModifiedNotifier.java
integrated/jakarta-slide-server
apache-2.0
2,675
87
codeparrot/github-code
5954d9bae1a5c0fef8c1a87cacd0b39f6605d0c7241331e73ba567df10b437a7
'use strict'; const _ = require('underscore'); const extend = _.extend; const memoize = _.memoize; const omit = _.omit; const util = require('util'); const batch = require('abacus-batch'); const breaker = require('abacus-breaker'); const cluster = require('abacus-cluster'); const dbclient = require('abacus-dbclient'...
JavaScript
lib/cf/bridge/src/index.js
danparsons/cf-abacus
apache-2.0
17,150
560
codeparrot/github-code
b72ccd55381c94a9c6892fae890a12ff47a1915c72418bec6d7655b1444c2450
/* * Copyright (c) 2010-2013 Evolveum * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/ACAttributePanel.java
rpudil/midpoint
apache-2.0
3,602
100
codeparrot/github-code
c4075f113026a8b21650dc4d9a5c69bceea0cd637ac0b72116346cf1e0f2078d
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C
aws-cpp-sdk-glue/include/aws/glue/model/DeletePartitionResult.h
cedral/aws-sdk-cpp
apache-2.0
1,193
47
codeparrot/github-code
f9eabd24230132e9ba92e3208aa0785a06fe29f9a4436a235e717e04b8d8c04b
package com.manning.hsia.dvdstore; import org.apache.lucene.index.Term; import org.apache.lucene.search.BooleanClause; import org.apache.lucene.search.BooleanQuery; import org.apache.lucene.search.TermQuery; import org.hibernate.Transaction; import org.hibernate.search.FullTextSession; import org.hibernate.sea...
Java
ch07/src/com/manning/hsia/dvdstore/TestBooleanQuery.java
ashraf-revo/hibernatesearchinaction
apache-2.0
2,616
81
codeparrot/github-code
ca3948b729d0bff084fdac4e1846498d5c55719df8d6c455dc8b9368f4ef9273
package cn.droidlover.xdroid.demo.ui; import cn.droidlover.xdroid.base.SimpleRecAdapter; import cn.droidlover.xdroid.demo.adapter.GirlAdapter; import cn.droidlover.xdroid.demo.model.GankResults; import cn.droidlover.xrecyclerview.RecyclerItemCallback; import cn.droidlover.xrecyclerview.XRecyclerView; /** * Created b...
Java
java开发资料/dataStu/XDroid-master/app/src/main/java/cn/droidlover/xdroid/demo/ui/GirlFragment.java
liyanippon/working
apache-2.0
1,264
47
codeparrot/github-code
1f62b94dbd54c92e718d6fe809fec24a031d888974a5bbf8b0c1fc120ea857b8
/* * Copyright (c) 2005-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.o...
Java
components/social/org.wso2.carbon.social.core/src/main/java/org/wso2/carbon/social/core/ActivityPublisher.java
harsha89/carbon-store
apache-2.0
2,306
68
codeparrot/github-code
e0897cca095cd2817b01a13f8523b0975d9cfca6dfe0603c268ba26481def0fe
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.refactoring.inline; import com.intellij.codeInsight.BlockUtils; import com.intellij.codeInsight.ChangeContextUtil; import com.intellij.codeInsight.editorActions.DeclarationJoinL...
Java
java/java-impl-refactorings/src/com/intellij/refactoring/inline/InlineObjectProcessor.java
jwren/intellij-community
apache-2.0
17,691
394
codeparrot/github-code
5119baaacd9382790b9c75aa0a31c13f401bba1a6c898d9967d3c8e5c11f80f3
// Copyright 2017 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/ffi/ffi-compiler.h" #include "src/api.h" #include "src/code-factory.h" #include "src/objects-inl.h" namespace v8 { namespace internal { ...
C++
platform/JS/V8/v8/src/ffi/ffi-compiler.cc
macchina-io/macchina.io
apache-2.0
4,345
126
codeparrot/github-code
d2efbd6e5c9847298fcb01a1efc5259f7b18e95d753612ee235d5d0456148a09
package com.bookmarkanator.ui.fxui; import java.awt.*; import java.util.*; public class UIUtil { private static UIUtil uiUtil; private Map<Integer, Dimension> bestWindowSizeMap; public Map<Integer, Dimension> getBestWindowSizeMap() { if (bestWindowSizeMap == null) { bestWi...
Java
src/main/java/com/bookmarkanator/ui/fxui/UIUtil.java
flightx31/Bookmark-anator
apache-2.0
1,504
45
codeparrot/github-code
cef64fb9f9032b972acbe262acb33e00d94c3f99cb420af90106e8164d05897e
/** * Copyright (c) 2013-2020 Contributors to the Eclipse Foundation * * <p> See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Versio...
Java
analytics/api/src/main/java/org/locationtech/geowave/analytic/param/InputParameters.java
locationtech/geowave
apache-2.0
1,261
40
codeparrot/github-code
c87a86f6eddf5ce2b724fe8089287a1251b216a496080648b531480aa272a0ea
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
core/src/test/java/org/elasticsearch/search/aggregations/bucket/FiltersIT.java
mapr/elasticsearch
apache-2.0
21,573
462
codeparrot/github-code
1304ba38b61d4256b072d1921bdd8915b1facba111b1966dc02b33880a28f042
package org.jnect.emfstore.replay; import java.util.Observable; import java.util.Observer; import org.eclipse.swt.SWT; import org.eclipse.swt.events.DisposeEvent; import org.eclipse.swt.events.DisposeListener; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.ecl...
Java
Jnect/org.jnect.emfstore/src/org/jnect/emfstore/replay/SliderDialog.java
lunifera/lunifera-sharky-m2m
apache-2.0
3,833
133
codeparrot/github-code
2191370477283df22356de4582f44473bfe35f3881f2f5dcc93f9aad65900f06
package org.openvmc.test; import org.opencv.core.Core; import org.opencv.core.Mat; import org.opencv.core.MatOfByte; import org.opencv.highgui.Highgui; import org.opencv.highgui.VideoCapture; public class VideoReaderTest { public static void main(String[] args) { System.out.println(System.getProperty("...
Java
test/org/openvmc/test/VideoReaderTest.java
shenhzou654321/HadoopCV
apache-2.0
1,107
39
codeparrot/github-code
295662fbf44187db0ec75009e523a1c3a398f01a6da0cdb353351d74ea2d2949
/* * 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.org/...
Java
modules/andes-core/broker/src/main/java/org/wso2/andes/store/rdbms/RDBMSStoreUtils.java
chanakaudaya/andes
apache-2.0
18,289
509
codeparrot/github-code
4557a7088730371813bebb7f859c38f5f196e16b9f97a99200d6750b48223e3e
/* * Copyright (C) 2007,2008,2009 Red Hat, Inc. * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its documentation for any purpose, provided that the ...
C
third_party/gecko-10/win32/include/harfbuzz/hb-ot-layout.h
bwp/SeleniumWebDriver
apache-2.0
5,796
197
codeparrot/github-code
c9b55ee291d77006ae016cd6f4c9521fd24ff813b3184146e0059bb49eab8c09
// Copyright 2009 The Closure Library 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 requ...
JavaScript
closure-library/closure/goog/testing/style/layoutasserts.js
maxogden/googlyscript
apache-2.0
13,385
370
codeparrot/github-code
0066e276924d0cd0bfd2d318eca9589d6b0047a754b1c91be439693aeab59e33
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
core/src/main/java/org/elasticsearch/indices/recovery/RecoveryTarget.java
polyfractal/elasticsearch
apache-2.0
29,788
518
codeparrot/github-code
8540e690a5423c32e8070f84f889b2b36759a9fae4dba2381aefa38052349ecb
/* // Licensed to DynamoBI Corporation (DynamoBI) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. DynamoBI licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may ...
Java
farrago/src/org/eigenbase/test/ThreadIteratorTest.java
LucidDB/luciddb
apache-2.0
4,130
153
codeparrot/github-code
b460052bc6fc08515894b2f33339fded4da5bb8cc8409a4052c8759dc2000255
/* * Copyright 2016 Martijn Brekhof. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
app/src/testUtils/java/org/xbmc/kore/testutils/tcpserver/handlers/jsonrpc/JsonResponse.java
RaafatAkkad/Kore
apache-2.0
7,064
220
codeparrot/github-code
5e30101a1e3c26a08d1c7da285e3cf7171dd4b042392812ba0f409d23d25d5f1
#include "testing/testing.hpp" #include "write_dir_changer.hpp" #include "platform/platform.hpp" #include "platform/settings.hpp" #include "coding/file_name_utils.hpp" #include "coding/internal/file_data.hpp" WritableDirChanger::WritableDirChanger(string const & testDir) : m_writableDirBeforeTest(GetPlatform().Wr...
C++
platform/platform_tests_support/write_dir_changer.cpp
simon247/omim
apache-2.0
968
31
codeparrot/github-code
f8ca6c963e3bd4ccd1826b58a01219ee7df287947e337e7b16b6192e6d4243a8
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
presto-main/src/main/java/com/facebook/presto/sql/analyzer/FeaturesConfig.java
aleph-zero/presto
apache-2.0
12,481
426
codeparrot/github-code
8e8d3220ef053f1cd5cb07a5d48b3cffe5570d7a39c1ae4f4dea5a1600d180d6
from pattern.en import parse, Text class TextParser(object): def __init__(self): self.proper_sentences = [] self.MIN_WORD_COUNT = 10 @staticmethod def get_count_tag(sentence, tag): count = 0 for word in sentence: if word.type == tag: count += 1 ...
Python
src/experiments/textparser.py
mrzl/ECO
apache-2.0
1,618
49
codeparrot/github-code
f26b67dce50a5c8d36ec9323d63950bfe8bc04db4ab01ce3cd8178ad274dffda
/* 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
modules/flowable-engine/src/test/java/org/flowable/engine/test/bpmn/cache/ServiceCacheTask.java
dbmalkovsky/flowable-engine
apache-2.0
3,015
62
codeparrot/github-code
1b58c542a0d38bcb48d48007a73c5cf6034670931f43fdb9b45bb967c2a168ae
# Copyright 2018 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
tensorflow/python/data/experimental/ops/map_defun.py
seanli9jan/tensorflow
apache-2.0
2,667
62
codeparrot/github-code
f8ebb4e483b591bf97a34ab1099f94d15d7526a12f28ca1bd9f88bc03f758a84
/* * 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
my-test/src/main/java/my/test/db/compaction/SizeTieredCompactionTest.java
mashuai/Cassandra-Java-Driver-Research
apache-2.0
2,932
74
codeparrot/github-code
b8dbb6e30c45aed6f59c0953c84857630c5f583037355cb827bc38a825c77241
/** * * Copyright © 2014-2019 Florian Schmaus * * 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 la...
Java
jxmpp-stringprep-libidn/src/main/java/org/jxmpp/stringprep/libidn/LibIdnXmppStringprep.java
Flowdalic/jxmpp
apache-2.0
2,414
84
codeparrot/github-code
32516a735d13990310abf3fe6291ee75f98842d38516e7f521ad9bc777bc99ed
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
Java
api/src/com/cloud/api/commands/RegisterTemplateCmd.java
argv0/cloudstack
apache-2.0
8,997
242
codeparrot/github-code
db1c7e85e0a1ec7f59e5317b1987bce2950b8ebc2785c7e9f0c44aa9adbc0124
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C++
aws-cpp-sdk-codecommit/source/model/PutRepositoryTriggersResult.cpp
cedral/aws-sdk-cpp
apache-2.0
1,475
51
codeparrot/github-code
f3773264305b649913aa406c1bc0d30d11998a6bbfb45e4c05452b68c6a5536c
/* * 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/internal/memory/impl/AlignmentAwareMemoryAccessorTest.java
mdogan/hazelcast
apache-2.0
3,318
111
codeparrot/github-code
83de2d2e0e0fc122165cf417c98887c6cbc525f7b067d0a1a88c4c755609f5b0
/* * Copyright 2011 Google Inc. * Copyright 2011 Peter Kuterna * * 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 require...
Java
devoxx-android-client/src/net/peterkuterna/android/apps/devoxxsched/ui/TracksFragment.java
devoxx/mobile-client
apache-2.0
4,185
139
codeparrot/github-code
a5304ff224df587ac6e5e4cea9fd441245019d40b1537354fb7b73da60b6ebb6
/* * Copyright 2016 LINE Corporation * * LINE Corporation licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
Java
core/src/main/java/com/linecorp/armeria/internal/ArmeriaHttpUtil.java
jmostella/armeria
apache-2.0
27,545
639
codeparrot/github-code
89e59d99ba48cc3b3eaf608b1ef0343361794d99595e938963f8233e13130d74
/* * 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/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryAdapter.java
alexzaitzev/ignite
apache-2.0
26,448
857
codeparrot/github-code
10a055b8b4ca7aa3397f627d99d8f571e2a0236a1bf38c27e908ba0369818438
package bai.kang.yun.zxd.di.module; import com.jess.arms.di.scope.ActivityScope; import bai.kang.yun.zxd.mvp.contract.FindContract; import bai.kang.yun.zxd.mvp.model.FindModel; import dagger.Module; import dagger.Provides; /** * 通过Template生成对应页面的MVP和Dagger代码,请注意输入框中输入的名字必须相同 * 由于每个项目包结构都不一定相同,所以每生成一个文件需要自己导入import...
Java
app/src/main/java/bai/kang/yun/zxd/di/module/FindModule.java
appsw/ShopBKY
apache-2.0
1,165
46
codeparrot/github-code
9e27cabb987fbf7c8a7f3a138d342e5694b4f5f3c4ad22e152ce3c4617d9031a
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
presto-main/src/main/java/com/facebook/presto/sql/rewrite/DescribeInputRewrite.java
nezihyigitbasi/presto
apache-2.0
6,369
154
codeparrot/github-code
aef15ea1dc02281dacf0ddb0d66f552be73aea32cdeb7d21b6af754be49f72a0
/* *------------------------------------------------------------------ * Copyright (c) 2016 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://w...
C
vnet/vnet/devices/netmap/node.c
licko/vpp-1701-licko
apache-2.0
8,610
301
codeparrot/github-code
8528074872142e4c1d7fe0a9f2c72a3a7020e6712bb23552b812617b0ce6d1a9
/* ==== Google font ==== */ @import url('http://fonts.googleapis.com/css?family=Noto+Serif:400,400italic,700|Open+Sans:300,400,600,700'); /* === prettify === */ @import url('../js/google-code-prettify/prettify.css'); /* === fontawesome === */ @import url('font-awesome.css'); /* === custom icon === */ @import u...
CSS
UI/web/css/foodiepage/style.css
tpsatish95/PingMyFood
apache-2.0
34,051
2,020
codeparrot/github-code
7732a5e6ffa897d3af83f2018806c2943d70976f475ed827d29e029bb83048be
/* * 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
apis/route53/src/main/java/org/jclouds/route53/binders/BindChangeBatch.java
yanzhijun/jclouds-aliyun
apache-2.0
2,355
54
codeparrot/github-code
ccd1978a952064ad6be146a6d664aadafc523495c0390c995efc84e5e3dbd0bd
/* * Copyright (c) 2014-2017 Neil Ellis * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
Java
dollar-script/src/main/java/dollar/internal/runtime/script/operators/UnaryOp.java
neilellis/dollar
apache-2.0
4,111
107
codeparrot/github-code
31e6a753373c544b1a641906c678fa4e97d9bb5562cdca1b503cd37c38dcf677
/* * 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
library/src/main/java/org/apache/fontbox/cff/Type1FontUtil.java
kzganesan/PdfBox-Android
apache-2.0
4,659
163
codeparrot/github-code
dbff619259f30080a9640203426c6813c77ca8c152d37b2392855d5cf2dc8665
# Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # Copyright 2012 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the ...
Python
watcher/common/config.py
stackforge/watcher
apache-2.0
1,465
36
codeparrot/github-code
8f4fbc09203ceef91838069b0941f05c517439e68a18de968dcbfbe6d4d550f0
package edu.kuacm.expo2014.parsers; import java.io.IOException; import java.io.InputStream; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import org.xmlpull.v1.XmlPullParserFactory; /** * Base class with helper methods for XML pull parsing. * * @author Christophe ...
Java
src/edu/kuacm/expo2014/parsers/AbstractPullParser.java
KU-Competitive-Programming/ku-engineering-expo-2014
apache-2.0
2,204
76
codeparrot/github-code
fa92743d3e638b56aa9d25c30bd22f45e71106ba9be4b16bd8911b477ce284be
/***************************************************************************** * Copyright (C) 2013-2017 MulticoreWare, Inc * * Author: Gopu Govindaswamy <gopu@multicorewareinc.com> * Min Chen <chenm003@163.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the...
C++
x265/source/common/deblock.cpp
ninetian/ffmpeginstaller
apache-2.0
19,291
511
codeparrot/github-code
6d6cd0bb42a29709a74c4c13dfc9d3d53eeac8c3ebe60716f73648019b6965de
--- layout: default --- <!-- Post Header --> <header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')"> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 c...
HTML
_layouts/post.html
JimGeek/JimGeek.github.io
apache-2.0
1,937
53
codeparrot/github-code
94bfc63fa1f291af812dbb57128fd710805c4856cb8088408769accfe215b309
package operators;// operators/Bool.java // (c)2017 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://OnJava8.com for more book information. // Relational and logical operators import java.util.*; public class Bool { public static void main(String[] args)...
Java
sourceCode/testMaven/onjava8/src/main/java/operators/Bool.java
mayonghui2112/helloWorld
apache-2.0
1,340
43
codeparrot/github-code
543331497b9928e2124f4d4de414860bd91199f75862937c795aeb076e62e99b
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
Java
core/src/test/java/org/jdbi/v3/core/mapper/MapOptionalTest.java
john9x/jdbi
apache-2.0
1,958
56
codeparrot/github-code
3300a4d6fca6d2bcc51d33fa89840e6db45685366c494d9c80e36a8025b06ee6
# # Author:: Joshua Timberman (<joshua@getchef.com>) # Author:: Graeme Mathieson (<mathie@woss.name>) # # Copyright 2011-2013, Opscode, Inc. # Copyright 2014, Chef Software, Inc <legal@getchef.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with ...
Ruby
lib/chef/mixin/homebrew_user.rb
BackSlasher/chef
apache-2.0
2,405
69
codeparrot/github-code
f023949adea5f2e7f2ad272d75027184128a0a01ea961a2dad5b72cef6e4ac07
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
Java
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/execute/LocalDataSetDUnitTest.java
pdxrunner/geode
apache-2.0
13,429
389
codeparrot/github-code
5616985bbe0aa3d1e11928c6d80d309e2d5082f072a7c4ef4ff1c46376750e62
/* * 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
sourceCode/apache-tomcat-7.0.82-src/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java
mayonghui2112/helloWorld
apache-2.0
17,225
561
codeparrot/github-code
03a0d8fe334b07e449f9abea5f1c2b6b747dbae8fcbfbf8ff2f228af0d4ca8d8
import createWebworkerPromise from './createWebworkerPromise' import PromiseFileReader from 'promise-file-reader' import config from './itkConfig' const readDICOMTags = async (webWorker, file, tags = null) => { let worker = webWorker const { webworkerPromise, worker: usedWorker } = await createWebworkerPromise( ...
JavaScript
src/readDICOMTags.js
InsightSoftwareConsortium/ITKBridgeJavaScript
apache-2.0
835
33
codeparrot/github-code
12105a4d18092a2cb0ebadde5385172d4826e3da6e7db6b8d77f7d92fa4c2d7e
import pifacecad from time import sleep class Screen(): """ A driver for PiFace Control and Display Raspberry Pi shields. It has a simple 16x2 LCD on it, controlled by a MCP23S17 over SPI. Doesn't yet conform to HD44780 library specs, many functions are not transferred from the ``pifacecad`` library. TOD...
Python
output/drivers/pfcad.py
CRImier/pyLCI
apache-2.0
2,181
70
codeparrot/github-code
17902633a7470d8d68d351d641ddacddfa2e48525522432711d3474422e1e2a2
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //System configuration (SYSCON) namespace SysconSysmemremap{ ///<System memory remap using Addr = Register::Address<0x40048000,0x00000000,0x00000000,unsigned>; ///System memory remap. Value 0x3 is reserved. enum class MapVal...
C++
Lib/Chip/CM0/NXP/LPC800_v0.3/SYSCON.hpp
porkybrain/Kvasir
apache-2.0
74,637
1,178
codeparrot/github-code
6765980af0e67e5e8450c23ede3765fa6a0b032a583ba269ed07ba69b9e13eff
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C
aws-cpp-sdk-s3/include/aws/s3/model/QueueConfiguration.h
chiaming0914/awe-cpp-sdk
apache-2.0
5,659
167
codeparrot/github-code
0187aeb89b86ef084e1fbb56c03e6d13f68b996592caab90e88edcc70b44a27b
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Scala
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/TypeCoercionSuite.scala
szhem/spark
apache-2.0
63,544
1,387
codeparrot/github-code
5f268d789912afedda6cc153bdfe96751564b536979b0132e8d94ad6b57b4849
/* * 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
vault-cli/src/main/java/org/apache/jackrabbit/vault/cli/CmdExport.java
apache/jackrabbit-filevault
apache-2.0
5,821
139
codeparrot/github-code
9c5f5caea397cb4fbea030d0a08e5914066244781f3ffaab24d0c90905e5fcc1
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
components/camel-opentracing/src/main/java/org/apache/camel/opentracing/decorators/MongoDBSpanDecorator.java
Fabryprog/camel
apache-2.0
2,060
59
codeparrot/github-code
d522f3efdd1c8743b70e86b3283a632f0c9d8db088a383e6264704af0ead38b7
/** * 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
server/openejb-hsql/src/main/java/org/apache/openejb/server/hsql/HsqlPrintWriter.java
apache/openejb
apache-2.0
3,122
139
codeparrot/github-code
322d374be54aa14740de94a6323a26f9d580440a9ef7b8ce5be353196ada08df
/* * 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
solr/core/src/test/org/apache/solr/metrics/SolrMetricManagerTest.java
apache/solr
apache-2.0
11,478
274
codeparrot/github-code
99c05f8a90ae40ed9aa94338ad1e3640a714b9e500723a97d5455bf1fdc2ba6a
package fi.aalto.dmg.frame.bolts; import backtype.storm.topology.BasicOutputCollector; import backtype.storm.topology.OutputFieldsDeclarer; import backtype.storm.topology.base.BaseBasicBolt; import backtype.storm.tuple.Fields; import backtype.storm.tuple.Tuple; import backtype.storm.tuple.Values; import fi.aalto.dmg.f...
Java
StreamBench/storm/src/main/java/fi/aalto/dmg/frame/bolts/IteractiveBolt.java
wangyangjun/RealtimeStreamBenchmark
apache-2.0
1,927
55
codeparrot/github-code
f5e74f24768f66d3137bda461e570c060c2b68f0626f5f3bac8d9e7b3d4eff41
/* * 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-orc/src/test/java/com/facebook/presto/orc/TestSelectiveOrcReader.java
shixuan-fan/presto
apache-2.0
60,648
1,296
codeparrot/github-code
55eec5b1e2293b9492571a5d226ef04a6ba96b9e5c0c02beb7b4eaef451b14c3
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed ...
Java
src/main/java/org/camunda/bpm/model/bpmn/Query.java
filiphr/camunda-bpmn-model
apache-2.0
1,065
37
codeparrot/github-code
9318b7e2a9a28422905a7a995a324df335ad127c9786e68cbf8549203f70cfed
var tilelive = require('tilelive'); var zlib = require('zlib'); var fs = require('fs'); var path = require('path'); module.exports = Testsource; // Load fixture data. var infos = { a: { minzoom:0, maxzoom:1, vector_layers: [ { "id": "coastline", ...
JavaScript
test/vectorholder/testsource.js
spatialdev/PGRestAPI
apache-2.0
3,154
115
codeparrot/github-code
0a1ec3e239896c5523fc43c184a0fe8627dc811c8b0c538ca8a2086bd7ca13c9
/** * $RCSfile$ * $Revision: 3144 $ * $Date: 2005-12-01 14:20:11 -0300 (Thu, 01 Dec 2005) $ * * Copyright (C) 2004-2008 Jive Software. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a c...
Java
openfiresource/src/org/jivesoftware/openfire/commands/event/GroupCreated.java
saveendhiman/OpenfirePluginSample
apache-2.0
4,254
131
codeparrot/github-code
011740618f978e115c3a9efaf8deec6f1c06580194582678d830f982fcf16dbf
//>>built define({"builder/nls/builder":{common:{ok:"OK",cancel:"Avbryt",save:"Lagre",doNotSave:"Ikke lagre",saved:"Lagret",saving:"Lagrer",widgetName:"Navn p\u00e5 miniprogram",emptyMessage:"Velg et miniprogram.",chooseWidget:"Velg miniprogram",deleting:"Sletter",duplicating:"Kopierer",uploading:"Laster opp",updating:...
JavaScript
client/builder/js/app/nls/main_nb.js
nickperez1285/truck-hunt-hackathon
apache-2.0
15,482
30
codeparrot/github-code
1aa818d50526b352e7d8e0e378e10a69618e3f7de9d8f724504291d232fe2667
/** * Copyright © 2018 spring-data-dynamodb (https://github.com/derjust/spring-data-dynamodb) * * 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/LIC...
Java
src/test/java/org/socialsignin/spring/data/dynamodb/repository/support/DynamoDBIdIsHashAndRangeKeyEntityInformationImplUnitTest.java
michaellavelle/spring-data-dynamodb
apache-2.0
8,091
204
codeparrot/github-code
2c7c1e6095e7ce9b188353747a2075833f69014c076ac3683a792d61db3f689a
/******************************************************************************************************** * Copyright (c) 2011 Built to Roam * This code is available for use only within authorised applications. * Do not redistribute or reuse in unauthorised applications *******************************************...
C#
BuiltToRoam.UI.Shared/Converters/BoolVisibilityConverter.cs
builttoroam/realestateinspector
apache-2.0
2,271
76
codeparrot/github-code
b89d00093347656606d9101d1387731c1807a01d64ad6ae282f6b6d9773b7905
/** * Copyright 2013 Facebook, 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 ...
JavaScript
src/browser/__tests__/ReactDOMIDOperations-test.js
adelevie/react
apache-2.0
1,889
68
codeparrot/github-code
56bc78cc77769b69f613859ea9cebc55120ba04e5744d25820d92a7cdf7f9f1f
/* * 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 n...
Java
log4j-flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumePersistentAppenderTest.java
pisfly/logging-log4j2
apache-2.0
16,389
446
codeparrot/github-code
22fa296eb958cfed735a3d10eb94c0e12ca4a38a3a130dbc7c2a74153f31d778
/*************************GO-LICENSE-START********************************* * Copyright 2014 ThoughtWorks, 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...
Java
server/test/integration/com/thoughtworks/go/server/materials/MaterialDatabaseUpdaterIntegrationTest.java
turbine-rpowers/gocd-add-agent-sandbox-config
apache-2.0
7,959
177
codeparrot/github-code
3f85049809779e93b727a9fedeb3cc209eb21bdc391ca71b1ca0f8740689967e
// IncomeExpenseTotal package org.javamoney.examples.ez.money.model.dynamic.total; import static org.javamoney.examples.ez.money.model.DataManager.getExpenses; import static org.javamoney.examples.ez.money.model.DataManager.getIncome; import static org.javamoney.examples.ez.money.model.dynamic.total.CategoryTotalType...
Java
swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/dynamic/total/IncomeExpenseTotal.java
aalopez/javamoney-examples
apache-2.0
4,163
208
codeparrot/github-code
bd8e229f1c0efa49f59cfe9c791e7273d16fd6f7c1204112d2c1d9b3ee2cb0af
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
components/camel-cxf/src/main/java/org/apache/camel/component/cxf/converter/NodeListWrapper.java
davidkarlsen/camel
apache-2.0
1,299
40
codeparrot/github-code
92d972d210bf1d3a5272d994c3140db51d2fe05df76320e03314c57255959741
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Java
core/camel-support/src/main/java/org/apache/camel/support/UnitOfWorkHelper.java
punkhorn/camel-upstream
apache-2.0
6,638
151
codeparrot/github-code
8562aad37b81f96ab71bc71c61dcaccc4bc3b61938977325937c40769404c64e
/************************************************************************** * * money_manip.cpp - Example program demonstrating the implementation * of user-defined manipulators for the convenient * extraction and insertion of monetary values * * $Id$ * **********************...
C++
examples/manual/money_manip.cpp
pathscale/stdcxx
apache-2.0
6,389
187
codeparrot/github-code
143a2dcfcf5f05e6fade43cdcc8387f44b0a275af956a03b90c9f0b3db1fb070
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2013, OpenNebula Project (OpenNebula.org), C12G Labs */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
C++
src/hm/HookManager.cc
gargamelcat/ONE4
apache-2.0
4,079
133
codeparrot/github-code
e1b8782e59f600c40b71d815e5236ad92adb3ce7badd5cf8d03c1118802c03f5
/* * $Id: ELLinkTagBeanInfo.java 479635 2006-11-27 14:27:18Z pbenedict $ * * 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 fil...
Java
src/el/src/main/java/org/apache/strutsel/taglib/html/ELLinkTagBeanInfo.java
shuliangtao/struts-1.3.10
apache-2.0
10,027
295
codeparrot/github-code
fcbeca79bd7379969309cb27d48329144558e9843243200ebc23b4029e7d6b2d
package net.sf.jsqlparser.test.delete; import java.io.StringReader; import junit.framework.TestCase; import net.sf.jsqlparser.JSQLParserException; import net.sf.jsqlparser.parser.CCJSqlParserManager; import net.sf.jsqlparser.statement.delete.Delete; public class DeleteTest extends TestCase { CCJSqlPa...
Java
application/src/lib/thirdparty/JSqlParser/testsrc/net/sf/jsqlparser/test/delete/DeleteTest.java
vadimv/PlatypusJS
apache-2.0
1,255
37
codeparrot/github-code
fb7dd3ade8d823168919d81b69508af526c7a998c2a2ccaa2e239fedb2b29d1e
<!DOCTYPE html > <html> <head> <title>software - sparkpipe-core 1.1.0 API - software</title> <meta name="description" content="software - sparkpipe - core 1.1.0 API - software" /> <meta name="keywords" content="software sparkpipe core 1.1.0 API software" /> <meta http-equ...
HTML
docs/1.1.0/software/package.html
unchartedsoftware/sparkpipe
apache-2.0
3,717
119
codeparrot/github-code
cb4504903768515b78f5a69f4b04068ab59913e38780fd71889af83c5d597831
/* * Copyright (C) 2015 Archie L. Cobbs. All rights reserved. */ package io.permazen.jsck; import io.permazen.core.ObjId; import io.permazen.schema.SimpleSchemaField; import io.permazen.util.ByteReader; class SimpleFieldIndex extends SimpleIndex { SimpleFieldIndex(JsckInfo info, int schemaVersion, SimpleSche...
Java
permazen-jsck/src/main/java/io/permazen/jsck/SimpleFieldIndex.java
permazen/permazen
apache-2.0
908
37
codeparrot/github-code
3b1b552df20a54c83e827709e171688ca460a85578a5d3379f2c7c82523bf2ce
package org.geojson; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; public class FeatureCollection extends GeoJsonObject implements Iterable<Feature> { private List<Feature> features = new ArrayList<Feature>(); public List<Feature> getFeatures() { retu...
Java
src/main/java/org/geojson/FeatureCollection.java
mastinno/geojson-jackson-java
apache-2.0
1,231
59
codeparrot/github-code
7a9c635c1660659133dcdef47bb8234abfec6bd44876016dfb43dee21e802439
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to you under the Apache License, Version 2.0 * (the "License"); you may ...
Java
core/src/main/java/org/apache/calcite/sql/type/ComparableOperandTypeChecker.java
arina-ielchiieva/calcite
apache-2.0
3,772
118
codeparrot/github-code
4faa08682b904d7ac0867a4cbff116a70e1cfd1cad5ef12c31312b5c8d3eb5c2
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
plugins/gradle/jps-plugin/src/org/jetbrains/jps/gradle/compiler/GradleResourceFileProcessor.java
msebire/intellij-community
apache-2.0
4,478
101
codeparrot/github-code
36e988b9d58c98360cdc672dfe6b0f2ff1cd8cb4fbde339b6876f08503d68789
/*- * * Copyright 2016 Skymind, 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 * * * * Un...
Java
datavec-api/src/main/java/org/datavec/api/transform/analysis/columns/StringAnalysis.java
huitseeker/DataVec
apache-2.0
3,856
121
codeparrot/github-code
90140926cacd8e08d3e69ffddd8ce6c7dc423ab6fded1ba183e12201b631717e
#!/bin/bash export LC_ALL=C # Begin configuration section. speeds="0.9 1.1" # End configuration section. echo "$0 $@" # Print the command line for logging if [ -f path.sh ]; then . ./path.sh; fi . parse_options.sh || exit 1; if [ $# -le 2 ]; then echo "Usage: $0 <src-data-dir> <dest-data-dir> <wav.scp> [ <chann...
Shell
common/make_chain_data.sh
phsmit/kaldi-recipes
apache-2.0
3,097
99
codeparrot/github-code
190399f2eacadabf023c431ec1d1d311c61026ba3fa168a033a381c053b6d59e
/************************************************************************ AvalonDock Copyright (C) 2007-2013 Xceed Software Inc. This program is provided to you under the terms of the New BSD License (BSD) as published at http://avalondock.codeplex.com/license For more features, controls, and fast ...
C#
Utiliy/Library/Xceed.Wpf.AvalonDock/Controls/LayoutAnchorablePaneControl.cs
favedit/MoCross
apache-2.0
2,860
89
codeparrot/github-code
d81fe0e6ed847a7324933a2ccfc3959007271be98709e1bca452c1821f3087a7
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>CodeRay output</title> <style type="text/css"> .CodeRay .line-numbers a { text-decoration: inherit; color: inherit; } body { background-color: white; padding: 0; margin: 0; } .CodeRay { backgroun...
HTML
docs/api/source/labelsettest.html
dreemproject/dreemgl
apache-2.0
9,500
205
codeparrot/github-code
476a0eff99cde70935e13816078ec472f838cdbb639f53e0af3cc4c113a819f4
/** * 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 u...
Java
src/test/java/org/apache/solr/mcf/ManifoldCFSearchComponentTest.java
apache/manifoldcf-integration-solr-3.x
apache-2.0
7,364
190
codeparrot/github-code
c8097f154d042097d38c4f5ea87bfed8623dda93214a401a9474cbd005161248
package jsample.service; import java.util.ArrayList; import java.util.List; import jsample.model.Employee; public class EmployeeService { private static final EmployeeService instance = new EmployeeService(); private List<Employee> employeeList = new ArrayList<Employee>() { private static final lon...
Java
Spark/Spark_Json_Api/src/main/java/jsample/service/EmployeeService.java
vikas-sachdeva/jSample
apache-2.0
620
31
codeparrot/github-code
c423975e3aea09dbdaa1dff8c7da0a2b228b9ae6110b9a5257fae9b244eec478
// Fig. 2.26: fig02_26.cpp // Using the break statement in a for structure. #include <iostream> using std::cout; using std::endl; // function main begins program execution int main() { int x; // x declared here so it can be used after the loop // loop 10 times for ( x = 1; x <= 10; x++ ) { // if x ...
C++
regression/esbmc-cpp/cpp/ch2_17/main.cpp
ssvlab/esbmc-gpu
apache-2.0
1,688
47
codeparrot/github-code