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
d8fea61e872c8a7d62c4b6b445cd92314d8ce2ac6fe0acd2123883d57c4100ea
# # Copyright 2015 Simulmedia, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
Python
pyembedpg.py
Simulmedia/pyembedpg
apache-2.0
10,244
251
codeparrot/github-code
3f7edb79cb51b1fa93ff4d262870a8b31f993d65ca5d627f13b69d63c07671f6
// 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 org.jetbrains.yaml; import com.intellij.lang.ASTNode; import com.intellij.openapi.components.ServiceManager; import com.intellij.openapi.project.Project; import com.intel...
Java
plugins/yaml/src/org/jetbrains/yaml/YAMLElementGenerator.java
allotria/intellij-community
apache-2.0
4,641
129
codeparrot/github-code
ade98469f997c65ff099db0fdc482414901b729112526e0135cf511447d98107
<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html"> <head> <meta charset="utf-8" /> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <!--#include virtual="base.html" --> <script> window.indexLoadedTime = win...
HTML
index.html
pstros/jitsi-meet
apache-2.0
17,810
287
codeparrot/github-code
79e6ca20dc43ce5a7c8b5272d69000f1b97235d992e54280be819ee77eb0d794
/* * Copyright 2016 ANI Technologies Pvt. 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 la...
Java
fabric-compute-framework/src/test/java/com/olacabs/fabric/compute/pipelined/CountingProcessor.java
olacabs/fabric
apache-2.0
3,177
84
codeparrot/github-code
249191aac56f5ad5a468a4797995707b2084a561494ec07973a8da0c198bafeb
<!--******************************************************************** * Copyright© 2000 - 2022 SuperMap Software Co.Ltd. All rights reserved. *********************************************************************--> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title data-i18n="resources.title_mapQuer...
HTML
examples/openlayers/01_mapQueryByBounds.html
SuperMap/iClient9
apache-2.0
2,727
74
codeparrot/github-code
6ad8b1a3785415575e56aed43c9c338c8166afbb47c7859a06dc5c0b2dc52879
/** * Copyright 2015 The AMP HTML 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 require...
JavaScript
build-system/tasks/karma.conf.js
zhouyx/amphtml
apache-2.0
6,649
254
codeparrot/github-code
5cf4d8a1c53fb5692361d971af46e2bb76fcd7a1abbd6d5c2bf01f3c41977efc
# frozen_string_literal: true module API # Namespace for the public facing OPDS feeds module Opds module V2 # Feeds Controller class FeedsController < API::ApplicationController skip_before_action :authorize_request # This resource returns the root feed a.k.a. OPDS Catalog. ...
Ruby
app/controllers/api/opds/v2/feeds_controller.rb
mlibrary/heliotrope
apache-2.0
9,912
261
codeparrot/github-code
05476c32fe6e8929307bc35afeb73dff5990598cdf2749dd825cfb771368b9c3
/* * Copyright 2017 The CodeWorld 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...
JavaScript
web/js/codeworld_shared.js
three/codeworld
apache-2.0
24,076
763
codeparrot/github-code
cc22929a7ed00c873b87157bb9df2c1b147c92dcedf2b3f575baa185e8b509d6
<?php /** * GestioneFixture * */ class GestioneFixture extends CakeTestFixture { /** * Fields * * @var array */ public $fields = array( 'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'), 'numero' => array('type' => 'integer', 'null' => false, 'd...
PHP
app/Test/Fixture/GestioneFixture.php
gitlabware/sae
apache-2.0
897
39
codeparrot/github-code
6854e7a64e786587f4d88763cb5f012ac1b6b1a59b1e846ccba672235e588bb0
package me.emou.xworker.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.servlet.http.HttpServletResponse; import java.io.*; /** * @author wangdao */ @RestController public class FileController { @RequestMapp...
Java
src/main/java/me/emou/xworker/controller/FileController.java
wangdao/x-worker
apache-2.0
1,474
42
codeparrot/github-code
b14383cf9a7377cead42806c76d568856294c6427c5e4a1a1c0d7722df49ae7b
/* * 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
src/protocols/ssh/client.c
mike-jumper/incubator-guacamole-server
apache-2.0
3,783
120
codeparrot/github-code
49ef7b887e086b2790df7bcae3c34c224282d24f27297ab034084dd2c98bbbf2
from __future__ import unicode_literals import datetime from boto.ec2.elb.attributes import ( LbAttributes, ConnectionSettingAttribute, ConnectionDrainingAttribute, AccessLogAttribute, CrossZoneLoadBalancingAttribute, ) from boto.ec2.elb.policies import ( Policies, OtherPolicy, ) from moto....
Python
moto/elb/models.py
heddle317/moto
apache-2.0
15,471
384
codeparrot/github-code
0bca75b5ba6c2d9dc697f54b0c179ffef1ba5506cf338f334f28914fe7bf633a
<?php /** * BoxBilling * * @copyright BoxBilling, Inc (https://www.boxbilling.org) * @license Apache-2.0 * * Copyright BoxBilling, Inc * This source file is subject to the Apache-2.0 License that is bundled * with this source code in the file LICENSE */ namespace Box\Mod\Kb; class Service { protected ...
PHP
src/bb-modules/Kb/Service.php
boxbilling/boxbilling
apache-2.0
9,832
347
codeparrot/github-code
f6f93036efd092e6a44f111ee1f0b5dada2bde410e64928d22f06eb720911f32
/* * Copyright 2013-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/ApplicationContextTests.java
joshiste/spring-cloud-netflix
apache-2.0
4,137
114
codeparrot/github-code
602bcd33b4de80ddaa6c2a402f6bfdd358f0eb2e62598e3862f9464dd7004c4e
package com.ftfl.ftflnavigationdrawer; import android.app.Fragment; import android.app.FragmentManager; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.app.ActionBarDrawerToggle; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; ...
Java
FTFLNavigationDrawer/src/com/ftfl/ftflnavigationdrawer/MainActivity.java
nasser-munshi/Android
apache-2.0
6,040
175
codeparrot/github-code
5771c433730c7e1041332c7d0eaf2c922ab52b69a5665c5b0a021d81b935e40c
package uk.ac.ox.zoo.seeg.abraid.mp.common.service.workflow.support.runrequest.data; import org.apache.commons.io.FileUtils; import org.geotools.coverage.grid.io.GridCoverage2DReader; import org.geotools.factory.Hints; import org.geotools.gce.geotiff.GeoTiffReader; import org.junit.Rule; import org.junit.Test; import ...
Java
src/Common/test/uk/ac/ox/zoo/seeg/abraid/mp/common/service/workflow/support/runrequest/data/ExtentDataWriterTest.java
SEEG-Oxford/ABRAID-MP
apache-2.0
5,132
111
codeparrot/github-code
28e62e2a360963ed2305a9b254d8bbe27077cb3980b82da259d78e30e5ce83bf
// Copyright 2007-2012 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/Topshelf/Runtime/Windows/WindowsHostEnvironment.cs
solyutor/Topshelf
apache-2.0
10,281
290
codeparrot/github-code
956d67fc15fc30b63506a1acc991dd0093534f1a982b5367f2f6c8a343749a33
# Copyright 2018 The TensorFlow Constrained Optimization 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 # #...
Python
tensorflow_constrained_optimization/python/rates/general_rates.py
google-research/tensorflow_constrained_optimization
apache-2.0
52,315
1,131
codeparrot/github-code
661e32e7babc7f3e8f405e889a3043a0a8b29ae4d53474523b8b84dccf5a363b
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
src/test/java/org/huahinframework/core/lib/input/creator/LabelValueCreatorTest.java
huahin/huahin-core
apache-2.0
3,178
80
codeparrot/github-code
c201694491520db3deed5511fd061c7929d19a4e2a9735d6ea07b4b0f52727ab
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
Rust
src/lib.rs
phil-opp/bitflags
apache-2.0
18,771
583
codeparrot/github-code
fe87a1c8dd057ec57ecffaa07ab67f56291b48b3b6a64e2cbef4d73b1ff7df6a
package com.kian.themovie.ui; import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import com.kian.themovie.R; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedIn...
Java
app/src/main/java/com/kian/themovie/ui/MainActivity.java
kiumars/TheMovie
apache-2.0
1,119
41
codeparrot/github-code
6f10b9a9b69149a9556a9f02277779d2dece9c9b9c06936ad6d4acd90c0236bd
/* * Copyright (C) 2013 Brian Muramatsu * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Java
src/com/btmura/android/reddit/util/ThingIds.java
btmura/rbb
apache-2.0
1,202
42
codeparrot/github-code
20475d4283bfcfdae05245efb04a629a5b184d32d1e1855e565a5ddb6d49f863
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable enable using System.Collections.Generic; using System.Diagnostics; using System.Net.Http.HPack; using System.Text; namespace System.Net.Http.QPack { internal static cl...
C#
src/Shared/runtime/Http3/QPack/QPackEncoder.cs
aspnet/AspNetCore
apache-2.0
16,667
406
codeparrot/github-code
f3af7077b654509127b64923eb5332e0843f1714abae3927d7fba806db9fb0e4
package org.jos.jexplorer; import javax.swing.*; import javax.swing.event.*; import java.awt.*; import java.awt.event.*; class FilterWindow extends JDialog{ private JTextField txtFilter = new JTextField(20); private String selectedFilter; public FilterWindow(JFrame owner, String filter){ super(own...
Java
src/main/java/org/jos/jexplorer/FilterWindow.java
datazuul/com.datazuul.apps--datazuul-explorer
apache-2.0
2,343
90
codeparrot/github-code
fddd9cbcb25b5a8bf005e23ff3c1d2e6133e197e145596a30ba9a5d8143c513e
/* * Copyright (c) 2008-2016 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Java
modules/gui/src/com/haulmont/cuba/gui/dynamicattributes/FilteringLookupAction.java
cuba-platform/cuba
apache-2.0
7,000
158
codeparrot/github-code
e7ded952a5c450ac307d947fcc10811cc65ec1d42ef3f83b223efea4f04a311e
<?php final class LegalpadDocumentSignature extends LegalpadDAO implements PhabricatorPolicyInterface { const VERIFIED = 0; const UNVERIFIED = 1; protected $documentPHID; protected $documentVersion; protected $signatureType; protected $signerPHID; protected $signerName; protected $signerEmail; ...
PHP
src/applications/legalpad/storage/LegalpadDocumentSignature.php
akkakks/phabricator
apache-2.0
1,828
79
codeparrot/github-code
794eb7685c06390100750e6707c3bd0f5a675c2dec73b12ef30e37cdee72a022
/****************************************************************************** * * Project: OpenGIS Simple Features Reference Implementation * Purpose: ESRIJSON driver * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * C...
C++
deps/libgdal/gdal/ogr/ogrsf_frmts/geojson/ogresrijsondriver.cpp
naturalatlas/node-gdal
apache-2.0
4,342
108
codeparrot/github-code
34bcbcd7f47d156ba2e9326aae257cc2e41df42c9f8e9f52c9d99338d744e583
/* $NetBSD: ip_frag.c,v 1.3 2012/07/22 14:27:51 darrenr Exp $ */ /* * Copyright (C) 2012 by Darren Reed. * * See the IPFILTER.LICENCE file for details on licencing. */ #if defined(KERNEL) || defined(_KERNEL) # undef KERNEL # undef _KERNEL # define KERNEL 1 # define _KERNEL 1 #endif #include <sys/errn...
C
sys/external/bsd/ipf/netinet/ip_frag.c
execunix/vinos
apache-2.0
41,512
1,289
codeparrot/github-code
dccf88410b0a8df6cad1329b97ef554defcac9cd18e8ee237464a74c41cdc89e
# Copyright 2015 Philipp Pahl, Sven Schubert, Daniel Britzger # # 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...
Python
tutorials/tutorial_movie_reviews/model/master.py
PeachstoneIO/peachbox
apache-2.0
3,918
102
codeparrot/github-code
4411d2727d65e5416fbd68bde2a70b4ba22420394ff35559aaaabd36fb5ca17c
/* * (c) 2015 CenturyLink. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Java
sdk/src/main/java/com/centurylink/cloud/sdk/policy/services/dsl/AutoscalePolicyService.java
CenturyLinkCloud/clc-java-sdk
apache-2.0
8,024
225
codeparrot/github-code
f4fc6f64f9ab6039248562900dd69f95d956aa2aa767dec5fa051ff845efb926
# Copyright (c) 2013,2014 VMware, 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 requi...
Python
congress/datasources/datasource_utils.py
ramineni/my_congress
apache-2.0
6,907
180
codeparrot/github-code
57e948e79a60d6d056510339c37995b77a0b8a008b7821f102fff4805b7eaad2
package com.smart.smartchart.http.request; import com.smart.smartchart.http.OkHttpUtils; import com.smart.smartchart.http.builder.PostFormBuilder; import com.smart.smartchart.http.callback.Callback; import java.io.UnsupportedEncodingException; import java.net.FileNameMap; import java.net.URLConnection; import java.n...
Java
app/src/main/java/com/smart/smartchart/http/request/PostFormRequest.java
huashengzzz/SmartChart
apache-2.0
3,749
110
codeparrot/github-code
86e4064cdfea63cb2c5475e0b596f2ab3d0f45bfdf2a5878ae46a906232424d0
/* * Copyright 2011-2018 GatlingCorp (http://gatling.io) * * 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 applic...
Scala
gatling-jms/src/test/scala/io/gatling/jms/JmsCompileTest.scala
wiacekm/gatling
apache-2.0
5,775
149
codeparrot/github-code
c7739e5a20ec9545da59b13aa554de228f9204cc7a9d524cec91c22a622a3bf5
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Routing.Internal; namespace RoutingWebSite { // This controller i...
C#
src/Mvc/test/WebSites/RoutingWebSite/Controllers/DebugController.cs
aspnet/AspNetCore
apache-2.0
948
31
codeparrot/github-code
ed58206c34dd661ee94353f3e15d5105e11819c7a9f75620afe762108442fdac
#! /usr/bin/python import json import os import re import datetime class Advisories(object): today = datetime.datetime.now().strftime("%Y-%m-%d") def __init__(self, initial_advisories_path=None, format="txt"): self.advisories = [] self.added_packages = {} if initial_advisories_path ...
Python
share/python/repo/advisories.py
globus/globus-release-tools
apache-2.0
3,857
111
codeparrot/github-code
ab45a4b56467f72ed208ea5a491fe5948b64b50f7563909d78610ec480aeb06e
package ags.utils.dataStructures.trees.thirdGenKD; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; /** * */ public class KdTree<T> extends KdNode<T> { private static final long serialVersionUID = -4403464702046042517L; public KdTree(int dimensions) { this(dime...
Java
datix/src/main/java/ags/utils/dataStructures/trees/thirdGenKD/KdTree.java
dsarlis/datix
apache-2.0
4,679
115
codeparrot/github-code
53b64db54b790138a69d4a93d2400ed77f3965cc1e6ed69cc0ccb5f2140303b5
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/transform/DescribeCertificateResultJsonUnmarshaller.java
dagnir/aws-sdk-java
apache-2.0
2,912
75
codeparrot/github-code
ee7340eb24103b094435fee79de53e75d12f89234f40f108c0e568991462ae9d
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="description" content="Website for KJSCE Abhiyantriki 2019"> <meta name="keywords" content="Abhiyantriki, 2019, Abhiyantriki 2019, Somaiya, KJSCE, KJ Somaiya"> <meta name="viewport" content="width=device-width initial-scale=1"> <script async s...
HTML
2019/index.html
kjscelive/kjscelive.github.io
apache-2.0
17,362
466
codeparrot/github-code
2482198084c3f072b3af6dea47f79eb3b27dacf93c6bd096dc41a696878d9e6e
'use strict'; /** * Module dependencies. */ var fs = require('fs'), http = require('http'), https = require('https'), express = require('express'), morgan = require('morgan'), logger = require('./logger'), bodyParser = require('body-parser'), session = require('express-session'), comp...
JavaScript
server/config/express.js
mauroBus/element
apache-2.0
5,566
200
codeparrot/github-code
e0e57237c379d70e6610676137a6852df1bf3ab03100b862bbaa9e5ce2e31a3d
//------------------------------------------------------------------------------- // <copyright file="EnvelopeBuilder.cs" company="frokonet.ch"> // Copyright (c) 2014-2017 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // ...
C#
src/SimpleDomain.Facts/Bus/EnvelopeBuilder.cs
froko/SimpleDomain
apache-2.0
1,676
51
codeparrot/github-code
e5def16367ab9699592e484c8d40010bac445062b814804a03f8196417c5a6d3
package ethereum.components; import java.math.BigInteger; import java.util.ArrayList; import ethereum.Simulation; import ethereum.helper.ConsumptionProfiles; import ethereum.helper.Market; import ethereum.helper.SolarRadiation; import ethereum.helper.UnitHelper; public class Building3 extends Building { private B...
Java
projects/previousProjects/memapEtherium/src/main/java/ethereum/components/Building3.java
SES-fortiss/SmartGridCoSimulation
apache-2.0
8,629
183
codeparrot/github-code
4588035ce7802a6e7d79a6d94a5bc0de6303d381eca9e08e43a6902364e33458
/* * Copyright (c) 2008 Massimiliano Ziccardi * * 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 applic...
Java
src/it/jnrpe/server/config/CPluginDir.java
Mithrandir0x/JNRPE-LIB
apache-2.0
955
42
codeparrot/github-code
d548a258593522746195d451a59ea21abbfeacab8d6c7b890f21c830fd3922e4
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2017] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obta...
Perl
modules/Bio/EnsEMBL/Variation/DBSQL/IndividualGenotypeFeatureAdaptor.pm
willmclaren/ensembl-variation
apache-2.0
3,505
117
codeparrot/github-code
818fa6611309346bc4fec221b61a242eef25b13e4bf3e33d443d810c0602625e
package org.lightadmin.core.view.preparer; import com.google.common.collect.Collections2; import org.apache.tiles.AttributeContext; import org.apache.tiles.context.TilesRequestContext; import org.lightadmin.api.config.utils.ScopeMetadataUtils; import org.lightadmin.core.config.domain.DomainTypeAdministrationConfigurat...
Java
lightadmin-core/src/main/java/org/lightadmin/core/view/preparer/ListViewPreparer.java
pramoth/light-admin
apache-2.0
2,787
61
codeparrot/github-code
d979f8d4a57aee26924fa00758383d2e3bf49c7052de4f15dda7d5b563ed52dc
;=============================================================================== ; Copyright 2015-2020 Intel Corporation ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apa...
Assembly
ext/ipp-crypto/sources/ippcp/asm_intel64/pcprij128encryptofbe9as.asm
Intel-EPID-SDK/epid-sdk
apache-2.0
7,373
247
codeparrot/github-code
1ff4cb25a11df5bd43b4d1053e78a74a10011545be65769b3b1080795fa59e66
package main import ( "context" "embed" "fmt" "log" "net/http" _ "net/http/pprof" "os" "path/filepath" "github.com/docker/docker/pkg/reexec" "github.com/ehazlett/simplelog" _ "github.com/rancher/norman/controller" "github.com/rancher/norman/pkg/kwrapper/k8s" globalchart "github.com/rancher/rancher/pkg/ch...
GO
main.go
rancherio/rancher
apache-2.0
6,896
250
codeparrot/github-code
168de45fe8d3266d64191bde26470b4b89893f8017fbc705bcf8f4154bd755d0
package picocli.examples.git; import picocli.CommandLine; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; @CommandLine.Command(name = "commit", sortOptions = false, headerHeading = "@|bold,underline Usage:|@%n%n", synopsisHeading =...
Java
picocli-examples/src/main/java/picocli/examples/git/GitCommit.java
remkop/picocli
apache-2.0
3,235
68
codeparrot/github-code
0c97cd0f1293178b571f13b412dc360f4fd4c7ebde01381ffdbeb954686ba132
<html> <head> <style> body { font-family: sans-serif; font-size: 10px; } pre { background-color: #eeeeee; padding: 1em; white-space: pre-wrap; } </style> </head> <body> <pre> Copyright 2005-2017 Android Open So...
HTML
app/src/main/assets/open_licenses.html
chatRG/WallApp
apache-2.0
6,524
146
codeparrot/github-code
07d0aec89dd5f8c53539196dadfc37f65aa74cfbb275ea94cc310f203acec270
//~ Geneerated by AdvancedSearchTemplate.tt #pragma warning disable 1591 namespace com.celigo.net.ServiceManager.SuiteTalk { public partial class NexusSearchAdvanced : ISearchAdvanced { /// <summary>Gets the criteria for the Search.</summary> /// <returns>The criteria for the Search.</return...
C#
ServiceManager/SuiteTalk/NexusSearchAdvanced.cs
celigo/netsuite-service-manager-dotnet
apache-2.0
3,235
93
codeparrot/github-code
3793acce2fd447439cf8f14084b61d8001750d446a04d869332aae6dc76fc9a3
package net.onrc.onos.core.linkdiscovery.web; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import net.onrc.onos.core.linkdiscovery.ILinkDiscoveryService; import net.onrc.onos.core.linkdiscovery.Link; import net.onrc.onos.core.linkdiscovery...
Java
src/main/java/net/onrc/onos/core/linkdiscovery/web/LinksResource.java
opennetworkinglab/spring-open
apache-2.0
1,350
40
codeparrot/github-code
206d57d89123eae7c73365124b5436b4200a25e260e3c8cee375126ec63b17fc
package com.faro.papaya; import java.util.HashMap; import java.util.concurrent.atomic.AtomicInteger; import org.junit.Assert; import org.junit.Test; import com.faro.papaya.util.LzyMap; import com.faro.papaya.util.ValueFactory; public class LzyMapTest { @Test public void testLoad() { LzyMap<String, AtomicIntege...
Java
src/test/java/com/faro/papaya/LzyMapTest.java
kevin-faro/papaya
apache-2.0
1,136
43
codeparrot/github-code
e543b0b6ff9f4cf10e241a13e8928dea7b4b3b0fbb23f603dc05d3ea2f30bee9
package com.fsck.k9.ui.messageview; import android.app.Activity; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.content.IntentSender; import android.content.pm.PackageManager.NameNotFoundException; import android.graphics.drawable.Drawable; import andro...
Java
app/ui/legacy/src/main/java/com/fsck/k9/ui/messageview/MessageCryptoPresenter.java
k9mail/k-9
apache-2.0
7,778
211
codeparrot/github-code
6be381337557efbec7f8e7d0970214dede8c1802d1a369d342c5c166a7115fa4
<?php class Task_model extends Kotori_Model { public function isUndoDefaultTask($task_id, $user_id) { if ($this->db->has('task', array('id' => $task_id) )) { if (!$this->db->has('user_asset', array( 'AND' => array( ...
PHP
app/models/Task_model.php
changlor/v2ex
apache-2.0
4,508
176
codeparrot/github-code
79c2b39f9d0c97c78b89f0b3a8e7049ba37870050cc049d799cca334d555924b
/************************************************************************** ResumeEvent.java is part of Titanium4j Mobile 3.0. Copyright 2012 Emitrom 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 o...
Java
src/com/emitrom/ti4j/mobile/client/core/events/ResumeEvent.java
CraigAndrew/titanium4j
apache-2.0
1,583
49
codeparrot/github-code
4102c955c5dee2036f85ced1ba2e071497a4c73c0a198bfecd2251004539ba13
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Statistics of dislocated in UD_...
HTML
treebanks/gun_dooley/gun_dooley-dep-dislocated.html
UniversalDependencies/universaldependencies.github.io
apache-2.0
9,417
221
codeparrot/github-code
122175a64dde531fd2fff000f224c53bacd8f24f42b05e862592a89fc580500b
package org.deuce.transform.asm.method; import java.util.HashMap; import org.deuce.Irrevocable; import org.deuce.Unsafe; import org.deuce.objectweb.asm.AnnotationVisitor; import org.deuce.objectweb.asm.Attribute; import org.deuce.objectweb.asm.Label; import org.deuce.objectweb.asm.MethodVisitor; import org....
Java
src/java/org/deuce/transform/asm/method/MethodTransformer.java
DeuceSTM/DeuceSTM
apache-2.0
8,309
234
codeparrot/github-code
fddaebaa555d1638cd8e78658b22c9e24183d7b2fea95145a949892d77ccf564
package com.thinkbiganalytics.metadata.jobrepo; /*- * #%L * thinkbig-operational-metadata-integration-service * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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 ...
Java
services/operational-metadata-service/operational-metadata-integration-service/src/main/java/com/thinkbiganalytics/metadata/jobrepo/StreamingFeedService.java
peter-gergely-horvath/kylo
apache-2.0
3,940
108
codeparrot/github-code
1670875a6ba13a620ee62e169b68e91c1fdc9196e38e472f6147e7aa6872ccf9
import sqlalchemy from sqlalchemy import Column, Integer, String from sqlalchemy.orm import mapper, sessionmaker import subprocess class PygrationState(object): '''Python object representing the state table''' def __init__(self, migration=None, step_id=None, step_name=None): self.migration = migration ...
Python
pygration/db.py
mdg/pygrate
apache-2.0
2,877
82
codeparrot/github-code
66efff6300d8cf4121bc073fe8221ced4006f22c5cdc8b4f3c6a2de677c892f1
/* * TestDefaultUserAgentGenerator.java * * Copyright (C) 2012 Jonathan Moore * * 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 * ...
Java
src/test/java/org/chaplib/TestDefaultUserAgentGenerator.java
jonm/chaplib
apache-2.0
1,443
47
codeparrot/github-code
c0715521c18d513b18d1363e8fb445a0df2219ad50125686c25bc56c841666cb
package authentication import ( "fmt" "io" "k8s.io/apimachinery/pkg/api/validation" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/util/validation/field" "k8s.io/apiserver/pkg/admission" configv1 "github.com/openshift/api/config/v1" crvalidation "github.c...
GO
pkg/admission/customresourcevalidation/authentication/validate_authentication.go
sferich888/origin
apache-2.0
4,233
134
codeparrot/github-code
69ba1d03a912988d0c3405a99475021fad26cfe0b58959d657b8cb6f9ce32c84
package org.visallo.web.plugin.adminUserTools; import org.visallo.webster.Handler; import org.visallo.core.model.Description; import org.visallo.core.model.Name; import org.visallo.web.VisalloCsrfHandler; import org.visallo.web.WebApp; import org.visallo.web.WebAppPlugin; import org.visallo.web.privilegeFilters.AdminP...
Java
web/plugins/admin-user-tools/src/main/java/org/visallo/web/plugin/adminUserTools/AdminUserToolsWebAppPlugin.java
visallo/visallo
apache-2.0
1,886
37
codeparrot/github-code
d1f93af1a29e358b6ad7d91af676dd46e411f782e3feca14735f1aa66ee37aa3
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.search.query.ranking; import com.yahoo.fs4.MapEncoder; import com.yahoo.tensor.Tensor; import com.yahoo.text.JSON; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.LinkedH...
Java
container-search/src/main/java/com/yahoo/search/query/ranking/RankFeatures.java
vespa-engine/vespa
apache-2.0
5,182
160
codeparrot/github-code
e4eff299c519e7694ad102d9b4874fc9ac56f0512b35dc166589e2439c40d659
# -*- coding: utf-8 -*- from collections import defaultdict import subprocess import os import bisect import re from .common import log_fmt class GitProcess(): GIT_BIN = None def __init__(self, repoDir, args, text=None): startupinfo = None if os.name == "nt": startupinfo = sub...
Python
qgitc/gitutils.py
timxx/gitc
apache-2.0
14,220
560
codeparrot/github-code
84d90edf413620dab295379fac89525f794e762def6443664502d363c248187d
<!DOCTYPE html> <html lang="tw"> <head> <title> Fedora Installation | Superdanby </title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> <link rel="shortcut icon" type="image/jpeg" href="/Blog/abouts/me...
HTML
docs/fedora-installation.html
Superdanby/Blog
apache-2.0
11,754
373
codeparrot/github-code
7b55f888af353ed6dbab04324a28bb219342c5d00eef0942aa8d2bbd7c15c694
# Copyright 2016 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 in writing, ...
Python
logging/google/cloud/logging/_http.py
tartavull/google-cloud-python
apache-2.0
17,745
513
codeparrot/github-code
1bed2e797524000e25bc0be34d01a028c792139aa4e295fea4e18f796108e8e8
/* * Copyright 2017 HM Revenue & Customs * * 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...
Scala
test/uk/gov/hmrc/apigateway/cache/VaryHeaderCacheManagerSpec.scala
hmrc/api-gateway
apache-2.0
2,795
78
codeparrot/github-code
6ba8d7b7740d59933f9005e0f869d25d5a512f49d8be68b45aa9fb579775bdee
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
NotificationLater/src/main/java/com/kimcy929/notificationlater/ForegroundLinearLayout.java
kimcy929/NotificationLater
apache-2.0
6,855
217
codeparrot/github-code
ae2f79576a5c9f3ac4c113b755ef6d991a83306900afce1dd9ed7a9ec2cc704d
package com.seekerr.simulator.robot.env; /** * * @author Wesley Kerr */ public class Momentum { private double[] timeStepMomentum; private double[] totalMomentum; private double timeSteps; /** Creates a new instance of Momentum */ public Momentum() { timeStepMomentum = ne...
Java
src/main/java/com/seekerr/simulator/robot/env/Momentum.java
wesleykerr/robot-simulator
apache-2.0
1,093
47
codeparrot/github-code
fca31e97dac31ac13fae7fc8cd162e8573a0b19cd0c85b3d20560997f577bc76
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/mediaconvert/MediaConvert_EXPORTS.h> #include <aws/mediaconvert/model/SrtStylePassthrough.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class J...
C
aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/SrtDestinationSettings.h
awslabs/aws-sdk-cpp
apache-2.0
3,349
91
codeparrot/github-code
0861fa8222664e2d442a152b8b2bfb97229ad842b28076d851895f7a4b6bd51e
/* * $Id: TestMessageTag1.java 54929 2004-10-16 16:38:42Z germuska $ * * 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 * * ...
Java
src/test/org/apache/struts/taglib/bean/TestMessageTag1.java
codelibs/cl-struts
apache-2.0
12,716
282
codeparrot/github-code
fd212fc2360ea7db78ad67cfa9754ecb421d94175ead1bf71c6c6b71fb795333
/* * Copyright 2012-2013 inBloom, Inc. and 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
Java
sli/data-access/dal/src/main/java/org/slc/sli/ingestion/model/NewBatchJob.java
inbloom/secure-data-service
apache-2.0
9,720
347
codeparrot/github-code
61a255b0512ff0185e9a20a4dadcb2e46c71ce12fdf6e83a34437f8de6110225
/* * 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
samza-kafka/src/test/java/org/apache/samza/system/kafka/TestKafkaSystemAdminJava.java
nickpan47/samza
apache-2.0
5,993
146
codeparrot/github-code
4be9a4fd2f2f2bf7dc9781314141675aaf0413b289202bcaad3e0fd1a62b0831
//>>built define("dojox/grid/enhanced/plugins/DnD","dojo/_base/kernel dojo/_base/declare dojo/_base/connect dojo/_base/array dojo/_base/lang dojo/_base/html dojo/_base/json dojo/_base/window dojo/query dojo/keys dojo/dnd/Source dojo/dnd/Avatar ../_Plugin ../../EnhancedGrid dojo/dnd/Manager ./Selector ./Rearrange".split...
JavaScript
Highlander/ship-gis/src/main/webapp/js/arcgis_js_api/library/3.22/dojox/grid/enhanced/plugins/DnD.js
wanglongbiao/webapp-tools
apache-2.0
16,547
34
codeparrot/github-code
289b53500655d828d9ee13eeaa423e785366d2e2f129b803465b7a9e81f541ca
/* * Copyright 2014 Mikael Beyene * * 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...
Java
src/main/java/org/beyene/jcurry/function/Function4.java
mbe24/jcurry
apache-2.0
1,358
47
codeparrot/github-code
6211b6b0055dbdcfb15caf36b5009b1589a900485834fb354637d4d2afe51609
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
GO
packager/util/config.go
ampproject/amppackager
apache-2.0
7,895
246
codeparrot/github-code
16eff7a335f556ec723723f501e5e636981e2faf4f91f192129e91c26b16a3dd
## -*- Mode: ruby -*- ##Header: ##Title: Generic 2D Geometrical Operations with Draw Facility ##Author: Itsuki Noda ##Date: 2005/11/18 ##EndHeader: ## ##Usage: # ##EndUsage: require 'Geo2D.rb' ; require 'myCanvas.rb' ; ###################################################################### module Geo2D ##=========...
Ruby
Geo/Geo2DDraw.rb
noda50/RubyItk
apache-2.0
4,154
183
codeparrot/github-code
705b0766f9f502d3d12c1a02a52631a3ec3f474c0d3ca3a90f8f8ce955aab3ab
// Nome: token // Progetto: CPP/Lexer // Autore: Ruffaldi Emanuele // Descrizione: implementazione dei contenitori di token #include "token.h" #include <string.h> static char * nomi[] = { "tknNONE", "tknIDENT", "", "", "" , "", "", "EOF", "<=", ">=", "==", "<<", ">>", "++", "--", "->", "...", ...
C++
src/token.cpp
eruffaldi/cmm
apache-2.0
2,512
135
codeparrot/github-code
7d4d43fcd881c9fe68e3e3220539a69c70d44beaa834c575e0937de025b06089
// 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 un...
JavaScript
app/addons/documents/doc-editor/actions.js
garrensmith/couchdb-fauxton
apache-2.0
6,952
264
codeparrot/github-code
e9d3f5ce24e8ae46851ab9d02eba01e92ad956af82910a9f27a604ef15307a2a
import stainless.lang._ import stainless.annotation._ object ExternFallback1 { import scala.collection.concurrent.TrieMap @extern @pure def getTrieMap(x: BigInt): TrieMap[BigInt, String] = TrieMap.empty @extern def setTrieMap(trie: TrieMap[BigInt, String]): Unit = () case class Wrapper[K, V]( @exte...
Scala
frontends/benchmarks/extraction/valid/ExternFallback1.scala
epfl-lara/stainless
apache-2.0
629
31
codeparrot/github-code
8cea9db9958bbf8163764d6ea946cca42c707d8d2abdb7bf70558920fca2ff2f
/** * @license * Copyright 2013 Google Inc. All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
JavaScript
src/javascript/crypto/e2e/async/util.js
google/end-to-end
apache-2.0
3,479
116
codeparrot/github-code
1d551f67fbba062e4a976c6bc3687e55665daa5ab2bcc7a753e7c940de0c1255
#!/usr/bin/env python class AllPermutations(object): def __init__(self, arr): self.arr = arr def all_permutations(self): results = [] used = [] self._all_permutations(self.arr, used, results) return results def _all_permutations(self, to_use, used, results): ...
Python
fundamentals/backtracking/all_permutations.py
davjohnst/fundamentals
apache-2.0
772
35
codeparrot/github-code
82c5aab1e47cd71c2977d915b65fa632f08bdbc6ccbcdc73a2a13c8844723b0d
package main import ( "html/template" "io/ioutil" "os" "path" "sort" "strconv" "strings" "time" "github.com/peterebden/go-cli-init/v5/flags" ) // TODO(jpoole): maybe we should just have an order field in the MD? var categoryOrder = map[string]int{ "beginner": 0, "intermediate": 1, "advanced": 2, ...
GO
docs/codelabs/codelab_template.go
thought-machine/please
apache-2.0
2,789
142
codeparrot/github-code
d5f7bce04c9274c0b71d4eee07198f25357aac56fd86efa9700d9697fef802cb
using System; using System.Windows; using Microsoft.VisualStudio.Shell.Interop; using NuPattern.VisualStudio; namespace NuPattern.Presentation.VsIde { /// <summary> /// Defines extension methods related to <see cref="IVsUIShell"/>. /// </summary> [CLSCompliant(false)] public static class VsUIShell...
C#
Src/Common/Source/Common.Presentation/VsIde/VsUIShellExtensions.cs
NuPattern/NuPattern
apache-2.0
1,341
37
codeparrot/github-code
65950a6f34a37f0b754df48d64d3d5607b188b097e81e74d2a2d0b2e080ccfb6
package com.niomongo.conversion.json2bson; import com.niomongo.conversion.custom.ClassMeta; import com.niomongo.conversion.custom.Meta; import com.niomongo.conversion.custom.Size; import com.niomongo.conversion.custom.Strict; import com.niomongo.conversion.json.NameLiteralValue; import com.niomongo.conversion.json.Nam...
Java
src/test/java/com/niomongo/conversion/json2bson/Catalog.java
bushuyev/niomongo
apache-2.0
987
41
codeparrot/github-code
705f6dc384db18813236301d50ea25d327e30b0902805043f48763f9615ea6f1
package com.me.harris.socketio; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button;...
Java
_001_socket_transportation/app/src/main/java/com/me/harris/socketio/MainActivity.java
Haldir65/AndroidRepo
apache-2.0
2,724
90
codeparrot/github-code
4f13fa4ee4ab7d4b3feb6b9f6a4c962b507f12b9e6550e71bbb54e69bce14600
'use strict'; /** * 어떤 일을 하고 있습니까? * @class VBOKeysNation */ var VBOKeysNation = function(bufferSizes, minSize) { if (!(this instanceof VBOKeysNation)) { throw new Error(Messages.CONSTRUCT_ERROR); } // buffer sizes are in bytes. this.vboKeysStoreMap = {}; this.bufferSizes = bufferSizes; this.minSize = min...
JavaScript
src/mago3d/core/VBOKeysNation.js
Gaia3D/mago3djs
apache-2.0
2,147
92
codeparrot/github-code
2261cd4039b988881bdb3df45613b5e4bc785391fc21c84eb38facd49f43a3bc
/** * xrdp: A Remote Desktop Protocol server. * * Copyright (C) Jay Sorg 2004-2012 * * 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
sesman/config.c
nogginware/xrdp-ng
apache-2.0
11,171
434
codeparrot/github-code
a9bfd5372d221a616fbaaaaaf4da5b58d2a90aba8f0788295cdd721b1a494690
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD> <TITLE> src.groovy </TITLE> <META NAME="keywords" CONTENT="src/groovy package"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> </HEAD> <BODY BGCOLOR="white"> <FON...
HTML
docs/gapi/src/groovy/package-frame.html
agagug/dynamicjasper-0.6.1
apache-2.0
1,390
48
codeparrot/github-code
f2acecc2bf8b348f9ba72ca59b4d53c2da5760bbdd3c7f691bbbf073a9595697
package com.ftfl.triplist.database; import java.util.ArrayList; import com.ftfl.triplist.modelclass.*; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.util.Log; p...
Java
TripList/src/com/ftfl/triplist/database/PlaceListDataSource.java
kanta12937/mywork
apache-2.0
6,221
197
codeparrot/github-code
c02276404c898f14a36598b620c27bf36bf40bd38c78913ee89246853c86831e
/* * Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless req...
Java
core/admin/src/main/java/org/switchyard/admin/base/SwitchYardBuilder.java
igarashitm/switchyard
apache-2.0
6,206
165
codeparrot/github-code
be078bfac0a2c635a201c8df977c93717049755a7b7b6b84759fff46c9f91c8a
/* * Copyright 2013 greenbird Integration Technology * * 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 applicab...
Java
src/main/java/com/greenbird/mule/http/log/converter/AbstractAccessLogConverter.java
greenbird/mule-access-log
apache-2.0
3,832
98
codeparrot/github-code
c55987a386a2e00842847ff1859bc924e6af0bd55ab2212c6a0b2a7cfd9ea3fc
'use strict'; var yeoman = require('yeoman-generator'); var chalk = require('chalk'); var yosay = require('yosay'); var path = require('path'); var urllib = require('urllib'); module.exports = yeoman.generators.Base.extend({ prompting: function () { var done = this.async(); this.pkg = require(path.join(__dir...
JavaScript
generators/app/index.js
liudan92221/generator-tvwheel
apache-2.0
6,055
233
codeparrot/github-code
a4738cc5440e952d8d158e94533fe16ec350e0a56b1568a48c824fdd2d2bde19
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
src/main/java/org/sejda/sambox/pdmodel/graphics/image/JPEGFactory.java
torakiki/sambox
apache-2.0
11,619
322
codeparrot/github-code
ab3e449c461c3ebceee1d8a9b25c38d8e4c1023ec8b598214db37ac3f81e2028
package com.markwatson.machine_learning; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import java.util.Set; public class HelloTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public HelloTes...
Java
machine_learning_spark/src/test/java/com/markwatson/machine_learning/HelloTest.java
mark-watson/power-java
apache-2.0
711
38
codeparrot/github-code
ab457072bad59827f329c1bdf4932eee354dd6612728a010f231dbcde9f40403
/* Copyright IBM Corp. 2016 All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
GO
core/committer/txvalidator/validator.go
rameshbabu79/fabric
apache-2.0
8,661
255
codeparrot/github-code
cbc8786a6c0fe78f853f7b9b96462c5ed4838cb05242649335816482a252eacc
package com.bakulin.spotify.client.testing; import org.sikuli.script.App; import org.sikuli.script.FindFailed; import org.sikuli.script.Key; import org.sikuli.script.Match; import org.sikuli.script.Pattern; import org.sikuli.script.Region; import org.sikuli.script.Screen; /** * Page-Object Model represent...
Java
src/main/java/com/bakulin/spotify/client/testing/HomePage.java
eugenebakulin/spotify
apache-2.0
3,510
106
codeparrot/github-code
fefb3ea4bd1bb88d08b389050893b5a596950373cf18988cade536dbf5c90b65
package net.fengni.jdbc.query; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; /** * Created by fengni on 2015/11/3. */ public class SQLBuilder { private List<Condition> conditionList = new LinkedList<Condition>(); private List<Order> orderList = new Linke...
Java
jdbc/src/main/java/net/fengni/jdbc/query/SQLBuilder.java
nifeng1989/myjdbc
apache-2.0
4,073
145
codeparrot/github-code
b9dcc15c242764583a7d64b1f66bb76d334250da11d7f9831abb3c3e9d7c4d69
var // get util library util = require("core/Util"), // get product manager ProductManager = require("core/ProductManager"); function ProductListWindow() { var Window = Ti.UI.createWindow({ title : L("products"), navBarHidden : false, barColor : Theme.TabGroup.BarColor, navTintC...
JavaScript
Resources/ui/ProductsListWindow.js
nicolascine/TiClassicApp
apache-2.0
4,611
180
codeparrot/github-code
da8eb182e866902c3f9edea291c0e5ea94ecda30a7055cff3823dad07af58159
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"> <meta name="theme-color" content="#222"> <meta name="generator" content="Hexo 4.0.0"> <link rel="icon" type="image/png" sizes="32x32" href="https://cosmos-125190579...
HTML
tags/旅行/index.html
SimpCosm/SimpCosm.github.io
apache-2.0
15,524
564
codeparrot/github-code
42797e0417d92ceda6c51d7108e97228e3accb7131ed99a00a1c9e581c38b7b5
/* * 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 ma...
Java
sshd-core/src/main/java/org/apache/sshd/client/scp/ScpClient.java
avthart/mina-sshd
apache-2.0
4,005
96
codeparrot/github-code