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 |
|---|---|---|---|---|---|---|---|---|
8caba82dcc74c8e8d2d98268f2718c5ddc6709ce24a939443421eefe2cce261b | /*!
* ${copyright}
*/
// Provides class sap.ui.core.support.plugins.TechInfo (TechInfo support plugin)
sap.ui.define([
'sap/base/Log',
'sap/base/util/isEmptyObject',
'sap/base/util/isPlainObject',
'../Plugin',
'../Support',
'../ToolsAPI',
'sap/base/security/encodeXML'
],
function(Log, isEmptyObject, isPlainO... | JavaScript | src/sap.ui.core/src/sap/ui/core/support/plugins/TechInfo.js | SAP/openui5 | apache-2.0 | 11,185 | 331 | codeparrot/github-code |
650b3d90f6954f74f1fc0ebc91d6fc618a1bc87abdfe508181931f42619f23ea | #!/usr/bin/env python
#
# ChaseTracker 2.0 No GUI Version
#
# Copyright 2015 Mark Jessop <vk5qi@rfhead.net>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licen... | Python | ChaseTrackerNoGUI.py | projecthorus/chasetracker | apache-2.0 | 6,363 | 243 | codeparrot/github-code |
a5e166136820913a0aee246d097f4bd084a55e1fb9f97bbf0abc8d4ceda30811 | /***
Copyright (c) 2015 CommonsWare, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
by applicable law or agreed to in writing, so... | Java | WebServer/Reusable/webserver/src/main/java/com/commonsware/android/webserver/WebServerService.java | janzoner/cw-omnibus | apache-2.0 | 10,416 | 366 | codeparrot/github-code |
f973fcc9149e4c518f16415ace6ffc4f9062f00f468b6e077f310f1eec20301e | /*
* Copyright 2017-present 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... | Java | test/com/facebook/buck/jvm/java/abi/source/TypeResolverTest.java | vschs007/buck | apache-2.0 | 5,714 | 137 | codeparrot/github-code |
0f8241ef540876489e8cb0d23d023358c8ab320a9f6d63daf3bf3a802fbd5d39 | package mj.ocraptor.events;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
public class Event<T> implements Queue<T> {
private BlockingQueue<T> queue;
private boolean eventFired;
/**
*
*
* @param n
*/
public Event() {
this.queue = ne... | Java | src/main/java/mj/ocraptor/events/Event.java | kolbasa/OCRaptor | apache-2.0 | 1,165 | 69 | codeparrot/github-code |
4b1605fa866c6a55d620d97826a2ff6f11ca255c871e98df15888b9ea6fa2c99 | /* ------------------------------------------------------------------------*/
/* Copyright 2002-2020, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may */
/* not u... | C++ | src/host/HostShare.cc | baby-gnu/one | apache-2.0 | 9,847 | 405 | codeparrot/github-code |
d914583e7de86fade78cca483edd3c061bfc753a07cdcf0fba7a8c874f60c9c9 | /*
* Licensed to Crate under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. Crate licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compl... | Java | server/src/test/java/io/crate/analyze/RepositoryParamValidatorTest.java | EvilMcJerkface/crate | apache-2.0 | 2,424 | 63 | codeparrot/github-code |
9d343f1f7aff54c42ab24c2bff18e4405a707397468bb5b0ad74422ded18d641 | package scripts
import java.nio.file.{Files, Path, Paths}
case class PBGenerateRequest(jarOutput: String, scalaPBOutput: Path, scalaPBArgs: List[String], includedProto: List[(Path, Path)], protoc: Path, namedGenerators: Seq[(String, String)], extraJars: List[Path])
object PBGenerateRequest {
def from(args: java.u... | Scala | src/scala/scripts/PBGenerateRequest.scala | ianoc/rules_scala | apache-2.0 | 2,472 | 58 | codeparrot/github-code |
bb9204e5a150030083797110daafc8bc50f38833b34e37e9e198200e6c7062c8 | <!DOCTYPE html >
<html>
<head>
<title>IdQuery - ScalaTest 3.0.0 - org.scalatest.selenium.WebBrowser.IdQuery</title>
<meta name="description" content="IdQuery - ScalaTest 3.0.0 - org.scalatest.selenium.WebBrowser.IdQuery" />
<meta name="keywords" content="IdQuery ScalaTest 3.0.0 org... | HTML | public/scaladoc/3.0.0/org/scalatest/selenium/WebBrowser$IdQuery.html | scalatest/scalatest-website | apache-2.0 | 39,601 | 603 | codeparrot/github-code |
02885d8969ac036078d45a085b3741caf914d2a18ae103c3ee40b3450e7cf38b | package com.planet_ink.coffee_mud.Abilities.Songs;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import ... | Java | com/planet_ink/coffee_mud/Abilities/Songs/Dance_Grass.java | oriontribunal/CoffeeMud | apache-2.0 | 2,284 | 58 | codeparrot/github-code |
f74f9ce77decf6fe6f3faf3b47099ff50b6c066f267a0ee999effecb8e052307 | package com.example.util;
import java.util.ArrayList;
import java.util.List;
public class StrListChange
{
//½«×Ö·û´®×ª»»³ÉList
public static List<String[]> StrToList(String info)
{
List<String[]> list = new ArrayList<String[]>();
if(info.isEmpty())
{
return null;
}
String[] s = info.split("\\|");
... | Java | BNMusic/src/com/example/util/StrListChange.java | roubofenyong/bnmusic1 | apache-2.0 | 547 | 31 | codeparrot/github-code |
f768dce937cbbf32a3132c0be76a14a4501759e033095e798dc8f528ca5beecd | """
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
distri... | Python | gwells/forms.py | SethGreylyn/gwells | apache-2.0 | 53,558 | 1,204 | codeparrot/github-code |
05ff6beb6df08a77772e193c4a85abe4b4ef69d1e22878d52d55c2142f59a564 | /*
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 use... | C# | platforms/wp8/App.xaml.cs | psydrake/pandacoinBalance | apache-2.0 | 6,038 | 160 | codeparrot/github-code |
453c991f13ba50252cdedee307e5185a56dbf46ae3d26c63fc6f61798d906bf9 | package com.cinema.filters;
import java.io.IOException;
import javax.inject.Inject;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.a... | Java | src/main/java/com/cinema/filters/AdminPagesFilter.java | kristiyankisimov/Cinema | apache-2.0 | 1,883 | 73 | codeparrot/github-code |
2e410eb9825848591cf10800387deb1b15d953df85bcac5c5c0c184fa9053f33 | /*
* (C) Copyright 2015 ETH Zurich Systems Group (http://www.systems.ethz.ch/) and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... | C++ | server/TransactionsKudu.cpp | tellproject/tpcc | apache-2.0 | 29,570 | 754 | codeparrot/github-code |
05346bd3a03d7de23275981be03e164884aa2a33cb5b760d0797ca11007b443c | using FlipFall;
using FlipFall.Audio;
using FlipFall.Cam;
using FlipFall.Theme;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// A circle that pulls the player towards its center with a set force.
/// Force depends on the players distance to the center of the circle.
//... | C# | Assets/Resources/Scripts/LevelObjects/Attractor.cs | Badeye/impulse | apache-2.0 | 5,572 | 149 | codeparrot/github-code |
9f7cdd96bcfdd170742c5a9cc0a1f3d7aa9f11346a9b118b5b48604fe6ef4df5 | package org.clarksnut.mapper.document.pe.voideddocuments;
import org.clarksnut.files.XmlUBLFileModel;
import org.clarksnut.mapper.document.DocumentMapped;
import org.clarksnut.mapper.document.DocumentMapped.DocumentBean;
import org.clarksnut.models.utils.ClarksnutModelUtils;
import org.junit.Test;
import org.junit.run... | Java | src/test/java/org/clarksnut/mapper/document/pe/voideddocuments/PEVoidedDocumentsParsedDocumentProviderTest.java | openfact/openfact-sync | apache-2.0 | 2,833 | 69 | codeparrot/github-code |
a9b9056fbc6d8e01cbd3943b47e187f887fa3da53f89e3008f4b2a2af305f29c | // (C) Copyright 2014-2015 Hewlett-Packard Development Company, L.P.
var React = require('react');
var Article = require('grommet/components/Article');
var CheckBox = require('grommet/components/CheckBox');
var CheckBoxDoc = React.createClass({
render: function() {
var inline = [
"<CheckBox id=\"item2\" ... | JavaScript | docs/src/develop/components/CheckBoxDoc.js | ieugen/grommet | apache-2.0 | 2,460 | 69 | codeparrot/github-code |
08e1be58842bf2b2047c75791fc22555966596865fdb8ba46836f61cf85dbad8 | /**
Copyright 2010 FAV ZCU
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
distr... | C# | GameUi/Areas/Minigame/Controllers/DefaultController.cs | SpaceTrafficDevelopers/SpaceTraffic | apache-2.0 | 1,920 | 67 | codeparrot/github-code |
26af0ffb78df43d70b894d71e24e3be849dcb6915a9c585eef7776c699c0a37d | // Copyright 2014 Serilog 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 required by applicable law or ... | C# | src/Serilog/Configuration/LoggerDestructuringConfiguration.cs | richiej84/serilog | apache-2.0 | 5,020 | 115 | codeparrot/github-code |
546cac66b52f7008e6516f9739730d3b5dda1cda87ebcd13f8032b4ee2bd4686 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/iot/model/ListManagedJobTemplatesRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/http/URI.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#includ... | C++ | aws-cpp-sdk-iot/source/model/ListManagedJobTemplatesRequest.cpp | aws/aws-sdk-cpp | apache-2.0 | 1,297 | 59 | codeparrot/github-code |
18edff694517957598e0ba816f9a1d32f2fa7e2ff55789df051777bf27658016 | package com.dream.android.sample.feature.main;
import com.dream.android.sample.R;
import com.dream.android.sample.base.DIFragment;
import com.dream.android.sample.di.component.ActivityComponent;
/**
* Description:
* <p>
* Copyright: Copyright (c) 2016, All rights reserved.
*
* @author Dream
* @date 16/7/28
*/
... | Java | resource/normal_app/src/feature/main/Tab2Fragment.java | DreamJM/AndroidGenerator | apache-2.0 | 772 | 36 | codeparrot/github-code |
e33af5e43b80d6df488eaab73be951fe3b02196aad757769399f807125b18ebd | package net.chrisrichardson.asyncpojos.actoids.test;
import static net.chrisrichardson.asyncpojos.futures.FutureUtils.complete;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
import net.chrisrichardson.asyncpojos.actoids.stereotypes.Actoid;
import org.springframework.context.annotation.Sc... | Java | src/test/java/net/chrisrichardson/asyncpojos/actoids/test/SampleActoidImpl.java | cer/actoids | apache-2.0 | 793 | 35 | codeparrot/github-code |
57faabb9ac1757e2bc9e7107304060b7fbd030c26d567b5f8067d4f92c32933c | # Copyright 2010-2011 OpenStack Foundation
# 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... | Python | glance/common/client.py | klmitch/glance | apache-2.0 | 23,213 | 600 | codeparrot/github-code |
aed3e5500eb9b813272e35d1bf57fd2a367b3a48f3405820f476c0200a0862c4 | // Copyright 2019 MSolution.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 applicable law or ... | GO | aws/usageReports/route53/mappings.go | trackit/trackit | apache-2.0 | 2,134 | 92 | codeparrot/github-code |
558d62f395e77c8fa8396efdf74d0857550c68024fca429fa24c214a2c8b158c | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2018 Codethink 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 r... | Python | tools/organise-ofc-stderr-output.py | CodethinkLabs/ofc | apache-2.0 | 7,879 | 212 | codeparrot/github-code |
a1a1686962e4067b8d8c384c163f7f0dd354452e486a411a9bb56422d94372f9 | package com.devicehive.resource;
/*
* #%L
* DeviceHive Java Server Common business logic
* %%
* Copyright (C) 2016 DataArt
* %%
* 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 | devicehive-frontend/src/main/java/com/devicehive/resource/DeviceTypeResource.java | devicehive/devicehive-java-server | apache-2.0 | 11,665 | 267 | codeparrot/github-code |
4463e4bf8d135481eab5d1b82a5bc22b75bc2cb17f0fe348461bbd325490ea2b | /*
* Copyright 2014 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | Java | src/com/google/javascript/jscomp/Es6RewriteModules.java | mprobst/closure-compiler | apache-2.0 | 37,172 | 981 | codeparrot/github-code |
cb5aa59529360b5da448840b13564d3395686aaf43de5869a0eb96884789715a | /**
* Copyright (C) 2015 The Gravitee team (http://gravitee.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 requ... | Java | gravitee-am-plugins-handlers/gravitee-am-plugins-handlers-identityprovider/src/main/java/io/gravitee/am/plugins/idp/spring/IdentityProviderConfiguration.java | gravitee-io/graviteeio-access-management | apache-2.0 | 2,198 | 56 | codeparrot/github-code |
965abddfcee3544efe1cf7cad0d7d1b4cc51e34aff54168493c8f8e8a7e5b17f | package univers.torri.fr.service;
import univers.torri.fr.domain.Authority;
import univers.torri.fr.domain.User;
import univers.torri.fr.repository.AuthorityRepository;
import univers.torri.fr.config.Constants;
import univers.torri.fr.repository.UserRepository;
import univers.torri.fr.security.AuthoritiesConstants;
im... | Java | src/main/java/univers/torri/fr/service/UserService.java | PegazusFR/traveler-web-site | apache-2.0 | 9,456 | 247 | codeparrot/github-code |
b967f31531450e8e4cfea7268678b1cb02c97e5ec54b46df48013b508ed0b642 | <!DOCTYPE html >
<html>
<head>
<title>Valuable - ScalaTest 3.0.3 - org.scalatest.OptionValues.Valuable</title>
<meta name="description" content="Valuable - ScalaTest 3.0.3 - org.scalatest.OptionValues.Valuable" />
<meta name="keywords" content="Valuable ScalaTest 3.0.3 org.scalates... | HTML | public/scaladoc/3.0.3/org/scalatest/OptionValues$Valuable.html | scalatest/scalatest-website | apache-2.0 | 28,545 | 546 | codeparrot/github-code |
8ab9f37bab79ad7a4bd68b546c330288f5f4feca4b19b8834d07840642365d95 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the ... | PHP | library/Zend/Controller/Router/Route/Chain.php | ankuradhey/dealtrip | apache-2.0 | 4,169 | 136 | codeparrot/github-code |
73d288a01572900ba22704bbac8885d7c205e5f3b429df681cf4deb75905694d | /*
* Copyright 2018 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java | src/main/java/com/google/firebase/internal/FirebaseRequestInitializer.java | firebase/firebase-admin-java | apache-2.0 | 2,629 | 76 | codeparrot/github-code |
8163fb02e78cef45bd7a1648a8998047d823d60abb71fc76852097cc36a7eb99 | //snippet-sourcedescription:[EnhancedQueryRecordsWithSortKey.java demonstrates how to query a table with a sort key.]
//snippet-keyword:[SDK for Java v2]
//snippet-keyword:[Code Sample]
//snippet-service:[Amazon DynamoDB]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[09/28/2021]
//snippet-sourceauthor... | Java | javav2/example_code/dynamodb/src/main/java/com/example/dynamodb/EnhancedQueryRecordsWithSortKey.java | awsdocs/aws-doc-sdk-examples | apache-2.0 | 4,392 | 107 | codeparrot/github-code |
1ab2f13ab4be36ada01f9efb4d7a975502a63a93880f73f048b8ade8ba7e2490 | /**
* Copyright © 2013-2021 The OpenNTF Domino API Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | Java | domino/core/src/main/java/org/openntf/domino/big/impl/IndexDatabase.java | OpenNTF/org.openntf.domino | apache-2.0 | 41,703 | 1,190 | codeparrot/github-code |
09a159574435d5fe696f49295a216214da235f80312527cf0fc9d77b79afba7f | package scala.collection.mutable
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
import org.junit.Test
import org.junit.Assert.assertEquals
import scala.tools.testkit.AssertUtil.{assertFails, assertNotReachable, assertThrows}
import scala.util.Random
import scala.util.chaining._
import java.io.{ByteA... | Scala | test/junit/scala/collection/mutable/PriorityQueueTest.scala | scala/scala | apache-2.0 | 4,025 | 128 | codeparrot/github-code |
b8199ced4cd4ce760cdc6fb7d41f86c8c01c2ffb834937d2acd18eea91968326 | package com.khmelenko.lab.sensorsclient;
import com.khmelenko.lab.sensorsclient.network.ApiService;
import com.khmelenko.lab.sensorsclient.network.RestClient;
import com.khmelenko.lab.sensorsclient.network.response.Device;
import com.khmelenko.lab.sensorsclient.ui.presenter.DevicesActivityPresenter;
import com.khmele... | Java | Client/SensorsClient-Android/app/src/test/java/com/khmelenko/lab/sensorsclient/TestDevicesActivityPresenter.java | brave-warrior/Sensors-IoT | apache-2.0 | 3,616 | 109 | codeparrot/github-code |
c5ad4c6ddb194191b5aa22f6a960b8f16e4de664fb1d4379d258dcbf9e50d319 | #!/usr/bin/python2.7
# -*- coding: utf-8 -*-
# vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab
# 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 | core/pycopia/OS/Linux/proc/devices.py | kdart/pycopia | apache-2.0 | 1,668 | 61 | codeparrot/github-code |
ef3fcd7c76707acd5f03b9d90c7b1ccef5b24f976997dbb6706254035a83a0b0 | #!/usr/bin/env perl
#
# sizes.pl
#
use warnings;
use lib ".";
use File::stat;
use Months;
# Parse command line arguments
use Getopt::Long;
my $allMonths;
my $oneYear;
GetOptions('all' => \$allMonths, 'year' => \$oneYear);
# By default, only show results for the most recent month
if ($allMonths) {
# leave table inta... | Perl | charting/sizes.pl | ukf/ukf-meta | apache-2.0 | 2,199 | 105 | codeparrot/github-code |
4db9a4d25a6ce8043cf832cfa889dc928f91ff28d576564c776e73b6742f9ee1 | package com.ywxy.ca.activity;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.annotation.SuppressLint;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
imp... | Java | code/CampusAssistant/src/com/ywxy/ca/activity/HomeActivity.java | zhushi91/CampusAssistant | apache-2.0 | 3,218 | 105 | codeparrot/github-code |
7e9be085347ec5abf22d9093133cd12ea7a577071dd27adc4db0fc0bac3f78e0 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5 and AngularJS.">
<meta name="keywords" content="html5,ja... | HTML | _site/docs/1.0.0-rc.3/api/directive/ionRadio/index.html | qintengfei/ionic-site | apache-2.0 | 31,903 | 1,310 | codeparrot/github-code |
99ba1afb0d99875e8ab47da9aaef3cb12b1bf35844fcc738ba72f2a7a9d5c7a2 | /*
* Copyright (C) 2011 Google, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions... | C++ | android/external/chromium_org/third_party/WebKit/Source/core/loader/DocumentLoadTiming.cpp | indashnet/InDashNet.Open.UN2000 | apache-2.0 | 3,370 | 93 | codeparrot/github-code |
c9fb153047042b8711d50f227e9b7c7f8b16cfcad4dd3bb7202aa4e693f4c17b | package org.sagebionetworks.table.query.model;
import java.util.LinkedList;
import java.util.List;
/**
* Term ::= {@link Factor} ({@link FactorPrime})*
* <p>
* The 'term' element in the BNF is defined with left-recursion. The
* left-recursion was eliminated by transforming the right-hand-side to an
* optional lo... | Java | lib/lib-table-query/src/main/java/org/sagebionetworks/table/query/model/Term.java | Sage-Bionetworks/Synapse-Repository-Services | apache-2.0 | 1,248 | 60 | codeparrot/github-code |
12907c01966592de07ad4e576bf926db19c2eadcb6415e552249f62464fc8176 | /*
* Copyright 2014 Victor Melnik <annimon119@gmail.com>, and
* individual contributors as indicated by the @authors tag.
*
* 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 | JECP-Android/src/com/annimon/jecp/android/ImageAndroid.java | aNNiMON/JECP | apache-2.0 | 1,574 | 58 | codeparrot/github-code |
6fd431936a56a4c08aaae454f910da81c30cf705ac3cdd6f7aeaa7a53d90becf | using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// UserAdvanceInfo Data Structure.
/// </summary>
[Serializable]
public class UserAdvanceInfo : AopObject
{
/// <summary>
/// 垫资查询结果: 0 查询成功 1 查询失败 如果返回查询失败,可重试
/// </summary>
... | C# | Snail.Pay.Ali.Sdk/Domain/UserAdvanceInfo.cs | 329277920/Snail | apache-2.0 | 1,086 | 37 | codeparrot/github-code |
912921c0a0c5874bdb27dcd4304931e169f2001f50f035ea7496932572b95447 | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2021 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | C++ | arangod/IResearch/IResearchView.cpp | Simran-B/arangodb | apache-2.0 | 41,442 | 1,168 | codeparrot/github-code |
cbf0dc40f08de647f8c402ffdffb8ab5bd9995b521443fb72db9c5a7c25de74f | // Copyright (C) 2008 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 applicable ... | Java | gerrit-gwtui/src/main/java/com/google/gerrit/client/account/MyPasswordScreen.java | Distrotech/gerrit | apache-2.0 | 6,172 | 203 | codeparrot/github-code |
d0a7a7d9bdfc2d639ed3dabd84fb91cb3684cd94c7803c95f56085b34843a783 | /**
* User: semihonay
* File: udpSender.js
* Date: 8.06.2017
*/
function parseXml(xml) {
var DOMParser = require('xmldom').DOMParser;
try {
return new DOMParser().parseFromString(xml, 'text/xml');
}
catch (e) {
return null;
}
}
var sendUDP = (data) => {
var PORT = 33333;
var HOST = '127.0.0... | JavaScript | udpMessageGenerator/udpSender.js | Semyonic/udpToSocketio | apache-2.0 | 1,091 | 52 | codeparrot/github-code |
08a0382ba1b5e90d4aa6dccc0706384cfd40f9ffd43532f56cf9b19ac604dc03 | package com.twitter.finagle.mysql
import com.github.benmanes.caffeine.cache.{Caffeine, RemovalCause, RemovalListener}
import com.twitter.cache.caffeine.CaffeineCache
import com.twitter.finagle.dispatch.GenSerialClientDispatcher
import com.twitter.finagle.mysql.transport.{MysqlBufReader, MysqlBuf, Packet}
import com.tw... | Scala | finagle-mysql/src/main/scala/com/twitter/finagle/mysql/ClientDispatcher.scala | spockz/finagle | apache-2.0 | 10,718 | 298 | codeparrot/github-code |
8f9057dcadb18e98a810772760daa4f1992100896040edcb6aaf942cda2ea786 | // Copyright 2017 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 ... | C | sling/nlp/parser/roles.h | google/sling | apache-2.0 | 3,191 | 124 | codeparrot/github-code |
02b8e0d13e8598150cb13f44ec40b46274c9df1b780ebff34d100dc8dbea63ae | //6b501a80
class UserMainCode2 {
public String userIdGeneration(String input1, String input2, int input3, int input4) {
// Read only region end
// Write code here...}
int f = input4 - 1,l;
char inp21, inp31, inp41, a;
int b;
String output1 = null;
StringBuffer inp1 = new StringBuffer(input1);
... | Java | UserIdGen.java | rajalohiy8/Wipro-Milestone-1 | apache-2.0 | 3,924 | 144 | codeparrot/github-code |
7f4e2ab2829216b75b9b69f8d5f9c455da4ee1289cd03fb2797400b04250370d | /*
* 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 | network/shuffle/src/main/java/org/apache/spark/network/shuffle/protocol/OpenBlocks.java | tophua/spark1.52 | apache-2.0 | 2,854 | 97 | codeparrot/github-code |
46c8c58dfcc5dfe66a4462a080fd2ff7f113ddd94a7656baa56636a4f011fb76 | /*
Copyright 2016, Cossack Labs Limited
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, softwa... | GO | cmd/acra-keymaker/acra-keymaker.go | cossacklabs/acra | apache-2.0 | 11,302 | 335 | codeparrot/github-code |
dbc6518fdec85bed24b73b0b670be928a85f66671a7214775a3cb932425fec88 | // Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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... | C# | SensusService/Probes/Location/PollingLocationProbe.cs | haunthy/sensus | apache-2.0 | 2,537 | 70 | codeparrot/github-code |
45ca875497470ad5a16c4bde5db565a61daa5217d1bb2461a43ab1b2aff1a1c6 | /*-
* * 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/condition/column/StringColumnCondition.java | huitseeker/DataVec | apache-2.0 | 5,265 | 137 | codeparrot/github-code |
19315b1ac9503e6a97cf755a415004f1c15a5302866ea3c2624f3a18d5f2247a | package ru.job4j.io;
import java.io.*;
import java.util.Deque;
import java.util.LinkedList;
import java.util.List;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import java.util.zip.ZipOutputStream;
/**
* Class for pack and unpack the specified directory to zip-archive.
*
* @author Tolstonogo... | Java | chapter_005/src/main/java/ru/job4j/io/Zip.java | tolstinator/atolstonogov | apache-2.0 | 4,966 | 182 | codeparrot/github-code |
1bb5998063381dddea48fbd9663f9561056b5e967ebdd7490218fadc2ef33d69 | /* This routine is the PGPLOT interface to the Figaro/PGPLOT display server. */
/* Sam Southard, Jr. */
/* Created: 19-Nov-1990 */
/* 12-Dec-1990 SNS/CIT Locking mechanism implemented. VMS changes merged in */
/* 15-Mar-1991 SNS/CIT OPCODES 1, 4, and 5 (device name, capabilities, and */
/* default file name) ... | C | drivers/x2driv.c | RobinsonLab/pgplot | apache-2.0 | 15,653 | 557 | codeparrot/github-code |
045be0835548125983ce5bfe42616d05d0699d41080f557e6424d03b8c6f731e | /*
* Copyright 2015 Adaptris Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | Java | adapter/src/main/java/com/adaptris/core/services/dynamic/DynamicServiceLocator.java | mcwarman/interlok | apache-2.0 | 9,058 | 320 | codeparrot/github-code |
bd1e5a17c9900fccc3070c3448b6175c66f7060c695fa5a4a500c2471600230a | /**
* Licensed to Cloudera, Inc. under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Cloudera, Inc. licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use th... | Java | src/javatest/com/cloudera/flume/conf/TestFlumeBuilderFunctional.java | yongkun/flume-0.9.3-cdh3u0-rakuten | apache-2.0 | 6,390 | 194 | codeparrot/github-code |
36556848b597d3663fe279f5acc5d78236dfe46a37c4efb4d9aeee6f992d8b0e | # Copyright 2015 Dimitri Racordon
#
# 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 writi... | Python | mushi/apps/webui/views.py | kyouko-taiga/mushi | apache-2.0 | 1,256 | 37 | codeparrot/github-code |
654982947b94ba5cf1c3268adecc495716c15b8b4114a63777b5c555a66b829d | /**
* hujiawei - 15/3/23.
* <p/>
* 排序
* <p/>
* http://www.acmerblog.com/leetcode-solution-first-missing-positive-6304.html
*/
public class FirstMissingPositive_41 {
public static void main(String[] args) {
System.out.println(new FirstMissingPositive_41().firstMissingPositive(new int[]{1, 2, 0}));
... | Java | java/leetcode/FirstMissingPositive_41.java | hujiaweibujidao/XSolutions | apache-2.0 | 1,361 | 44 | codeparrot/github-code |
025300f95d7cbb2ee20a1b198ede141531c30f7d8a415747bd3a02724d917dfc | package be.fnord.Permutator;
import org.junit.Test;
import be.fnord.Combinations.CombinationGenerator;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
public class Testables {
/*
@Test
public void testCombinator(){
CombinationGenerator cr = new CombinationGenerator(15,7);
while(cr.hasMore(... | Java | src/test/java/be/fnord/Permutator/Testables.java | edm92/Permutations | apache-2.0 | 955 | 39 | codeparrot/github-code |
9319d4b0c83c766159d89d3f681069c0b6e9ca8ed7d314fed99616291cf90bc4 | /*******************************************************************************
* 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... | Java | src/test/resources/apache-ofbiz-17.12.04/framework/base/src/main/java/org/apache/ofbiz/base/util/collections/test/GenericMapTest.java | yuri0x7c1/ofbiz-explorer | apache-2.0 | 6,988 | 175 | codeparrot/github-code |
5fddaa911baec1621ebb1cb87fe66d7220a6e833225a070371f882b685602e5f | // Copyright © 2020 wego 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 agreed to ... | GO | pkg/corpus/cooccurrence/cooccurrence.go | ynqa/word-embedding | apache-2.0 | 1,724 | 76 | codeparrot/github-code |
89e46fb46a6d299341ca6a49e3896463c8574398f2210a7fa8b02635e3241b62 | package rules;
import junit.framework.TestCase;
import org.junit.Assert;
import org.junit.Test;
import io.kimo.gameoflifeview.game.World;
/**
* Rule #4: Any dead cell with exactly three live neighbours becomes a live
* cell, as if by reproduction.
*/
public class Rule4Test extends TestCase {
@Test
publi... | Java | library/src/test/java/rules/Rule4Test.java | thiagokimo/GameOfLifeView | apache-2.0 | 655 | 32 | codeparrot/github-code |
38cceed9686d974b2b089b14e1eab6f9c99c5ca4ce21a8d726bdef2d7c4cfc32 | /*
Copyright 2006 Jerry Huxtable
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
d... | Java | src/main/java/com/jhlabs/image/MaximumFilter.java | lokit/android-jhlabs-filters | apache-2.0 | 1,667 | 60 | codeparrot/github-code |
f80d6a3a4feb4bb6fcb111a2d5b4f9b5b22931b3285995fcfd87b8de37a625a1 | package com.graphhopper.routing.util.parsers;
import com.graphhopper.reader.ReaderWay;
import com.graphhopper.routing.profiles.EnumEncodedValue;
import com.graphhopper.routing.profiles.TrackType;
import com.graphhopper.routing.util.EncodingManager;
import com.graphhopper.storage.IntsRef;
import org.junit.Before;
impor... | Java | core/src/test/java/com/graphhopper/routing/util/parsers/OSMTrackTypeParserTest.java | ammagamma/graphhopper | apache-2.0 | 2,711 | 74 | codeparrot/github-code |
53993b5cc40c6f63393df14f2cbecd1ac59b137e46c5111ab41d200a3cb0f3ce | /*
* Copyright (c) 2001-2013 David Soergel <dev@davidsoergel.com>
* Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*/
package com.davidsoergel.dsutils;
import org.jetbrains.annotations.NotNull;
import java.util.HashSet;
import java.util.LinkedList;
import java.util... | Java | src/test/java/com/davidsoergel/dsutils/ContractTestAware.java | davidsoergel/dsutils | apache-2.0 | 1,937 | 62 | codeparrot/github-code |
50bce6bd746ae040771e66807492c73167135579915f6e14e96bd3bd55e03147 | using RegisterDocs.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using Sy... | C# | RegisterDocs.GUI/Controls/HalEtishMuddatControl.xaml.cs | elyor0529/RegisterDocs | apache-2.0 | 1,400 | 57 | codeparrot/github-code |
9b59bfce438e4574841135735c9730d00dcda345bc19b5d1f9954eb74d63f791 |
/*
* Copyright [2016] [Subhabrata Ghosh]
*
* 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... | C | types/includes/schema_common.h | subhagho/ReactFS | apache-2.0 | 25,866 | 534 | codeparrot/github-code |
e258cc4081383844a562cd1794ec8590783570e026d1cb52772bd2b077dfe2c5 | package com.eagerlogic.entitydb;
/**
*
* @author dipacs
*/
public final class StringFilterItem extends AFilterItem {
public static enum EOperator {
SMALLER,
GREATER,
EQUALS,
NOT_EQUALS,
CONTAINS
}
private final String attributeName;
private final EOperator operator;
private final String reference... | Java | src/EntityDB/src/com/eagerlogic/entitydb/StringFilterItem.java | EagerLogic/EntityDB | apache-2.0 | 1,097 | 49 | codeparrot/github-code |
f28f32ea048abe3c22eccdcb5dfcd29a3b8510a0294e73b102776f7694d5573b | package db
import (
"bytes"
"encoding/binary"
"time"
"github.com/boltdb/bolt"
"github.com/michaelorr/goodall/pkg/metrics"
)
func Open(path string) (*bolt.DB, error) {
return bolt.Open(path, 0600, &bolt.Options{Timeout: 1 * time.Second})
}
func Init(conn *bolt.DB) error {
for bucket, _ := range metrics.Bucke... | GO | pkg/db/connection.go | michaelorr/goodall | apache-2.0 | 862 | 48 | codeparrot/github-code |
0e2b12de05d12264666b6131818398abd8dbd0108d3e00294880cb978a8579d4 | package cn.bingoogolapple.refreshlayout.demo.ui.fragment;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import cn.bingoogolapple.refreshlayout.BGARefreshLayout;
import cn.bingoogolapple.refreshlayout.BGAStickinessRefreshViewHo... | Java | RefreshUpload/BGARefreshLayout-Android-master/demo/src/main/java/cn/bingoogolapple/refreshlayout/demo/ui/fragment/RefreshScrollViewFragment.java | weiwenqiang/GitHub | apache-2.0 | 3,740 | 113 | codeparrot/github-code |
97d2907df1ea7bf43489d33af28a695e213623c6397f48a538bfb4e3e4e79475 | //
// ECSlidingViewController.h
// ECSlidingViewController
//
// Created by Michael Enriquez on 1/23/12.
// Copyright (c) 2012 EdgeCase. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "UIImage+ImageWithUIView.h"
/** Notification that gets posted when the underRight view will appear */
extern NSString *co... | C | ECSlidingViewController/ECSlidingViewController.h | irccloud/ios | apache-2.0 | 8,952 | 230 | codeparrot/github-code |
a7fb4651ab19fc1cca866e9a6b0782dad60f89c70c1bc18d65908709b57038f9 | package com.keeps.tools.utils;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.List;
import org.springframework.util.Assert;
public class NumberUtils {
public static final String S0C4_FORMAT = "#0.0000";
public static final String S3C4_FORMAT = "#,##0.0000";
public static f... | Java | keeps-tools/src/main/java/com/keeps/tools/utils/NumberUtils.java | keepsl/keepsmis | apache-2.0 | 8,656 | 333 | codeparrot/github-code |
3ce663a7a77aee0e6f2a325bbb9af30abf49eb710134bdcc85943f90c10a00b6 | #region Copyright
// Copyright 2014 Myrcon Pty. 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 appl... | C# | src/Potato.Fuzzy/Tokens/Primitive/Temporal/Variable/Months/AprilMonthsVariableTemporalPrimitiveToken.cs | phogue/Potato | apache-2.0 | 1,318 | 32 | codeparrot/github-code |
353d1187129c894b11eca7ec6864c47ea38f78437c3fe49c1719e3e68be39903 | using System;
namespace Soma.Core.PT.CSharp
{
// define a config class
internal class MyConfig : MsSqlConfig
{
public override string ConnectionString { get { return "Data Source=.;Initial Catalog=Soma.Tutorial;Integrated Security=True"; } }
public override Action<PreparedStatement> Logger { get { return Silen... | C# | Soma.Core.PT.CSharp/Program.cs | nakamura-to/Soma | apache-2.0 | 882 | 36 | codeparrot/github-code |
56e200d1377fbfb7a58dda4491472508974f5ceec03436df62061a0f76d9edda | package com.example.black.pmk.gui;
import android.app.DatePickerDialog;
import android.content.Intent;
import android.provider.MediaStore;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.FragmentActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import an... | Java | app/src/main/java/com/example/black/pmk/gui/PatientActivity.java | fake114/pmk | apache-2.0 | 4,675 | 124 | codeparrot/github-code |
652a533858b561ae4ddb5b54c7a0f8dc2fe2cacc861df209ec1d0b763f6be992 | /* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | Java | bookshelf/1-cloud-run/src/main/java/com/example/getstarted/daos/FirestoreDao.java | GoogleCloudPlatform/getting-started-java | apache-2.0 | 6,707 | 192 | codeparrot/github-code |
9930c4c21eda767c5c69160b774d72284dab28accfa5b9d1735d99ae386f0773 | <?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>Collecting - ScalaTest 2.2.0 - org.scalatest.enablers.Collecting</title>
<meta name="description" content="Collecting - ScalaTest 2.2.... | HTML | public/scaladoc/2.2.0/org/scalatest/enablers/Collecting.html | scalatest/scalatest-website | apache-2.0 | 28,072 | 500 | codeparrot/github-code |
b8dc872496ccaae488749f197fd79c66542ec671628227acc268997b829a75c7 | # -*- coding: utf-8 -*-
# This code is part of Qiskit.
#
# (C) Copyright IBM 2019.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modif... | Python | qiskit/pulse/commands/instruction.py | QISKit/qiskit-sdk-py | apache-2.0 | 9,538 | 256 | codeparrot/github-code |
1df7818d78bb1b07b530891c4663132845b35a31504e162bb3e14f284665d7df | package egger.software.ar_junit;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runner.notification.RunNotifier;
import org.junit.runners.BlockJUnit4ClassRunner;
import org.junit.runners.model.Fr... | Java | src/main/java/egger/software/ar_junit/TestRunners.java | eggeral/java-examples | apache-2.0 | 1,027 | 36 | codeparrot/github-code |
2026ff338956fb15f08bca7a37f3f20daeb58f813632cc9ed00c667c5dd0b689 | package org.edx.mobile.profiles;
import android.databinding.DataBindingUtil;
import android.support.annotation.NonNull;
import android.widget.TextView;
import org.edx.mobile.R;
import org.edx.mobile.databinding.FragmentUserProfileBinding;
import org.edx.mobile.util.images.ErrorUtils;
import org.edx.mobile.view.Presen... | Java | OpenEdXMobile/src/test/java/org/edx/mobile/profiles/UserProfileFragmentTest.java | ahmedaljazzar/edx-app-android | apache-2.0 | 6,594 | 160 | codeparrot/github-code |
75d04f8d6b7529c52ae1dffb4d3cbdcce6706153b5f1ad20e4e814e111c41330 | package io.crnk.legacy.repository.information;
import io.crnk.core.engine.information.repository.*;
import io.crnk.core.engine.information.resource.ResourceInformation;
import io.crnk.core.engine.information.resource.ResourceInformationProvider;
import io.crnk.core.engine.internal.information.repository.ResourceReposi... | Java | crnk-core/src/main/java/io/crnk/legacy/repository/information/DefaultResourceRepositoryInformationProvider.java | crnk-project/crnk-framework | apache-2.0 | 5,488 | 133 | codeparrot/github-code |
41ec84a3534f873b7ef1e79663974b036dd4a9ad1b3d52de0bf8e7f1342b5d91 | #include "logout.h"
#include "../common/cookie.h"
#include "session.h"
#ifdef USER_LOGOUT_DEBUG
#include "../common/logging.h"
#define DEBUG_MSG(fmt, ...) LOG_SERVER_DEBUG_FORMAT(fmt, "logout", __VA_ARGS__)
#define DEBUG_PUT(fmt) LOG_SERVER_DEBUG_FORMAT(fmt, "logout")
#else
#define DEBUG_MSG(fmt, ...)
#define DEBUG... | C | mongocms/user/logout.c | maximilianvoss/mongocms | apache-2.0 | 839 | 31 | codeparrot/github-code |
ac112d68828d74bd540e2a58985fdefb9257fa957d586672a0f0645c5dcd84ed | /*
* Written by Josh Bloch of Google Inc. and released to the public domain,
* as explained at http://creativecommons.org/licenses/publicdomain.
*/
package com.trovebox.android.common.util.concurrent;
// BEGIN android-note
// removed link to collections framework docs
// END android-note
import java.io... | Java | common/src/com/trovebox/android/common/util/concurrent/ArrayDeque.java | photo/mobile-android | apache-2.0 | 31,885 | 893 | codeparrot/github-code |
76dfbd1ef275e70bc09be5f49db7f11a5ead0877e3cf306a0aa5574fd2a123b5 | package com.estacionate.jd.parkernow.fragments;
/**
* Created by Jorge on 26-04-2017.
*/
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import ... | Java | app/src/main/java/com/estacionate/jd/parkernow/fragments/ReportMapFragment.java | jroaes/ParkerNow- | apache-2.0 | 4,593 | 148 | codeparrot/github-code |
7e5891b375bb5257a4a51e642d247521aaef40806c3b50a11a7d3a5d17a65680 | /// QAS Pro Web > (c) Experian > www.edq.com
/// Web > Verification > VerifyRefine
/// Prompt for additional (premise) address details, and check for suitability
namespace Experian.Qas.Prowebintegration
{
using System;
using Experian.Qas.Proweb;
/// <summary>
/// Scenario "Address Verification on the W... | C# | src/Proweb.Webform/VerifyRefine.aspx.cs | experiandataquality/proweb | apache-2.0 | 5,144 | 170 | codeparrot/github-code |
291a4606143ee6dbac3416691cd8dccf6fc1dfb738da751e3b1cb6a50d39f45e | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="S3StorageKey.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not u... | C# | DataAccessLayer/ConcreteDataStore/S3StorageKey.cs | chinnurtb/OpenAdStack-1 | apache-2.0 | 2,924 | 79 | codeparrot/github-code |
fd3b47d44ffa6b92fa2f7d42a1dc781088cac69105cacdf8904bc6f6067953cc | // Copyright 2019 The Oppia Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | TypeScript | extensions/interactions/MultipleChoiceInput/directives/oppia-short-response-multiple-choice-input.directive.ts | prasanna08/oppia | apache-2.0 | 1,919 | 51 | codeparrot/github-code |
8528919c95a44a649bdd7011d4054320816168b2449fa12b1f8b3acb5c33dee7 | /*
* Copyright 2018 StreamSets 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... | Java | jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/parser/sql/ParseUtil.java | kunickiaj/datacollector | apache-2.0 | 6,429 | 190 | codeparrot/github-code |
9f7c48ffa891197dac55e6a0c87593bd1fff63aaf3b87ea8f7eeb5440b4a68a7 | //===--- ManagedValue.cpp - Value with cleanup ----------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | C++ | lib/SILGen/ManagedValue.cpp | ben-ng/swift | apache-2.0 | 3,770 | 107 | codeparrot/github-code |
9f7b79eba9576bc6d8bbf52ed6d07ff577a3e8c72750efde849ae2e146718b60 | package com.namelessdev.mpdroid.fragments;
import android.app.Activity;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
import android.content.res.TypedArray;
import android.graphics... | Java | MPDroid/src/com/namelessdev/mpdroid/fragments/NowPlayingFragment.java | philchand/mpdroid-2014 | apache-2.0 | 39,189 | 1,001 | codeparrot/github-code |
45ae75653da4892f6560d1d94fdc979e31f4fa1b37378540604dde9b9954e6df | package galaxyspace.systems.SolarSystem.moons.enceladus.dimension.sky;
import org.lwjgl.opengl.GL11;
import asmodeuscore.api.dimension.IAdvancedSpace.StarColor;
import asmodeuscore.core.astronomy.sky.SkyProviderBase;
import galaxyspace.GalaxySpace;
import micdoodle8.mods.galacticraft.api.vector.Vector3;
import micdoo... | Java | src/main/java/galaxyspace/systems/SolarSystem/moons/enceladus/dimension/sky/SkyProviderEnceladus.java | BlesseNtumble/GalaxySpace | apache-2.0 | 5,721 | 153 | codeparrot/github-code |
650b54fc66abd9e488db4478098ced1f60d17e53332b26ef96515612e618cba4 | /*
* This file is part of "lunisolar-magma".
*
* (C) Copyright 2014-2022 Lunisolar (http://lunisolar.eu/).
*
* 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.o... | Java | magma-func-supp/src/main/java/eu/lunisolar/magma/func/supp/traits/UniMapDblTrait.java | lunisolar/magma | apache-2.0 | 3,423 | 82 | codeparrot/github-code |
f957fa5ff1e3479deea76ac7fd42f096275c67fc333365429ee1f4407e7706de | #include "DetectorConstruction.hh"
#include "DetectorMessenger.hh"
#include "G4Material.hh"
#include "G4NistManager.hh"
#include "Materials.hh"
#include "G4Box.hh"
#include "G4LogicalVolume.hh"
#include "G4PVPlacement.hh"
#include "G4UniformMagField.hh"
#include "G4GeometryManager.hh"
#include "G4PhysicalVolumeStore.... | C++ | RangeSim/src/DetectorConstruction.cc | murffer/DetectorSim | apache-2.0 | 2,915 | 114 | codeparrot/github-code |
ec37fd1ab1658f3e1178ff30458668bc19d49e9b4bc2ee68114bf52579f9dcf6 | #include "AtpSettings.h"
#include <QDebug>
#include <QApplication>
#include <QFileInfo>
#include <QStandardPaths>
#include <QDir>
QVariantMap AtpSettings::cache;
QMap<QString, QSettings *> AtpSettings::mySettings;
QString AtpSettings::getAppId() {
QString ret = qApp->applicationName();
ret.replace(QRegExp("[^a-zA-... | C++ | src/AtpCore/AtpSettings.cpp | arsinte-andrei/electricity | apache-2.0 | 4,128 | 140 | codeparrot/github-code |
00d9b6fc738108ae8ef90d8922be0bef93275b77cbd7d9702b89fdaeb277194e | package com.github.davidmoten.ar;
import static org.junit.Assert.assertEquals;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.List;
import javax.imageio.ImageIO;
import org.junit.Test;
import rx.functions.Act... | Java | src/test/java/com/github/davidmoten/ar/AudioTest.java | davidmoten/audio-recognition | apache-2.0 | 5,638 | 213 | codeparrot/github-code |
094d3ae7bd41e0624074776e01cb9286c2cd8b0f0ba450f2b351dec9e2130b5b | /*
* 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 | trunk/ipojo/manipulator/manipulator/src/test/java/org/apache/felix/ipojo/manipulator/store/builder/DefaultManifestBuilderTestCase.java | boneman1231/org.apache.felix | apache-2.0 | 4,037 | 98 | codeparrot/github-code |
4fa05e97efb5c7e3f3c7373f5df96ceaab2b6a53162d524771d14eede1e111b6 | /*
* Aeronica's mxTune MOD
* Copyright 2019, Paul Boese a.k.a. Aeronica
*
* 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/main/java/net/aeronica/mods/mxtune/gui/hud/GuiJamOverlay.java | Aeronica/mxTune | apache-2.0 | 27,285 | 663 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.