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 |
|---|---|---|---|---|---|---|---|---|
476fea3c7823fc638a6a51909e228651cc3c1066c1b8c71c0b05d58b92d7f1ca | @*
* Copyright 2021 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... | HTML | app/iht/views/application/iht_kickout_application.scala.html | hmrc/iht-frontend | apache-2.0 | 4,185 | 90 | codeparrot/github-code |
e335c4b545136beaabd474ce505f93285fbc71d6bab1246b1223681f0b56230b | package org.nd4j.linalg.api.ops.impl.transforms.custom;
import org.nd4j.autodiff.samediff.SDVariable;
import org.nd4j.autodiff.samediff.SameDiff;
import org.nd4j.base.Preconditions;
import org.nd4j.linalg.api.buffer.DataType;
import org.nd4j.linalg.api.ndarray.INDArray;
import org.nd4j.linalg.api.ops.DynamicCustomOp;
... | Java | nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/transforms/custom/FakeQuantWithMinMaxVars.java | RobAltena/deeplearning4j | apache-2.0 | 3,062 | 86 | codeparrot/github-code |
b083b38bbd479d67d98481e2a8cbd232562550e7812e93bad99f909170915d3a | /**
* @license
* Copyright 2020 Google LLC. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | TypeScript | tfjs-backend-webgl/src/kernels/Reshape.ts | tensorflow/tfjs | apache-2.0 | 2,116 | 60 | codeparrot/github-code |
212207f4889cdb9a52e620c1245b0264ecc30474edcec422f6e92d261f0668c4 | /*
* 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 | hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientSpi.java | ChetnaChaudhari/hadoop | apache-2.0 | 3,772 | 130 | codeparrot/github-code |
6ea5eba98e4d34f40d2d2962ace515a2cf3324cbd893bf820ba4b8e683e1b3fe | /**
* Copyright 2015 Alexander Erhard
*
* 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 | src/main/java/de/badw/strauss/glyphpicker/model/DataSourceList.java | richard-strauss-werke/glyphpicker | apache-2.0 | 3,199 | 135 | codeparrot/github-code |
4efeca2bd716f351116d7554c1a853ac06959141702e321760165a1deffde0c8 | /*
Copyright 2019 The Kubernetes 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 in writing, ... | GO | protokube/cmd/protokube/main.go | justinsb/kops | apache-2.0 | 11,852 | 391 | codeparrot/github-code |
97f0a0ba746a7dc1cb82159ea264f932247af355bd71089be8469d66cc346a5a | /*
* Copyright 2011 Oleg Elifantiev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | Java | src/ru/elifantiev/yandex/oauth/OAuthActivity.java | Olegas/YandexAPI | apache-2.0 | 4,910 | 130 | codeparrot/github-code |
6190817b2135cc260f1d4aa9b826149ce6f942c52a9b906966640f9d6755359e | import { connect } from 'react-redux'
import { increment, doubleAsync,callApiAsync } from '../modules/Login'
/* This is a container component. Notice it does not contain any JSX,
nor does it import React. This component is **only** responsible for
wiring in the actions and state necessary to render a presenta... | JavaScript | src/components/login/controllers/LoginController.js | vio-lets/Larkyo-Client | apache-2.0 | 1,549 | 41 | codeparrot/github-code |
13a1bb2522a15c0b093069d3123585790e2a31b3bda57aac79eb3a16a5e45652 | /*
* Copyright 2014-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/android/MultipleResourcePackageIntegrationTest.java | shs96c/buck | apache-2.0 | 2,897 | 74 | codeparrot/github-code |
78f9f79c6c23b15089ea6ebcea7d781439f61a1cee2c405e63ce58b41d7b90a2 | local mod_name = (...):match ( "^(.*)%..-$" )
local misc = require ( mod_name .. ".misc" )
local attachpairs_start = misc.attachpairs_start
local setmetatable = setmetatable
local pcall = pcall
local colmt = require ( mod_name .. ".colmt" )
local gridfs = require ( mod_name .. ".gridfs" )
local dbmethods = { }
loca... | Lua | framework/resty/mongol/dbmt.lua | mobilesolution2016/reeme | apache-2.0 | 6,059 | 204 | codeparrot/github-code |
c574579ce41a271c41f1c1cfd53b8a5c0ccddbe1fef5fe613f04149dd119c6cd | /*
* Copyright 2006-2007 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 | src/main/java/org/openspaces/admin/gsa/ElasticServiceManagerOptions.java | Gigaspaces/xap-openspaces | apache-2.0 | 3,376 | 98 | codeparrot/github-code |
1f28b84f0e8e0e75984f09f774e5b31f846dd6785513c8c5e06c4c2b39ab1bf3 | # Copyright 2016 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | Python | gcloud/bigtable/row_data.py | elibixby/gcloud-python | apache-2.0 | 15,589 | 443 | codeparrot/github-code |
e1ddf1d3217f7db13a8db025529ea2e15a5c685c08577d0bc00232eeb67696a8 | /*
* Copyright 2012 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | C++ | gazebo/gui/MainWindow.cc | thomas-moulard/gazebo-deb | apache-2.0 | 43,348 | 1,440 | codeparrot/github-code |
595d8dcda1f3d815434a5bad36c6053012f4d1ef7e88da4b748ac63f4dbc2639 | package se.tmeit.app.model;
import com.google.auto.value.AutoValue;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
/**
* Model object for attendees of an external event.
*/
@AutoValue
public abstract class ExternalEventAtten... | Java | app/src/main/java/se/tmeit/app/model/ExternalEventAttendee.java | wsv-accidis/tmeit-android | apache-2.0 | 2,147 | 84 | codeparrot/github-code |
afbc89067ccfbda30491ba85dbbf4022071200b6411013141e449fe3be482492 | <?php
namespace WonderPush\Obj;
if (count(get_included_files()) === 1) { http_response_code(403); exit(); } // Prevent direct access
/**
* DTO part for `installation.device`.
* @see Installation
* @codeCoverageIgnore
*/
class InstallationDevice extends BaseObject {
/** @var string */
private $id;
/** @var... | PHP | lib/Obj/InstallationDevice.php | wonderpush/wonderpush-php-lib | apache-2.0 | 4,063 | 214 | codeparrot/github-code |
42416c6d17e863dcd773e90b4a085c65d18556254534eb29b73c2aa5df0e9d3f | # Copyright 2015 The Meson development 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 applicable law or agreed to ... | Python | modules/gnome.py | evgenyz/meson | apache-2.0 | 10,923 | 241 | codeparrot/github-code |
e62f78f6f919b5b09e0781d0f292ce3baa049146b8bf6f92a39dd6d6c329298d | /* 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 under the L... | Java | inference-engine/src/test/java/com/github/thorbenlindhauer/inference/GaussianModelInferencerTest.java | ThorbenLindhauer/graphical-models | apache-2.0 | 5,129 | 125 | codeparrot/github-code |
d4e8b49f9ad0bc9c14c8f28b238acab24c4a53508f54c3f73e60dfc45a6389c8 | /*
* Copyright © 2021 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | Java | delta-app/src/main/java/io/cdap/delta/store/DBReplicationOffsetStore.java | data-integrations/delta | apache-2.0 | 4,396 | 111 | codeparrot/github-code |
70dea4f1216364a61fbd56ffcd193e3b0692e3a37ac9f1c5f3877ffe8da09cf1 | use rocket_contrib::Template;
use rocket::State;
use model::{AuthUser, Basket};
use context::Context;
use db::Db;
#[get("/<username>/<basket>", rank = 10)]
pub fn index(
username: &str,
basket: &str,
auth_user: Option<AuthUser>,
db: State<Db>,
) -> Option<Template> {
handler(username, basket, aut... | Rust | src/routes/basket.rs | LukasKalbertodt/basgit | apache-2.0 | 2,095 | 85 | codeparrot/github-code |
9a89cd9f87e999578f6989e044ffce0efe9ef81fc25f2583ed77dc278e67029f | /*-
* Copyright (C) 2013-2014 The JBromo Authors.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, ... | Java | jbromo-lib/src/test/java/org/jbromo/common/test/common/EnumTestUtil.java | qjafcunuas/jbromo | apache-2.0 | 2,245 | 63 | codeparrot/github-code |
491e332119292fb0475c64afb868392fe66a565247834ff0454ab7e8a457d87c | /******************************************************************************
* Copyright 2018 The Apollo 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
... | C++ | modules/perception/fusion/lib/data_association/hm_data_association/track_object_distance.cc | wanglei828/apollo | apache-2.0 | 33,912 | 783 | codeparrot/github-code |
12716dfc8ed599db4abb7dcf651737bfe53ff361056a2f59637657f39252d3b5 | ---
type: post101
title: Paging Support
categories: XAP101NET
parent: querying-the-space.html
weight: 600
---
{{% ssummary %}}{{% /ssummary %}}
The [ISpaceIterator]({{%api-dotnetdoc%}}/T_GigaSpaces_Core_ISpaceIterator_1.htm) with the [SpaceIteratorConfig]({{%api-dotnetdoc%}}/T_GigaSpaces_Core_SpaceIteratorConfig.htm... | Markdown | sites/xap-docs/content/xap101net/query-paging-support.markdown | croffler/documentation | apache-2.0 | 6,089 | 96 | codeparrot/github-code |
071e09e522f6b5e662337749154a8c74635b5db4434d7c3e9dfabef7d9c7ddd4 | package io.skysail.server.app.um.db.users.resources;
import io.skysail.api.links.Link;
import io.skysail.api.responses.SkysailResponse;
import io.skysail.server.app.um.db.UmApplication;
import io.skysail.server.app.um.db.domain.User;
import io.skysail.server.restlet.resources.EntityServerResource;
import java.util.Li... | Java | skysail.server.app.um.db/src/io/skysail/server/app/um/db/users/resources/UserResource.java | evandor/skysail-framework | apache-2.0 | 972 | 37 | codeparrot/github-code |
a313b5f0954fc6401bac17c2932f3889c23f12033ca138df38a47bb4d54dd923 | package com.hss01248.myvolleyplus.wrapper;
import android.text.TextUtils;
import android.util.Log;
import com.hss01248.myvolleyplus.config.BaseNetBean;
import com.hss01248.myvolleyplus.config.ConfigInfo;
import com.hss01248.myvolleyplus.config.NetConfig;
import com.hss01248.myvolleyplus.retrofit.MyRetrofitUti... | Java | app/src/main/java/com/hss01248/myvolleyplus/wrapper/CommonHelper.java | glassLake/MyVolleyPlus | apache-2.0 | 11,971 | 367 | codeparrot/github-code |
ce46cba1983354e4f946921683371e42de3a662e6157fe83549c2f36f51c7f3c | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | Java | aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/transform/CreateUploadResultJsonUnmarshaller.java | dump247/aws-sdk-java | apache-2.0 | 2,813 | 81 | codeparrot/github-code |
d6ba31c8e52473df56ed3b4be0584f6c0b493e6f13b59593df2369f9d34cf772 |
from muntjac.ui.vertical_layout import VerticalLayout
from muntjac.ui.menu_bar import MenuBar, ICommand
from muntjac.terminal.external_resource import ExternalResource
class MenuBarItemStylesExample(VerticalLayout):
def __init__(self):
super(MenuBarItemStylesExample, self).__init__()
self._menu... | Python | muntjac/demo/sampler/features/menubar/MenuBarItemStylesExample.py | rwl/muntjac | apache-2.0 | 2,645 | 81 | codeparrot/github-code |
8d1e12e1643987fa401ed1d48b0539ff3d4bc8a5a06a359ae06939ee7176b819 | //
// Pack API
//
//
// Copyright (C) 2016 Peter Niekamp
//
#pragma once
#include "api.h"
#include "documentapi.h"
#include <fstream>
#if defined(PACKPLUGIN)
# define PACKPLUGIN_EXPORT Q_DECL_EXPORT
#else
# define PACKPLUGIN_EXPORT Q_DECL_IMPORT
#endif
namespace Studio
{
struct PackerState
{
uint32_t id;
... | C | src/plugins/pack/packapi.h | pniekamp/datum-studio | apache-2.0 | 1,002 | 53 | codeparrot/github-code |
f51e1f069b32480449bd29dd405f3450beb50ec245e879b4f2b814d23dd17a61 | 'use strict';
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope... | JavaScript | scripts/com.r2studio.LineageM/index.js | r2-studio/robotmon-scripts | apache-2.0 | 50,947 | 1,522 | codeparrot/github-code |
ce685e34b103d16887e83db5f5b278ebe494d7095c1dfdb994473e2638350d30 | /*
* Copyright 2016 Alireza Eskandarpour Shoferi
*
* 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 | library/src/main/java/io/github/meness/easyintro/EasyIntro.java | meNESS/EasyIntro | apache-2.0 | 9,883 | 314 | codeparrot/github-code |
0c341b64d2b65cee8fc0fa09af166454b77686744cff1f98cd5cd3a627b509bb | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | modules/core/src/main/java/org/apache/ignite/internal/portable/streams/PortableMemoryAllocatorChunk.java | apacheignite/ignite | apache-2.0 | 3,228 | 118 | codeparrot/github-code |
f49f1f957419e4a9ab3035a1ef94f2467ed99da9daeb94c8395f2fc8f80a2692 | package org.cobu.randomsamplers;
import org.apache.commons.math3.ml.clustering.CentroidCluster;
import org.apache.commons.math3.ml.clustering.DoublePoint;
import org.apache.commons.math3.ml.distance.EuclideanDistance;
import org.junit.Assert;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
impo... | Java | src/test/java/org/cobu/randomsamplers/KMeansSamplerTest.java | COBUAnalytics/libRandom | apache-2.0 | 5,663 | 144 | codeparrot/github-code |
398b0826f93d7c4782f97075c6dd911b198a35f483b5d7341b71f9b5b162f778 | using Messaging.Interfaces.Common;
using Messaging.Interfaces.Popup;
using Splat;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Windows.ApplicationModel.Core;
using Windows.Foundation;
using Windows.UI.Core;
using Windows.UI.Popups;
#if WINDOWS_PHONE_APP
us... | C# | Ets.Mobile/Modules/Messaging/Implementations/Messaging.UniversalApp/Popup/PopupManager.cs | ApplETS/ETSMobile-WindowsPlatforms | apache-2.0 | 5,882 | 167 | codeparrot/github-code |
e69e570ee90311a52b3ac0febc8939eaa31ff1a3e2d8e9efe91197b132aa02ef | var CLIENT_ID = '';
var CLIENT_SECRET = '';
var OWNER = "";
var REPO = "";
/**
* Manage Form Answer
* Create a trigger by going to Resources > Current projet's triggers
* Select function manageAnswer() and create a trigger at form submission
*/
function manageAnswer(e) {
var form = e.source;
var rep = {
"... | JavaScript | anonymous-issues-github/Code.js | St3ph-fr/my-apps-script-utils | apache-2.0 | 3,674 | 132 | codeparrot/github-code |
cc9640ae13f56686f4098c7215a61fcaea6d6251ce281d3e31423b18e5bb34a4 | package com.linkedin.automation;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class PeopleY... | Java | linkedin-java/src/main/java/com/linkedin/automation/PeopleYouMayKnow.java | sanlingdd/personalLinkedProfilesIn | apache-2.0 | 2,421 | 82 | codeparrot/github-code |
f736f2e301f3c4952f3fa6d92432a91b908c1cb696552aaf75d083c9a89e6599 | package net.digitalbebop.pulsefilemodule
import java.io.{FileInputStream, File}
import java.nio.file.attribute.FileOwnerAttributeView
import java.nio.file.{Paths, Files}
import java.util.UUID
import com.google.protobuf.ByteString
import com.itextpdf.text.pdf.PdfReader
import com.itextpdf.text.pdf.parser.PdfTextExtrac... | Scala | src/main/scala/net/digitalbebop/pulsefilemodule/Extractor.scala | JDrit/PulseFileModule | apache-2.0 | 2,378 | 62 | codeparrot/github-code |
7ed3feba05af5f0bd4503edb20591f3b8da2ad62794ccdbd7e824a62c76f779b | package handlers
import (
"net/http"
"strconv"
log "github.com/sirupsen/logrus"
"github.com/codedellemc/rexray/libstorage/api/types"
)
// queryParamsHandler is an HTTP filter for injecting the store with query
// parameters
type queryParamsHandler struct {
handler types.APIFunc
}
func (h *queryParamsHandler) ... | GO | libstorage/api/server/handlers/handlers_query_params.go | oppodeldoc/rexray | apache-2.0 | 1,397 | 66 | codeparrot/github-code |
0e48133490dc50483a87b16d820a3520cea934790a74d3442b5f5fd8710de2e2 | package helpers.db.filter.column;
import org.apache.commons.lang.StringUtils;
import java.util.ArrayList;
import java.util.List;
/**
* Filter on a disjunction of string matches.
* Instead of filtering on "column ~= filter", filters on (columns[0] ~= filter or ... or columns[n - 1] ~= filter).
*
* @author jtremea... | Java | app/helpers/db/filter/column/OrStringFilterColumn.java | sismics/play-nativedb | apache-2.0 | 1,101 | 38 | codeparrot/github-code |
555d5cbfe694eb9242880c4a9d9672f7123ae907f062173b061ec0e0e6171f22 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Web.UI;
namespace LTAF.Engine
{
internal class SystemWebExtensionsWrapper
{
private bool _methodsInitialized;
private readonly object _reflectionLock;
private IAs... | C# | src/LTAF/Engine/SystemWebExtensionsWrapper.cs | OakRaven/ltaf | apache-2.0 | 3,983 | 108 | codeparrot/github-code |
1cb5125a0d6e0a3254d7edbf2584842364c476809f690f3c4d31b9442eb17a3f | package main
import (
"log"
"github.com/xitongsys/parquet-go-source/local"
"github.com/xitongsys/parquet-go/parquet"
"github.com/xitongsys/parquet-go/reader"
"github.com/xitongsys/parquet-go/writer"
)
type NameString string
type AgeInt int32
type Student struct {
Name NameString `parquet:"name=name, type=BYTE... | GO | example/type_alias.go | xitongsys/parquet-go | apache-2.0 | 1,684 | 77 | codeparrot/github-code |
e9fbbbb25dbd2d7c0ecd83ca6dd0d205e9bb879e14eaef947f8f304bb522cc90 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.ServiceBus.Messaging;
using System.IO;
using System.Configuration;
using System.Threading;
using Danvy.Azure;
namespace DecoderJob
{
class Program
{
static bool quit = fa... | C# | src/StorageJob/Program.cs | danvy/sigfox | apache-2.0 | 2,506 | 69 | codeparrot/github-code |
13b12b1684b0a8b1eda0b43102cc1acd0ddb922e12b5ea03bacc42f2aba2bb22 | /*
* Waltz - Enterprise Architecture
* Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project
* See README.md for more information
*
* 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 ... | Java | waltz-data/src/main/java/com/khartec/waltz/data/complexity/ConnectionComplexityDao.java | kamransaleem/waltz | apache-2.0 | 5,062 | 135 | codeparrot/github-code |
44587e1561f358cbb682c3fa6dc4afae9390250f58a0071a36bfd691569abed2 | /*
Copyright (c) 2019 the Octant contributors. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package component
import (
"fmt"
"github.com/vmware-tanzu/octant/internal/util/json"
)
// Error is a component for freetext
//
// +octant:component
type Error struct {
Base
Config ErrorConfig `json:"config... | GO | pkg/view/component/error.go | vmware/octant | apache-2.0 | 1,262 | 64 | codeparrot/github-code |
a88ff4e8507111318de9e0f062c1f1850b9c4bf794d071676e8e4ff783c93187 | <!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>"src/exchanges/ccxt/index" | GDAX Trading Toolkit API Reference</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-s... | HTML | docs/apiref/modules/_src_exchanges_ccxt_index_.html | tianyangj/gdax-tt | apache-2.0 | 60,467 | 944 | codeparrot/github-code |
6568252ea0b3dcf283c5fdb0c4a0880b7eeb85623493ba551340d9b6524a94fc | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
namespace HETSAPI.Models
{
/// <summary>
/// User Model Extension
/// </summary>
public static class UserModelExtensions
{
/// <summary>
/// Convert User to ClaimsPrincipal
/// ... | C# | Server/src/HETSAPI/Authorization/UserModelExtensions.cs | swcurran/hets | apache-2.0 | 3,075 | 91 | codeparrot/github-code |
082fc2d576e0641510910de41c631e1a1e67c53be7a25a7b47797070c1d76f5b | //===--- RefactoringOperationState.h - Serializable operation state -------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C | include/clang/Tooling/Refactor/RefactoringOperationState.h | apple/swift-clang | apache-2.0 | 2,308 | 67 | codeparrot/github-code |
4ec0b897549fa1b6066f40c317972797cbd830fa493c0023d8e765c44532de7c | package com.miloshpetrov.sol2.common;
import com.badlogic.gdx.graphics.Color;
public class SolColorUtil {
public static void fromHSB(float hue, float saturation, float brightness, float a, Color dest) {
float r = 0, g = 0, b = 0;
if (saturation == 0) {
r = g = b = brightness;
} else {
float ... | Java | main/src/com/miloshpetrov/sol2/common/SolColorUtil.java | Cervator/DestinationSol | apache-2.0 | 3,119 | 127 | codeparrot/github-code |
23cdc3c84ac7e4fe79a3f18e2dab1b429bc1f31aeabfca0464d41c9236e24e34 | package com.wodejia.myapp.data.contacts;
import java.io.Serializable;
/**
* Created by clarence on 16/9/2.
*/
public class ContactsMenuDO implements Serializable {
private int key;
private String value;
private String title;
public int getKey() {
return key;
}
public void setKey(i... | Java | app/src/main/java/com/wodejia/myapp/data/contacts/ContactsMenuDO.java | clarenceV1/MyApp | apache-2.0 | 634 | 38 | codeparrot/github-code |
e5bcb26b0bd75cbcfd51ff4f709c709130446ec0dd055d8d4081f7f51b827c6f | /*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package scc
import (
"errors"
"fmt"
"github.com/hyperledger/fabric/common/flogging"
"github.com/hyperledger/fabric/common/util"
"github.com/hyperledger/fabric/core/chaincode/shim"
"github.com/hyperledger/fabric/core/common/ccpr... | GO | core/scc/sysccapi.go | xixuejia/fabric | apache-2.0 | 6,802 | 212 | codeparrot/github-code |
e120b141d73c567cdbf151c65fca48cfae993e84d7c073f82bd3e2172aeca1df | /*******
Copyright 2015 NeuroBASE,Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | Java | src/com/echopf/ECHODate.java | echopfcom/ECHO-Android-SDK | apache-2.0 | 1,956 | 78 | codeparrot/github-code |
23bdcab4c6a627bae3c8f42464bb103f6ca31323c56e7bbb38d945354b88f952 | #!/bin/bash
set -e
# Updates the version for all droolsjbpm repositories
initializeScriptDir() {
# Go to the script directory
cd `dirname $0`
# If the file itself is a symbolic link (ignoring parent directory links), then follow that link recursively
# Note that scriptDir=`pwd -P` does not do that and... | Shell | script/release/update-version-all.sh | wmedvede/droolsjbpm-build-bootstrap | apache-2.0 | 5,899 | 156 | codeparrot/github-code |
fc6e7db74d23723693056e7aa1a046e9137c80a6411d50c1aac0be709b4e494a | /*
Copyright 2014 Dániel Sólyom
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 | FrameworkV4/frameworkv4/src/main/java/ds/framework/v4/widget/LaizyImageFlipAnimationLayout.java | DSolyom/AndroidDSFramework | apache-2.0 | 6,586 | 294 | codeparrot/github-code |
15afca78fde5c3137027ee8a6a9da8cbbdd63607685b70bf622c331b61497053 | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Java | platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/XExpressionImpl.java | ernestp/consulo | apache-2.0 | 3,535 | 111 | codeparrot/github-code |
27f5ec710ee619f2350ed1ddbd8f96f787409c1f68a30d4539afe9f924798fd7 | <?php
/**
* $Header: /home/rpm/cvs/Comercial/propel/Log/file.php,v 1.1 2007/01/03 20:10:14 rpm Exp $
*
* @version $Revision: 1.1 $
* @package Log
*/
/**
* The Log_file class is a concrete implementation of the Log abstract
* class that logs messages to a text file.
*
* @author Jon Parise <jon@ph... | PHP | propel/Log/file.php | rodrigoprestesmachado/whiteboard | apache-2.0 | 9,393 | 313 | codeparrot/github-code |
49cc0cd0a4e8461638933c0eed823dd78a99ba8fa576a03569131ae7751a9b60 | /*
* Copyright (C) 2013 salesforce.com, 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 ... | Java | aura-impl/src/main/java/org/auraframework/impl/system/DefinitionImpl.java | badlogicmanpreet/aura | apache-2.0 | 11,852 | 378 | codeparrot/github-code |
e31ad30e1d324ce5ec4425df92b6b4ded8ba66e9d73506b95a11d56f48f06d7f | package com.planet_ink.fakedb;
import java.io.InputStream;
import java.io.Reader;
import java.sql.NClob;
import java.sql.RowId;
import java.sql.SQLException;
import java.sql.SQLXML;
import java.util.Map;
/*
Copyright 2001 Thomas Neumann
Licensed under the Apache License, Version 2.0 (the "License")... | Java | com/planet_ink/fakedb/ResultSet.java | robjcaskey/Unofficial-Coffee-Mud-Upstream | apache-2.0 | 30,543 | 602 | codeparrot/github-code |
d57a814550bb01494b3499b2cc61858886005aa6f628c252edc6939ea6f0f042 | /**
* #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
* This file is part of the Smart Developer Hub Project:
* http://www.smartdeveloperhub.org/
*
* Center for Open Middleware
* http://www.centeropenmiddleware.com/
* #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | Java | frontend/src/test/java/org/smartdeveloperhub/harvesters/scm/frontend/core/util/AbstractCappedContainerHandlerTestHelper.java | SmartDeveloperHub/sdh-scm-harvester | apache-2.0 | 4,942 | 128 | codeparrot/github-code |
c276d369a2f205f4ea6b770fcb8e9ff93555c6c875aff2a1e0676b69975ddbcf | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | C++ | aws-cpp-sdk-elasticache/source/model/DescribeReplicationGroupsResult.cpp | JoyIfBam5/aws-sdk-cpp | apache-2.0 | 2,622 | 76 | codeparrot/github-code |
6dc8559651f8c68f33ae0781cb56bcb3fb9d74772cb1010806768a9495cd50f8 | /*
* Copyright 2002-2008 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 | src/org/springframework/beans/TypeMismatchException.java | cbeams-archive/spring-framework-2.5.x | apache-2.0 | 3,697 | 113 | codeparrot/github-code |
479cf6b9750921674400e92b12cf741cfb3dd106e1c6f2d4f909a2d6fffd7984 | /*
* Copyright 2012 The Kuali Foundation.
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by applic... | Java | af_webapp/src/main/java/org/kuali/kfs/sys/businessobject/format/ExplicitKualiDecimalFormatter.java | Ariah-Group/Finance | apache-2.0 | 1,889 | 53 | codeparrot/github-code |
d3ee33d86909c8ec0194d972b069fecbb17808418ea5013f97c67eeb355f7781 | package eu.darken.myolib.processor.classifier;
import eu.darken.myolib.processor.BaseDataPacket;
import eu.darken.myolib.tools.ByteHelper;
public class WarmUpResultClassifierEvent extends ClassifierEvent {
/**
* Possible warm-up results for Myo.
*/
public enum WarmUpResult {
UNKNOWN((byte) 0... | Java | myolib/src/main/java/eu/darken/myolib/processor/classifier/WarmUpResultClassifierEvent.java | d4rken/myolib | apache-2.0 | 1,487 | 49 | codeparrot/github-code |
cbc284762ee60553ac4e78c4d73587f727992b24d3cce92af549d0983aaec901 | # frozen_string_literal: true
require 'select2-rails'
require 'nest'
require 'redis-namespace'
require 'mailboxer'
require 'carrierwave'
require 'rails_autolink'
require 'font-awesome-rails'
require 'tinymce-rails'
require 'blacklight'
require 'blacklight/gallery'
require 'iiif_manifest'
require 'noid-rails'
require 'h... | Ruby | lib/hyrax.rb | samvera/hyrax | apache-2.0 | 3,563 | 144 | codeparrot/github-code |
404ae9e6ead51f29f1728d7eaaf1d618eba1e49bb375da8cf595ce30545da443 | package org.aisen.download;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import org.aisen.download.core.DownloadInfo;
import org.aisen.download.utils.Constants;
import org.aisen.download.utils.DLogger;
import java.util.Vector;
/**
* 用于刷新UI
*
* Created by wangdan on 16/6/14.
*/... | Java | downloader/src/main/java/org/aisen/download/DownloadController.java | wangdan/DownloadManager | apache-2.0 | 2,145 | 86 | codeparrot/github-code |
f360ed37080b69973bdf5b3d9f9b1aa02d7083180daf72a1b143858c6b2f7fd5 | /*
* 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... | Java | src/main/java/com/ricemap/spateDB/core/RTree.java | t0nyren/spatedb | apache-2.0 | 57,963 | 1,944 | codeparrot/github-code |
f7d07fe9605a7d3a6ced78380062b422d45170fbfc6beaa2351601e61a292898 | /*
* Copyright 2016 Greg Whitaker
*
* 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 | catnap-springboot/src/main/java/com/github/gregwhitaker/catnap/springboot/annotation/EnableCatnap.java | gregwhitaker/catnap | apache-2.0 | 1,203 | 35 | codeparrot/github-code |
910ee3decb6527469cc14b1a4957725e99e4f5903ecdf4918578bd31ba10d11c | #
# Copyright (c) 2021 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | Python | scripts/tools/memory/memdf/util/pretty.py | project-chip/connectedhomeip | apache-2.0 | 957 | 36 | codeparrot/github-code |
41a8bf0989b7ced9f56feead3b231ed58f02165270d1fad4e38a7d70a70e84c7 | package pl.dzielins42.dmtools.generator.religion;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import pl.dzielins42.dmtools.model.enumeration.Alignment;
import pl.dzielins42.dmtools.model.enumeration.Gender;
import pl.dzielins42.dmtools.model.religion.Deity;
import pl.dzielins42.dmtools... | Java | src/main/java/pl/dzielins42/dmtools/generator/religion/BasicPantheonGenerator.java | dzielins42/urban-bear | apache-2.0 | 5,109 | 123 | codeparrot/github-code |
03470b3c454a4dac9284005b2d0ccefc5458c6a40e0e9f9490f799090b69024d | /**
* Copyright (c) 2005-2011 Juan F. Codagnone <http://juan.zaubersoftware.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | Java | iolsucker/src/test/java/ar/com/leak/iolsucker/view/common/FSRepositoryTest.java | jcodagnone/jiolsucker | apache-2.0 | 8,278 | 220 | codeparrot/github-code |
756e78cfac04c36e6aeb59a2d78457ad173a9e1f01687fd8054abac4408257ef | package jp.co.thcomp.bluetoothhelper;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Arrays;
public class BleReceiveDataProvider extends BleDataProvider {
public static final int AddPacketResultSuccess = -1;
public sta... | Java | app/src/main/java/jp/co/thcomp/bluetoothhelper/BleReceiveDataProvider.java | thcomp/Android_BluetoothHelper | apache-2.0 | 7,087 | 173 | codeparrot/github-code |
06351b2342985ebc7a0624b90390d2c371de5d486e8fdc1aa41252c03080fcc2 | // Copyright (c) 2017, Baidu.com, 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 applic... | C++ | be/src/rpc/reactor_factory.cpp | lingbin/palo | apache-2.0 | 2,061 | 70 | codeparrot/github-code |
0624ec9a46af9a3bcb3973df013a3568c6735f1a0c10fbe2e3856998c1710fef | /*
* 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 | packages/wbsairback-tomcat/wbsairback-tomcat-7.0.22/test/org/apache/el/TestMethodExpressionImpl.java | WhiteBearSolutions/WBSAirback | apache-2.0 | 15,575 | 403 | codeparrot/github-code |
2f593e7a84059cc45cebc56ae159e79b8cdb01e4a37e84cc8ab8f68a3ff5cb9e | /*
* Copyright 2021 Solace Corporation. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | Java | src/main/java/com/solace/samples/java/snippets/HowToConsumeDirectMessage.java | SolaceSamples/solace-samples-java | apache-2.0 | 11,744 | 325 | codeparrot/github-code |
3c74d8817745620a949914165c3cb4fcde991df4031ca027c8c4189f00a4aa94 | import {Component} from '@angular/core';
import * as $ from "jquery"
import {downgradeComponent} from '@angular/upgrade/static';
import {NotificationService} from "../../core/services/notification.service";
import {AgentService} from "../../core/services/agent.service";
declare var angular:any
@Component({
select... | TypeScript | src/app/administration/scheduler/scheduler.component.ts | orientechnologies/orientdb-studio | apache-2.0 | 804 | 41 | codeparrot/github-code |
5b5a7566dd230ac70f862c095b4d797beb11b2b14e8e0f7812e49553019e0688 | /**
* Copyright (c) 2008-2011, http://www.snakeyaml.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | Java | src/test/java/org/yaml/snakeyaml/util/UriEncoderTest.java | AssafMashiah/assafmashiah-yaml | apache-2.0 | 1,780 | 53 | codeparrot/github-code |
232a1138223c835395a02ea4514afa7e6443e6e398a6e38067ee416eead316d8 | /*
* Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... | Java | enterprise/src/main/java/com/orientechnologies/orient/enterprise/channel/binary/OAsynchChannelServiceThread.java | delebash/orientdb-parent | apache-2.0 | 2,656 | 79 | codeparrot/github-code |
d13f9691c128ed27459560285af37e6c3d1dcec2951c6e8756e32ddbd9ec515a | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#ifndef __IFMAP_STATE_MACHINE_H__
#define __IFMAP_STATE_MACHINE_H__
#include <boost/asio/deadline_timer.hpp>
#include <boost/statechart/state_machine.hpp>
#include "base/queue_task.h"
namespace sc = boost::statechart;
class IFMapChannel;
clas... | C | src/ifmap/client/ifmap_state_machine.h | sysbot/contrail-controller | apache-2.0 | 4,843 | 149 | codeparrot/github-code |
5176454d68ea009525e3d1d09379b0ac8ce856915af1cd179d1bbc94d5369dcb | import Future = require("fibers/future");
import { AddPlatformCommand } from "./add-platform";
export class BuildCommandBase {
constructor(protected $options: IOptions,
private $platformService: IPlatformService) { }
executeCore(args: string[], buildConfig?: IBuildConfig): IFuture<void> {
return (() => {
let... | TypeScript | lib/commands/build.ts | tsvetie/nativescript-cli | apache-2.0 | 3,172 | 92 | codeparrot/github-code |
4e1d379ac336f988db5a3337128ad765e67256d361eed3946d052b5a73ab1dee | <?php
/************************************************************************/
/* ATutor */
/************************************************************************/
/* Copyright (c) 2002-2010 */
/* Inclusive Design Institute ... | PHP | ATutor/new_mods/_standard/forums/admin/forum_add.php | CaviereFabien/Test | apache-2.0 | 2,711 | 79 | codeparrot/github-code |
ed6d29fd54c6fa08a057f33d9683e628e5c7a48bf182638ed5002e317e9b9c23 | package project2.jdbc.bean;
import org.json.JSONObject;
public class OrderSingleBean {
private int qty;
private double unit_price;
private int movie_id;
private String title;
public int getQty() {
return qty;
}
public void setQty(int qty) {
this.qty = qty;
}
public double getUnit_pri... | Java | project2/src/main/java/project2/jdbc/bean/OrderSingleBean.java | CS122B-CWP/cs122b | apache-2.0 | 1,033 | 57 | codeparrot/github-code |
b1db714ba8d1d5869d8ca619a9dcc0c40116c6994478bcd4306be70af96b4779 | /*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... | Java | core/src/main/java/com/graphhopper/util/gpx/GpxFromInstructions.java | don-philipe/graphhopper | apache-2.0 | 10,232 | 216 | codeparrot/github-code |
9967b30ca55667dce0c6757c8550193e94520e703db59902205af3a5647ac7b3 | /*
Copyright 2011-2012 StormMQ 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 ... | C | src/LibAmqp/Transport/LowLevel/EventLoop.c | libamqp/libamqp | apache-2.0 | 2,000 | 59 | codeparrot/github-code |
3275424a1ceb3a7f8666cc692654229995ed85511744f8162706c5a8c82f8b70 | // 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... | C# | lang/cs/Org.Apache.REEF.Client/YARN/RESTClient/FileSystemJobResourceUploader.cs | dafrista/incubator-reef | apache-2.0 | 5,167 | 115 | codeparrot/github-code |
ddf1a5e2647a030d6dceb007f74e590d274d4e99ae188e564f812787b84615e0 | package org.wildfly.swarm.webservices.runtime;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import org.wildfly.swarm.container.Interface;
import org.wildfly.swarm.spi.api.Customizer;
import org.wildfly.swarm.spi.runtime.annotations.Post;
import org.wildfly.swarm.webservices.WebServic... | Java | fractions/javaee/webservices/src/main/java/org/wildfly/swarm/webservices/runtime/WSDLHostCustomizer.java | christian-posta/wildfly-swarm | apache-2.0 | 693 | 31 | codeparrot/github-code |
f042a1acdc1082b4f842c034b391407642714ef50a26467153e8f5f7da1ddde8 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkComboBoxText</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
<link rel... | HTML | host/gui/GTK+/share/gtk-doc/html/gtk3/GtkComboBoxText.html | jonnyniv/boost_converter | apache-2.0 | 32,739 | 519 | codeparrot/github-code |
40c088045890c1a1da41717768788e00713e3d9a1b782df470f014c020c87654 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Scala | sql/core/src/main/scala/org/apache/spark/sql/columnar/ColumnBuilder.scala | tophua/spark1.52 | apache-2.0 | 6,282 | 180 | codeparrot/github-code |
6b311fd946e5001dbd7a734d973004b97e87f03946a4f21c43e386191094d775 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | C | Modules/ThirdParty/HDF5/src/itkhdf5/src/H5FApkg.h | vfonov/ITK | apache-2.0 | 15,577 | 311 | codeparrot/github-code |
e0e314e65458ec9008cb3aa7720dc15bf9ff538b702e680c1eb2da82effac8ba | package com.thilinamb.mqtt.client.sub;
import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken;
import org.eclipse.paho.client.mqttv3.MqttCallback;
import org.eclipse.paho.client.mqttv3.MqttMessage;
import java.util.logging.Logger;
/**
* Subscriber callback
* Author: Thilina
* Date: 7/19/14
*/
public class Subs... | Java | src/main/java/com/thilinamb/mqtt/client/sub/SubscriberCallback.java | thilinamb/mqtt-client-example | apache-2.0 | 882 | 33 | codeparrot/github-code |
18bde376745de815393a01d30e7519e4c8385b9d2c96e7f1742633f7e5dfa633 | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.math.matrix;
import java.util.Arrays;
import org.apache.commons.lang.Validate;
/**
* A minimal implementation of a vector (in the mathematical sen... | Java | projects/analytics/src/main/java/com/opengamma/analytics/math/matrix/DoubleMatrix1D.java | McLeodMoores/starling | apache-2.0 | 3,045 | 131 | codeparrot/github-code |
adfcbccdddd559a804f3dee7655ddb9f5b3e30a1ec3a2aa2abc8dc4175c4484e | /*****************************************************************************
* *
* This file is part of the tna framework distribution. *
* Documentation and updates may be get from biaoping.yin the author of *
* ... | Java | bboss-persistent/src/com/frameworkset/common/poolman/sql/PrimaryKeyCache.java | shufudong/bboss | apache-2.0 | 5,253 | 174 | codeparrot/github-code |
7a123516694aa8685dc42ec78c53ffacfdf6a203ad3c503af52432844ea52c72 | /**
* Copyright (C) 2013 Julian Atienza Herrero <j.atienza at har.mrc.ac.uk>
*
* MEDICAL RESEARCH COUNCIL UK MRC
*
* Harwell Mammalian Genetics Unit
*
* http://www.har.mrc.ac.uk
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the Licens... | Java | exportlibrary.xmlvalidationresourcescollection/src/test/java/org/mousephenotype/dcc/exportlibrary/xmlvalidationresourcescollection/impress/utils/InstantiatorTest.java | mpi2/exportlibrary | apache-2.0 | 3,784 | 101 | codeparrot/github-code |
5de0eaf661b48c52908d8f1c8c50d4cc4253aa807108c38a68b104be879d9d9c | #
# Copyright 2019 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Perl | cloud/aws/ec2/mode/network.pm | Sims24/centreon-plugins | apache-2.0 | 13,379 | 298 | codeparrot/github-code |
0ceda5d32cacfce7c66a1651a922f9d98a3f909a8a5da2f40b1b67fb04dff00a | package edu.colostate.cs.storm.util;
import java.util.HashSet;
import java.util.Set;
/**
* Author: Thilina
* Date: 12/6/14
*/
public class OutlierTracker {
private Set<String> completeSet = new HashSet<String>();
private Set<String> outlierSet = new HashSet<String>();
public void addMember(String key)... | Java | src/main/java/edu/colostate/cs/storm/util/OutlierTracker.java | thilinamb/debs14-grand-challenge | apache-2.0 | 810 | 38 | codeparrot/github-code |
e9e7f17c6ed1c71333b873fb9adb56894e4751d9d0ecd5626b33415bb4cc1830 | /**
* 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 | jena-arq/src/main/java/org/apache/jena/riot/system/StreamRDFLib.java | CesarPantoja/jena | apache-2.0 | 7,950 | 214 | codeparrot/github-code |
3725424fd586a96c971065d817a20588ae4763ded3c7ad66d6e8bcffb9d3de51 | /*
* Copyright (C) 2012-2015 DataStax 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 app... | Java | driver-core/src/test/java/com/datastax/driver/core/PreparedStatementTest.java | mike-tr-adamson/java-driver | apache-2.0 | 19,674 | 477 | codeparrot/github-code |
83cdc78a80ff921db115a25bcfc9c6112f13a7196484d5c3b3f926b6d1eb5826 | import sys
import cv2
import helper as hp
class MSP():
name = "MSP"
def __init__(self):
self.__patterns_num = []
self.__patterns_sym = []
self.__labels_num = []
self.__labels_sym = []
msp_num, msp_sym = "msp/num", "msp/sym"
self.__load_num_patterns(msp_num)
... | Python | msp.py | capital-boss/plate-recognition | apache-2.0 | 1,393 | 43 | codeparrot/github-code |
82941fa5fec5a4c867ef3dcd43ace1479d8011d30b024cb8e5ffd783f019de42 | /**
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in ... | Java | notification-portlet-webapp/src/main/java/org/jasig/portlet/notice/service/jpa/action/CompleteOnRedirectAction.java | is-apps/NotificationPortlet | apache-2.0 | 2,861 | 74 | codeparrot/github-code |
d435c3a1031c4f1a81ebcafe7b79f6579480629459a71a40fe6c9c98dc2a7137 | /**
* Copyright 2008-2017 Qualogy Solutions B.V.
*
* 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... | Java | qafe-business/src/test/java/test/com/qualogy/qafe/business/integration/adapter/DummyPersonMoreComplexObject.java | qafedev/qafe-platform | apache-2.0 | 1,065 | 37 | codeparrot/github-code |
04ce83f96303620f0bae0d6a98abc5a5e2de6a32e68ca26a8fd33ae7f6e0dcc3 | /******************************************************************************
* Copyright 2017 The Apollo 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
... | C++ | modules/perception/obstacle/lidar/roi_filter/hdmap_roi_filter/polygon_mask.cc | startcode/apollo | apache-2.0 | 4,510 | 111 | codeparrot/github-code |
849ed775d682c269dcc158ff5b931074a30f54c8237e52eedff1500e9c48ecf1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {PostOptions} from '@support/ui/component';
import {isAndroid} from '@support/utils';
class EditPostScreen {
testID = {
editPostScreen: 'edit_post.screen',
closeEditPostButton: 'c... | JavaScript | detox/e2e/support/ui/screen/edit_post.js | mattermost/mattermost-mobile | apache-2.0 | 1,454 | 50 | codeparrot/github-code |
80632e0d0e680342f2b618a20281236c06d5aff203a10b04e5322c032d19564d | // <copyright file="Error.cs" company="Stormpath, Inc.">
// Copyright (c) 2016 Stormpath, 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/L... | C# | src/Stormpath.Owin.Middleware/Internal/QueryStringParser.cs | stormpath/stormpath-dotnet-owin-middleware | apache-2.0 | 2,180 | 67 | codeparrot/github-code |
beb12a7544fd6886feaa590ceaf71bff6dc56c0e61e652d3556310e7a9d926eb | /*!
* ${copyright}
*/
sap.ui.define([
"sap/base/Log",
"sap/ui/model/odata/v4/lib/_GroupLock"
], function (Log, _GroupLock) {
"use strict";
//*********************************************************************************************
QUnit.module("sap.ui.model.odata.v4.lib._GroupLock", {
beforeEach : functio... | JavaScript | src/sap.ui.core/test/sap/ui/core/qunit/odata/v4/lib/_GroupLock.qunit.js | SAP/openui5 | apache-2.0 | 7,157 | 201 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.