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 |
|---|---|---|---|---|---|---|---|---|
65a913b85e2a8a30bd99d0fb611d3b9a8f312680a6e4936ec8179dab90a13110 | /* $Id: HopFilterManager.java 988245 2010-08-23 18:39:35Z kwright $ */
/**
* 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 Yo... | Java | framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/HopFilterManager.java | gladyscarrizales/manifoldcf | apache-2.0 | 8,021 | 244 | codeparrot/github-code |
35ac453e56768230eb91b16a85981eb6d1b1d838ccf523e5806837b97c6b3f35 | /*
* 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 | log4j-1.2-api/src/test/java/org/apache/log4j/util/LineNumberFilter.java | apache/logging-log4j2 | apache-2.0 | 1,310 | 37 | codeparrot/github-code |
6da61353d40952882af15d23dd1384c7dbd7b8481c20ab10cbc9685b6c672478 | """The ReCollect Waste integration."""
from __future__ import annotations
from datetime import date, timedelta
from aiorecollect.client import Client, PickupEvent
from aiorecollect.errors import RecollectError
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform
from homeassi... | Python | homeassistant/components/recollect_waste/__init__.py | home-assistant/home-assistant | apache-2.0 | 2,425 | 72 | codeparrot/github-code |
baf216f4a939794052f4c66364ca29b4938b93d694f971a146cd11ca9ec477d4 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | server/src/main/java/org/elasticsearch/common/unit/ByteSizeUnit.java | EvilMcJerkface/crate | apache-2.0 | 6,846 | 287 | codeparrot/github-code |
67259de282c6561356e2543a4a090eb10e5bbf94a8d25f06c7f9a1f1f031899f | /**
* 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 m... | JavaScript | rave-demo-gadgets/src/main/webapp/friendsWrapper.js | kidaa/rave | apache-2.0 | 4,255 | 91 | codeparrot/github-code |
f47958015c84a4c7e7748e7a9aa020eaf436f99772e4c22493ddc39f7fb1de2b | /* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2015 Ingo Herbote
* http://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* dist... | C# | yafsrc/YetAnotherForum.NET/Modules/BBCode/Attach.cs | mexxanit/YAFNET | apache-2.0 | 6,078 | 151 | codeparrot/github-code |
58383bc7237c591ec8a1a656514aabb3eb38aa8e8ebb96da0e2562a4903dd1e2 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java | components/camel-spring/src/test/java/org/apache/camel/component/bean/AutowireConstructorRouteTest.java | onders86/camel | apache-2.0 | 1,776 | 46 | codeparrot/github-code |
2b4a226aecfc0f948a0c313caf0e9ab9bc9e477bb42bb3b15a5333680f4f5ab2 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | src/org/apache/pig/newplan/logical/rules/ColumnPruneVisitor.java | dmeister/pig-cll-gz | apache-2.0 | 20,333 | 476 | codeparrot/github-code |
fb6bc8233061f49466f30c58b2deb4986c94e489c222d057897caa9c0f212133 | /*
* Copyright (c) 2018 Jan Van Winkel <jan.van_winkel@dxplore.eu>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr.h>
#include <lvgl.h>
#include "lvgl_color.h"
#if CONFIG_LVGL_BITS_PER_PIXEL == 1
static void zephyr_disp_flush(s32_t x1, s32_t y1, s32_t x2, s32_t y2,
const lv_color_t *color_p)
{
u16... | C | lib/gui/lvgl/lvgl_color_1.c | ldts/zephyr | apache-2.0 | 2,131 | 113 | codeparrot/github-code |
2d96b6be6bcb9893e8f612449fea7a330ed5b2f50924f42de5eed5176798ea67 | /**
* Copyright 2015 ParStream GmbH
*
* 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 | decoder/src/test/java/com/parstream/adaptor/avro/test/ArrayTest.java | parstream/parstream-avro | apache-2.0 | 17,043 | 375 | codeparrot/github-code |
da3bc7b053b9149ade2848a218ab9442b9e2fce286e885d750a5a8834b562288 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | components/camel-milo/src/test/java/org/apache/camel/component/milo/server/ServerLocalTest.java | Fabryprog/camel | apache-2.0 | 2,912 | 94 | codeparrot/github-code |
ac2b65c33e58fe87bb6511dbce94c3d2843e11d92a73a6006561fc4d3f89f735 | #!/bin/bash
# SDKMAN! with Travis
# https://objectcomputing.com/news/2019/01/07/sdkman-travis
set -eEuo pipefail
[ -z "${__source_guard_37F50E39_A075_4E05_A3A0_8939EF62D836:+dummy}" ] || return 0
__source_guard_37F50E39_A075_4E05_A3A0_8939EF62D836="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
# shellcheck source=... | Shell | scripts/prepare-jdk.sh | alibaba/multi-thread-context | apache-2.0 | 3,001 | 95 | codeparrot/github-code |
bbfdfeb7b38f3d3ff262d187fd69a8a8768fb92085c493647fdacccab2acf6a2 | /*
* 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 | streaming/src/test/java/org/apache/spark/streaming/JavaAPISuite.java | practice-vishnoi/dev-spark-1 | apache-2.0 | 78,820 | 1,929 | codeparrot/github-code |
90e5c45309ab99705a9a1706fe724bc7eba5bc93c3e1a6786e8253fb0de8d63b | /*
* 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 | gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/util/DefaultGraphManagerTest.java | jorgebay/tinkerpop | apache-2.0 | 5,854 | 137 | codeparrot/github-code |
e9bb474c3e687a6bf43864b6a1a113a25b6e0563f97ca57c17d107e1833f66d6 | # n peg hanoi tower problem, use bfs instead of dfs, and don't have a full
# analytical solution
import sys
import copy
def solutionWorks(currentSolution, stacksAfterSolution, initialStacks, finalStacks):
for x in range(len(currentSolution)):
i, j = currentSolution[x]
stacksAfterSolution[j].append... | Python | pegs.py | baiyubin/python_practice | apache-2.0 | 2,445 | 79 | codeparrot/github-code |
4f87c5b5a4215f210c54ea160ccdd4112b63953f96c5227d4da8ba5f37d63e88 | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Java | core/server/worker/src/main/java/alluxio/worker/block/evictor/AbstractEvictor.java | jswudi/alluxio | apache-2.0 | 9,007 | 213 | codeparrot/github-code |
d3333140c545563e3616f8660e9d6b2f95ae0e2b44d943b90ce3e361def1f00b | /**
* @file
* Provides JavaScript additions to the managed file field type.
*
* This file provides progress bar support (if available), popup windows for
* file previews, and disabling of other file fields during Ajax uploads (which
* prevents separate file fields from accidentally uploading files).
*/
(functio... | JavaScript | www/core/modules/file/file.js | nickopris/musicapp | apache-2.0 | 7,305 | 191 | codeparrot/github-code |
f9c21ebe083ddd5ccba06007d1e014bbde6e9ea066dd5369a7b0700df9974864 | /*
* Copyright 2014-2016 CyberVision, 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 o... | Java | server/common/dao/src/test/java/org/kaaproject/kaa/server/common/dao/service/ConfigurationServiceImplTest.java | forGGe/kaa | apache-2.0 | 19,793 | 385 | codeparrot/github-code |
c536d8701faecbd1c77d3046851b1246b42d4b07bc32a44ac7488c491a4d4bda | /**
* WARNING! THIS FILE IS AUTOMATICALLY GENERATED! DO NOT MODIFY IT!
* Generated on Fri Feb 26 16:36:10 CST 2016
*/
package org.cloudfoundry.autoscaler.api.nls;
public class APIServerMessages_fr extends java.util.ListResourceBundle
{
public Object[][] getContents() {
return resources;
}
private... | Java | api/src/main/java/org/cloudfoundry/autoscaler/api/nls/APIServerMessages_fr.java | cfibmers/open-Autoscaler | apache-2.0 | 4,681 | 46 | codeparrot/github-code |
09870b0682cce6943c603ede649768009c6ee38bb4ca7aff4fe3d7efc8f3c1ba | /**
* \file RMF/internal/SharedData.h
* \brief Handle read/write of Model data from/to files.
*
* Copyright 2007-2022 IMP Inventors. All rights reserved.
*
*/
#ifndef RMF_INTERNAL_IO_H
#define RMF_INTERNAL_IO_H
#include <boost/shared_ptr.hpp>
#include <string>
#include "RMF/BufferConstHandle.h"
#include "RM... | C | src/backend/IO.h | salilab/rmf | apache-2.0 | 1,833 | 73 | codeparrot/github-code |
83f2f1216679fafb65fc9dfb9f098a398b32d2ebf517ddf9572fbdf8696a8231 | /*
* 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 | milton2/milton-server-ce/src/main/java/io/milton/http/fs/SimpleLockManager.java | skoulouzis/lobcder | apache-2.0 | 5,398 | 151 | codeparrot/github-code |
9ffd50fb65d32f32b6d2c245dc21b6fd8a7f38a5826b421a3510aeed568be23b | ##############################################################################
#
# Copyright (C) 2013 Contributor
#
# 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... | Perl | lib/perl5/IPS/Package.pm | quattor/pkgtree | apache-2.0 | 7,343 | 273 | codeparrot/github-code |
46514333c85df3d7e70001c9aedfeea5547651a05f61985d30439782b96a33d2 | var Event = {
addListener: function (obj, event, listener, scope) {
if (obj) {
if (typeof obj.__listeners == "undefined") {
obj.__listeners = new Object();
}
if (typeof obj.__listeners[event] == "undefined") {
obj.__listeners[event] = new ... | JavaScript | src/main/webapp/client/0.2/event.js | donniet/livegame | apache-2.0 | 3,158 | 84 | codeparrot/github-code |
00ee282b118bf2653a6d57b259d9e5d4cf0bb70d2712b4aea16c59700945710c | #ifndef BIG_NUMHELPER_H
#define BIG_NUMHELPER_H
/* -*-C++-*-
*****************************************************************************
*
* File: BigNumHelper.h
* Description: Definition of class BigNumHelper
* Created: 03/29/99
* Language: C++
*
*
// @@@ START COPYRIGHT @@@
//
// Licensed ... | C | core/sql/common/BigNumHelper.h | apache/incubator-trafodion | apache-2.0 | 9,406 | 225 | codeparrot/github-code |
15a30881ce14c92b282711e32e83ee1c5cba6153ca2cf522544011a8a6ec9192 | package org.nibiru.ui.ios.widget;
import org.nibiru.ui.core.api.Popup;
import org.nibiru.ui.core.api.Viewport;
import org.nibiru.ui.core.impl.BasePopup;
import javax.inject.Inject;
import apple.uikit.UIView;
public class IOSPopup extends BasePopup<Overlay, UIView> implements Popup {
@Inject
public IOSPopup... | Java | org.nibiru.ui.ios/src/main/java/org/nibiru/ui/ios/widget/IOSPopup.java | NibiruOS/ui | apache-2.0 | 1,155 | 53 | codeparrot/github-code |
7ea0e5723cf35d586ea23e147547bc185faff2d47464d901c01ec5d5a5151436 | /*
* Copyright 2000-2015 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/diff-impl/src/com/intellij/diff/tools/simple/SimpleDiffViewer.java | TangHao1987/intellij-community | apache-2.0 | 28,600 | 910 | codeparrot/github-code |
402bab29487fbb68214d4e57a17fd77c0c6cbfebd7b98b8e542d943aab0bf0be | #include <iostream>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <string>
#include <stdexcept>
#include <vector>
#include <list>
#include <algorithm>
#include <math.h>
#include <assert.h>
#include <time.h>
#include <pthread.h>
#include <stdlib.h>
#include "string_utils.h"
#include "seq_contig.h"
... | C++ | QuEST/src/collapse_reads.cpp | verdurin/biobench2 | apache-2.0 | 15,129 | 529 | codeparrot/github-code |
6487007ccf35d5dbe039f9b437025d160d9ff184774f78d241c9e80db97dde36 | /*
Copyright 2014 The Kubernetes 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 applicable law or ag... | GO | pkg/api/validation/events.go | yangxiangyu/kubernetes | apache-2.0 | 1,319 | 37 | codeparrot/github-code |
0467c715851dd1dbadc8d15e96b4c385f9d9f4202ae5086556b57f11220bbfb5 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | samza-core/src/main/java/org/apache/samza/table/batching/AsyncBatchingTable.java | apache/samza | apache-2.0 | 6,955 | 189 | codeparrot/github-code |
ed10230c3439ccddf351ef25f8596f63bebc33521585e63a2254740e10ad5f05 | {% extends "base.html" %}
{% load static from staticfiles %}
{% block add_css %}
<link rel="stylesheet" href="{% static "chosen-bootstrap/chosen.bootstrap.min.css" %}">
{% endblock %}
{% block add_styles %}
.chosen-container {
width: 70% !important;
}
{% endblock %}
{% block content %}
<div class="well">
... | HTML | external/django-DefectDojo-1.2.1/dojo/templates/dojo/import_scan_results.html | wso2/security-tools | apache-2.0 | 3,914 | 79 | codeparrot/github-code |
b6f82f15bba86d4cb7de25916548bde669b565ef57a3006c4f0e6afef7bf36db | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.diff.tools.fragmented;
import com.intellij.diff.DiffContext;
import com.intellij.diff.actions.AllLinesIterator;
import com.intellij.diff.actions.BufferedLine... | Java | platform/diff-impl/src/com/intellij/diff/tools/fragmented/UnifiedDiffViewer.java | goodwinnk/intellij-community | apache-2.0 | 47,029 | 1,309 | codeparrot/github-code |
c84bd785dab0d3458fd51c244f413c99eedc2e0dd8bc4df9fc6d6f58855d52de | /*
* Copyright 2016 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | C | FXAudio/FXAudio/FXAudio/webRTC/webrtc/pc/rtcstatscollector.h | WymanLyu/WYDemo | apache-2.0 | 8,083 | 198 | codeparrot/github-code |
05b35ddc29bfcc28da187be44770cbe07949405f323ab4990f5104512d3d96c3 | """Support for Switchbot bot."""
from __future__ import annotations
import logging
from typing import Any
from switchbot import Switchbot # pylint: disable=import-error
import voluptuous as vol
from homeassistant.components.switch import (
DEVICE_CLASS_SWITCH,
PLATFORM_SCHEMA,
SwitchEntity,
)
from homea... | Python | homeassistant/components/switchbot/switch.py | aronsky/home-assistant | apache-2.0 | 5,033 | 163 | codeparrot/github-code |
d2bd690e2ada5500ab677455b96aea946d4856422603eda5e931a98f3f8ddff0 | /*
* Copyright 2012-2013 inBloom, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | C# | InBloomClient/InBloomClient/Entities/Cohort.cs | teamMnM/slc-student-grouping-tool | apache-2.0 | 2,822 | 77 | codeparrot/github-code |
a3b824a945fd0ab82f4b25b77c0c16a313e3ec79266e28c7394e818eb175fec9 | // 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 | plugins/network-elements/elastic-loadbalancer/src/com/cloud/network/lb/dao/ElasticLbVmMapDao.java | argv0/cloudstack | apache-2.0 | 1,527 | 38 | codeparrot/github-code |
222c36df7dfead443e1bf3830c2c0db49decba511583457df95f8a0b3c5456b5 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | solr/core/src/java/org/apache/solr/handler/PingRequestHandler.java | pengzong1111/solr4 | apache-2.0 | 10,590 | 302 | codeparrot/github-code |
773ee9d9f22ea07d72f332ce75413c3c79100f0847f4648a47e80b0116e7b63d | /*
* 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")... | Java | kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/replay/ReplayCacheImpl.java | lucastheisen/apache-directory-server | apache-2.0 | 7,871 | 263 | codeparrot/github-code |
7d9defb11fdf0f0157cb0d0776a703d933e1084401078ba608455811b095a662 | """Support for Zigbee switches."""
import voluptuous as vol
from homeassistant.components.switch import SwitchDevice
from homeassistant.components.zigbee import (
ZigBeeDigitalOut, ZigBeeDigitalOutConfig, PLATFORM_SCHEMA)
DEPENDENCIES = ['zigbee']
CONF_ON_STATE = 'on_state'
DEFAULT_ON_STATE = 'high'
DEPENDENCIE... | Python | homeassistant/components/zigbee/switch.py | HydrelioxGitHub/home-assistant | apache-2.0 | 765 | 31 | codeparrot/github-code |
dd5e85e13f493f671531816ff382d990aa8a70cc8e002fb922fdf3f4735998f3 | // Copyright 2011 Avi Levi
// 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... | C# | ByContext/ModelBinders/DefaultModelBinderFactory.cs | Avi-Levi/ByContext | apache-2.0 | 1,033 | 30 | codeparrot/github-code |
fc498019e78adc7420b1ff4f37601937c65baa85595077bf1b647b21f36d0d55 | # -*- coding: utf-8 -*-
# compute the times of action(rec|click|msg) for each user
from math import sqrt
def getActionScore(action):
if action == "rec":
return 0
elif action == "click" :
return 1
else:
return 2
def compute_interaction(data):
interaction = {}
for line in data:
... | Python | 世纪佳缘会员推荐之投票加权/compute_user_popularity.py | bingtianbaihua/MachineLearning | apache-2.0 | 2,399 | 99 | codeparrot/github-code |
70e3c8658bfa878706351d36f399e3963529fb751e29621a7aa5cb8f7d384fe9 | <?php
/**
* User: zach
* Date: 5/6/13
* Time: 11:00 PM
*/
namespace Elasticsearch\Connections;
use Elasticsearch\Common\Exceptions\Curl\CouldNotConnectToHost;
use Elasticsearch\Common\Exceptions\Curl\CouldNotResolveHostException;
use Elasticsearch\Common\Exceptions\Curl\OperationTimeoutException;
use Elasticsearc... | PHP | src/Elasticsearch/Connections/AbstractConnection.php | eddiejaoude/elasticsearch-php | apache-2.0 | 8,055 | 325 | codeparrot/github-code |
8f28d198d02b251870c0e6ddf5ec25c715fbd48acbf93a342d4e8fbf1aae1cbc | package com.ccb.project.vo;
import java.sql.Date;
/**
* Created by han on 2015/6/29.
*/
public class planvo {
private String uid;
private String prjId;
private Date endDate;
public Date getBgnDate() {
return bgnDate;
}
public void setBgnDate(Date bgnDate) {
this.bgnDate ... | Java | jfinal-authority/src/main/java/com/ccb/project/vo/planvo.java | longjl/JFinal_Authority | apache-2.0 | 772 | 47 | codeparrot/github-code |
4b56d6d1d0f4d8a8434285d92f5ded05217edad48931a9fc2fc9d3f7ffae30df | /*
* 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# | lib/csharp/test/ThriftTest/TestServer.cs | rmhartog/thrift | apache-2.0 | 10,509 | 425 | codeparrot/github-code |
260535e450ab08d8755189b93d265fff2da33759b91aec39a2b93f9afd85e332 | // Copyright 2015 The LUCI 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... | GO | tumble/model_mutation.go | luci/luci-go | apache-2.0 | 8,301 | 265 | codeparrot/github-code |
1e4ca94088822c0a45104f5e275ee3aa68e0d0c5d061ebf55695000227c68dd2 | ////////////////////////////////////////////////////////////////////////////
// Module : data_storage_double_linked_list.h
// Created : 21.03.2002
// Modified : 26.02.2004
// Author : Dmitriy Iassenev
// Description : Double linked list data storage
////////////////////////////////////////////////////////////////... | C | code/utils/xrAI/data_storage_double_linked_list.h | Im-dex/xray-162 | apache-2.0 | 1,982 | 54 | codeparrot/github-code |
2a5bc3d8939d6c2830756e45f9de59b417c490b3a6bcaecff3a602ef3a2aa194 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>nshttpprofile module — Nitro documentation</... | HTML | doc/html/nssrc.com.citrix.netscaler.nitro.resource.config.ns.nshttpprofile.html | benfinke/ns_python | apache-2.0 | 56,407 | 632 | codeparrot/github-code |
7335a9825d2329b715064e3896633c555dd417e4198fe789bdf4145ba16f4f41 | /**
*
* Copyright 2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | modules/mail/src/java/org/apache/geronimo/mail/NullTransport.java | meetdestiny/geronimo-trader | apache-2.0 | 1,308 | 43 | codeparrot/github-code |
4722a66d80e97c3497a44c53fc9bc6f0e67aecf2a08e6adf3a349f0449703026 | package org.ovirt.engine.ui.uicommon.models.datacenters;
import java.util.Collections;
import org.ovirt.engine.core.compat.*;
import org.ovirt.engine.ui.uicompat.*;
import org.ovirt.engine.core.common.businessentities.*;
import org.ovirt.engine.core.common.vdscommands.*;
import org.ovirt.engine.core.common.queries.*;
i... | Java | frontend/webadmin/modules/uicommon/src/main/java/org/ovirt/engine/ui/uicommon/models/datacenters/DataCenterNetworkListModel.java | raksha-rao/gluster-ovirt | apache-2.0 | 17,841 | 592 | codeparrot/github-code |
c6071548feebf02c38879bee059259085e3a6f1cfe03993922a514c4ee85e616 | /*
* Copyright 2019 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | Java | test/test-utils/src/main/java/com/thoughtworks/go/mail/SysOutStreamConsumer.java | kierarad/gocd | apache-2.0 | 1,103 | 34 | codeparrot/github-code |
7709f6ce9d6764c8155e9c72da776762aca9049892a533c02ee14e013ee453b0 | /*
Copyright 2018-present the Material Components for iOS authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requ... | C | components/Cards/src/UICollectionViewController+MDCCardReordering.h | randallli/material-components-ios | apache-2.0 | 1,216 | 31 | codeparrot/github-code |
7a660f087eb553583bc4aab93a510dc905abd0d86c18720e8c00dc27665eff59 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | src/main/java/org/apache/commons/imaging/common/RationalNumber.java | apache/sanselan | apache-2.0 | 3,776 | 132 | codeparrot/github-code |
394352a9138e8ca1081b35b55158b58012494fc2bfbe4aa699405571a4964604 | package io.cattle.platform.host.service;
import io.cattle.platform.archaius.util.ArchaiusUtil;
import io.cattle.platform.core.dao.DataDao;
import io.cattle.platform.ssh.common.SshKeyGen;
import io.cattle.platform.token.CertSet;
import io.cattle.platform.token.impl.RSAKeyProvider;
import io.cattle.platform.token.impl.R... | Java | code/implementation/host-api/src/main/java/io/cattle/platform/host/service/HostApiRSAKeyProvider.java | vincent99/cattle | apache-2.0 | 4,380 | 141 | codeparrot/github-code |
c72c6628d76dda2a3deec14e6e4dc19f02db82703e665094d0cfb6f17338456a | package org.apache.logging.log4j.core.pattern;/*
* 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 lice... | Java | log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/HighlightConverterTest.java | apache/logging-log4j2 | apache-2.0 | 7,123 | 143 | codeparrot/github-code |
8a3bcc6a5e8547009e1b17c04645c4956a843022e5513907eb31894fc1808911 | /**
* Copyright 2015 Netflix, 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 i... | Java | hystrix-core/src/test/java/com/netflix/hystrix/CommonHystrixCommandTests.java | dmgcodevil/Hystrix | apache-2.0 | 39,912 | 802 | codeparrot/github-code |
42dc0fa0804b282237c265079f560465620f4ef24034f6ba6f464be315ccf8a8 | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C++ | tensorflow/contrib/lite/toco/graph_transformations/resolve_constant_fake_quant.cc | girving/tensorflow | apache-2.0 | 6,030 | 147 | codeparrot/github-code |
aaff12ba445cc03c13d82c6edcffff6c2c7ee63846130a395c95720ce176ac49 | /*
* Copyright 2013 MovingBlocks
*
* 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 | engine/src/main/java/org/terasology/logic/particles/BlockParticleEmitterSystem.java | CC4401-TeraCity/TeraCity | apache-2.0 | 15,781 | 400 | codeparrot/github-code |
e6ed846de7be1bdaafbc9bf1c52aaf7c890047c5e1ff732e5f475505763bb1c2 | package org.ovirt.engine.core.utils.ipa;
import static org.ovirt.engine.core.utils.kerberos.InstallerConstants.ERROR_PREFIX;
import javax.naming.NamingException;
import javax.naming.directory.Attributes;
import org.springframework.ldap.core.ContextMapper;
import org.springframework.ldap.core.DirContextAdapter;
publ... | Java | backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ipa/ITDSUserContextMapper.java | derekhiggins/ovirt-engine | apache-2.0 | 922 | 35 | codeparrot/github-code |
ceaffabf02fb7db751de8d0c267355744303056e169a69be66524c7f57b4bb02 | package com.hubspot.singularity.executor;
import static java.nio.charset.StandardCharsets.UTF_8;
import java.io.BufferedWriter;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Path;
import com.github.jknack.handlebars.Template;
import com.google.common.base.Throwables;
import com.google.inject.... | Java | SingularityExecutor/src/main/java/com/hubspot/singularity/executor/TemplateManager.java | andrhamm/Singularity | apache-2.0 | 3,350 | 80 | codeparrot/github-code |
20b35e2fa562f1d2060c63a2ab8c04ac134f7d1e338d084d067de564a8fa689e | /*
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
/*
*
*
*
*
*
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2011 INRIA, France Telecom
* All rights reserved.
*
* Redistribution and ... | Java | src/main/java/org/redkale/asm/MethodWriter.java | redkale/redkale | apache-2.0 | 88,118 | 2,403 | codeparrot/github-code |
6303b16f197bfe0cc8e07c96cadf937fbcf86ef369ff2e6dd49517be2a48748b | registerNpc(325, {
walk_speed = 0,
run_speed = 0,
scale = 170,
r_weapon = 0,
l_weapon = 0,
level = 79,
hp = 58,
attack = 322,
hit = 217,
def = 236,
res = 385,
avoid ... | Lua | scripts/mobs/ai/rune_stone.lua | dev-osrose/osIROSE-new | apache-2.0 | 1,059 | 53 | codeparrot/github-code |
f955f3dec784d134408dab3c57bf5e20495c9aaf1222f00a68c263a9cb125687 | /*=========================================================================
*
* Copyright RTK Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... | C | code/rtkRayBoxIntersectionFunction.h | dsarrut/RTK | apache-2.0 | 5,120 | 149 | codeparrot/github-code |
ed1d72056cd19ce8a51c9dac986ba3cb3779c47517b445f01258441be8f249f8 | /*
* Copyright 2002-2019 Drew Noakes and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | Java | Source/com/drew/metadata/exif/makernotes/LeicaMakernoteDirectory.java | drewnoakes/metadata-extractor | apache-2.0 | 3,940 | 109 | codeparrot/github-code |
eaba5d283ceb2f3db54d74393ca071c63150311a71744b3e097581e07584af11 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999-2004.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modificatio... | C | third_party/boringssl/src/crypto/pkcs8/p5_pbev2.c | anupcshan/bazel | apache-2.0 | 13,004 | 440 | codeparrot/github-code |
501c3b67074af0f8c1ac8f19bb39920c4a11044e0fe39007980e338e89f86834 | /*Copyright (C) 2017 Roland Hauser, <sourcepond@gmail.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
Unless required by applicable law or agree... | Java | fileobserver-impl/src/main/java/ch/sourcepond/io/fileobserver/impl/dispatch/DefaultDispatchKey.java | SourcePond/fileobserver-api | apache-2.0 | 1,911 | 68 | codeparrot/github-code |
3864706bb55a5fd5236dca4fd1456fc012812b8f924aa72dc791f7c74b76627d | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/timestream-write/... | C | aws-cpp-sdk-timestream-write/include/aws/timestream-write/model/RejectedRecordsException.h | jt70471/aws-sdk-cpp | apache-2.0 | 3,951 | 111 | codeparrot/github-code |
8d114e1a0129e107e83178c435047579166be3474dd3fd9d19951da5140d4b00 | package org.ayo.robot.canvas.shape;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.RectF;
import org.ayo.robot.BaseView;
public class RectView extends BaseView {
public RectView(Context context) {
super(context);
init();
... | Java | app/src/main/java/org/ayo/robot/canvas/shape/RectView.java | cowthan/UI-Robot | apache-2.0 | 2,075 | 90 | codeparrot/github-code |
7b34b71926fb950a2a1ac98d7813c6f1722270624f29a4dec7e1cb94c8831b1b | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Java | core/server/master/src/main/java/alluxio/master/file/options/LoadMetadataOptions.java | ShailShah/alluxio | apache-2.0 | 3,539 | 126 | codeparrot/github-code |
d0f788cd66d7f2b11162d8f5b85b931bd2908b91e3fedae07800328b4cb29b36 | //===--- CGCXXRTTI.cpp - Emit LLVM Code for C++ RTTI descriptors ----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | src/llvm/tools/clang/lib/CodeGen/CGRTTI.cpp | jeltz/rust-debian-package | apache-2.0 | 35,304 | 1,012 | codeparrot/github-code |
28d7e36a9cab714e7b4e82b5063f75cfb4b573c254d8ebddea6817c12654a617 | /*
* Copyright © 2014 TU Berlin (emma@dima.tu-berlin.de)
*
* 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 | emma-mitos/src/main/java/org/emmalanguage/mitos/operators/GroupBy0ReduceTupleIntDouble.java | emmalanguage/emma | apache-2.0 | 2,113 | 67 | codeparrot/github-code |
0a7d881a8e8a8707e38b35994bc902f01b2e30fada3880c187d5a4b12cffe61e | /*
* Copyright 2000-2015 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/lang-impl/src/com/intellij/openapi/projectRoots/impl/DependentSdkType.java | jk1/intellij-community | apache-2.0 | 3,053 | 91 | codeparrot/github-code |
3f8179c7e1ab9146b82ce75fec62e3520f4081462eb354ae99a2a7a75c01ea72 | <h1 id="fancyBox_-_Changelog">fancyBox - Changelog</h1><h3 id="Version_2-1-5_-_June_14,_2013">Version 2.1.5 - June 14, 2013</h3><ul>
<li>Fixed #493 - Broken slideshow</li>
<li>Fixed #556 - Parent option</li>
<li>Retina graphics (#564) and retina display support (#420)</li>
<li>Improved “lock” feature</li>
</ul>
<h3 id=... | HTML | vendors/fancybox/CHANGELOG.html | Hongchun/hongchun.github.io | apache-2.0 | 6,660 | 125 | codeparrot/github-code |
eb710554f15c84d2084e8d1522359b72d0da6197effdc1e0457439276a254bb2 | /*
* 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 | gobblin-runtime/src/main/java/gobblin/runtime/instance/StandardGobblinInstanceDriver.java | chavdar/gobblin-1 | apache-2.0 | 17,339 | 476 | codeparrot/github-code |
bb7251f59bbb26643b787f3b9116acfbc4a85c27ecef9dd52d21035a43e4a050 | /*
* 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/test/java/org/apache/spark/network/shuffle/TestShuffleDataContext.java | hengyicai/OnlineAggregationUCAS | apache-2.0 | 3,794 | 110 | codeparrot/github-code |
fdfe25649b79f8b4abc9dfefaf5ac0cc177554dc69d232b23466efa366a6084b | /* $NetBSD: startdaemon.c,v 1.15 2007/05/16 20:45:45 christos Exp $ */
/*
* Copyright (c) 1983, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | C | usr.sbin/lpr/common_source/startdaemon.c | execunix/vinos | apache-2.0 | 3,157 | 107 | codeparrot/github-code |
5e717df2caf4b4eb7b69c5bde28baddd750a920dc1a31d9731ab3d4816ca7e26 | /*
* Copyright (C) 2013 Spreadtrum Communications Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it w... | C | arch/arm/mach-sc/syssleep.c | TeamVee-Kanas/android_kernel_samsung_kanas | apache-2.0 | 1,939 | 61 | codeparrot/github-code |
3ba5b0c37005e8da100d155db320f8ebd4fac28ce3a849434a551cf554cdd24a | # Copyright 2014 Hewlett-Packard Development Company, L.P.
#
# Author: Endre Karlson <endre.karlson@hp.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/lice... | Python | designate/dnsutils.py | tonyli71/designate | apache-2.0 | 13,265 | 414 | codeparrot/github-code |
1417b107f91359c4ff3db53a33923014a679da27b9cc0b59953c6f9bce7ea6a5 | package com.cattong.sns.impl.renren;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.cattong.commons.LibException;
import com.cattong.commons.LibResultCode;
import com.catt... | Java | YiBoLibrary/src/com/cattong/sns/impl/renren/RenRenStatusAdapter.java | 0359xiaodong/YiBo | apache-2.0 | 2,034 | 67 | codeparrot/github-code |
7b18d3dabb345b5e7a5539b774ad5057fd647cc0696b5713681b1f725c0b50d0 | /*
* Copyright 2010-2013 Ning, Inc.
*
* Ning licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | payment/src/main/java/org/killbill/billing/payment/invoice/PaymentTagHandler.java | kares/killbill | apache-2.0 | 4,302 | 87 | codeparrot/github-code |
bf177524539a20b7f1dec814d6e8baa04145f958e319bacfb4f90c6945e0f899 | package org.jboss.resteasy.examples.oauth;
import javax.ws.rs.core.Application;
import java.util.HashSet;
import java.util.Set;
/**
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
* @version $Revision$
*/
public class OAuthApplication extends Application
{
HashSet<Object> singletons = new HashSe... | Java | jaxrs/examples/oauth1-examples/oauth/src/main/java/org/jboss/resteasy/examples/oauth/OAuthApplication.java | raphaelning/resteasy-client-android | apache-2.0 | 697 | 34 | codeparrot/github-code |
781b4173a16a5244745a0018eea638073370833e3102fd0e4d79ef5bf39c3232 | #region License
/*
* Copyright (c) Lightstreamer Srl
*
* 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... | C# | App.xaml.cs | Lightstreamer/Lightstreamer-example-StockList-client-winrt | apache-2.0 | 8,657 | 304 | codeparrot/github-code |
c2c8e1b12b8212e12f5e1e8d37ec25ed60c5c8c54960cdb40c57e5c0cc573ae5 | /*
* Copyright (c) 2013-2019 Metin Kale
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | Java | features/times/src/main/java/com/metinkale/prayer/times/gson/BooleanSerializer.java | metinkale38/prayer-times-android | apache-2.0 | 1,540 | 45 | codeparrot/github-code |
efa23847c44194b8ba7b05dd5473429581ed1559a6a4414ed5344487e0abe7dc | /**
* 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 | ambari-shell/ambari-groovy-shell/src/test/java/org/apache/ambari/shell/commands/ConfigCommandsTest.java | radicalbit/ambari | apache-2.0 | 3,539 | 99 | codeparrot/github-code |
5d7c22c1cd2330192f53b8a2638ad37ae4d427ebc749ee46c97a34f593df1500 | /**
* This file is part of Simple Scrobbler.
* <p>
* https://github.com/simple-last-fm-scrobbler/sls
* <p>
* Copyright 2011 Simple Scrobbler Team
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain ... | Java | app/src/main/java/com/adam/aslfms/util/enums/AdvancedOptions.java | tgwizard/sls | apache-2.0 | 4,334 | 127 | codeparrot/github-code |
72da477fdc63efa37a39b9aa6581d112f7f05f7581a61188c7f284ba325fbe9b | /**
* Copyright 2015 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | JavaScript | src/custom-element.js | adup-tech/amphtml | apache-2.0 | 58,872 | 1,916 | codeparrot/github-code |
30a77c3332217cc3526cd3581a9217d2f5302a2b83b3bd42598b6d51796c941e | // UserController for AngularJS
ecollabroApp.controller('userController', ['$scope', 'securityService', function ($scope, securityService) {
$scope.user = {};
$scope.activeRoles = [];
$scope.userId = 0;
//Method initialize
$scope.initialize = function (userId) {
$scope.userId = use... | JavaScript | eCollabro.Web/obj/Release/Package/PackageTmp/app/controllers/user/user.js | eCollobro/eCollabro | apache-2.0 | 5,847 | 155 | codeparrot/github-code |
a8b340bbbe9f1620483968096d1eb74d1b4d76e071e5052df1d5b007fb64978f | /*
* Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 | net4j/com.b2international.snowowl.eventbus/src/com/b2international/snowowl/internal/eventbus/net4j/HandlerChangeIndication.java | IHTSDO/snow-owl | apache-2.0 | 2,079 | 68 | codeparrot/github-code |
537fda9514b9fee5cc60991b3ef1dedfa76750c8c440d4a4c1038bf844cbf385 | registerNpc(992, {
walk_speed = 0,
run_speed = 0,
scale = 130,
r_weapon = 1073,
l_weapon = 0,
level = 30,
hp = 2000,
attack = 10,
hit = 10,
def = 300,
res = 300,
avoid ... | Lua | scripts/mobs/ai/christmas_tree.lua | RavenX8/osIROSE-new | apache-2.0 | 1,063 | 53 | codeparrot/github-code |
ee68e32f8ae0890ca821c00d920e3109a1aa7f5f6320ccab0f5a3cd121545b53 | package org.ovirt.engine.ui.common.widget;
import org.ovirt.engine.ui.common.widget.dialog.SimpleDialogButton;
import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ImageResource;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.g... | Java | frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/UiCommandButton.java | jbeecham/ovirt-engine | apache-2.0 | 1,364 | 53 | codeparrot/github-code |
9168ae3dffa9682f671c3a330e50057ef90abe57a6fe386083771526908bd2d2 | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:... | Java | backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/JglfwInput.java | lordjone/libgdx | apache-2.0 | 22,979 | 857 | codeparrot/github-code |
9b82f12f72822b5225dd31593ea9e5b3bf17420df0853097191347a5902e59f2 | /*
* 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-ecr/source/model/BatchCheckLayerAvailabilityResult.cpp | chiaming0914/awe-cpp-sdk | apache-2.0 | 1,961 | 63 | codeparrot/github-code |
b5992a8354f376e8d6a73d462878460a4feb8851e740f62d3ca4c12729ed292f | /**
* Copyright 2017 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 appl... | C# | ApiAiSDK/Util/ActionExtensions.cs | dialogflow/dialogflow-dotnet-client | apache-2.0 | 1,066 | 41 | codeparrot/github-code |
280120870626cbb0c4163a9f634998824c19c60cd1749d1236fa578573910162 | package edu.pdx.cs410J.dmitriev;
import edu.pdx.cs410J.AirlineParser;
import edu.pdx.cs410J.ParserException;
import javax.imageio.IIOException;
import java.io.*;
/**
* TextParser get the name of the file along with the name of the Airline being read.
* It supposed to correctly read the data about the Airline on a ... | Java | airline/src/main/java/edu/pdx/cs410J/dmitriev/TextParser.java | alexander94dmitriev/PortlandStateJavaSummer2017 | apache-2.0 | 5,551 | 165 | codeparrot/github-code |
b021d19de08508784af4dca49200558b3bb1ed6407f8130efff1a75f82b8dd36 | /*
* Copyright 2019 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | Java | server/src/main/java/com/thoughtworks/go/server/newsecurity/controllers/AuthenticationController.java | kierarad/gocd | apache-2.0 | 9,321 | 186 | codeparrot/github-code |
8bf4b3f3ba7722420c30fb7110ffc8835c74c59cb708c93cd999580ae035b393 | /*
// Licensed to DynamoBI Corporation (DynamoBI) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. DynamoBI licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may ... | Java | farrago/src/org/eigenbase/test/EigenbaseTestCase.java | LucidDB/luciddb | apache-2.0 | 8,833 | 301 | codeparrot/github-code |
c59428b3607486b6962b2ba608e5a057cfb65b016f7612edde03a1dbfc882a05 | /*
* 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 | plugins/pluto/geronimo-pluto/src/main/java/org/apache/geronimo/pluto/PortalStartupListener.java | apache/geronimo | apache-2.0 | 8,945 | 229 | codeparrot/github-code |
e81c2df2c497f53bfab195d8e7ecd06816f52e9e5959ebd82092cd615210e606 | /*
* Copyright 2021 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | TypeScript | server/src/main/webapp/WEB-INF/rails/webpack/models/new-environments/environment_agents.ts | GaneshSPatil/gocd | apache-2.0 | 1,713 | 60 | codeparrot/github-code |
becc486fb62f3806b3fee2c78eac4b08e3c1685b511ec0f79ac8f2f9e442278d | /*
* Copyright 2016 WSO2 Inc. (http://wso2.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 required by applicable l... | Java | components/org.wso2.carbon.metrics.core/src/test/java/org/wso2/carbon/metrics/core/MetricsMXBeanTest.java | wso2/carbon-metrics | apache-2.0 | 6,480 | 170 | codeparrot/github-code |
9ae05b131e184dda106e7b3ac0a73d2c7bd2eec969f94373f85dd9f2cac66df1 | /**
*
*/
package com.fjnu.fund.domain;
/**
* @author Administrator
*
*/
public class Fund {
private Integer fundNo;
private String fundName;
private Float fundPrice;
private String fundDes;
private String fundStatus;
private String fundDate;
public Integer getFundNo() {
return fundNo;
}
public voi... | Java | FundSystem/src/com/fjnu/fund/domain/Fund.java | WebbWangPrivate/JavaSystem | apache-2.0 | 1,040 | 68 | codeparrot/github-code |
47def92b491b32132f44c0d90b28503a130af532140d7a63effa04e06136770c | /*
* Copyright (C) 2009-2011 Texas Instruments, 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 applicabl... | C++ | source/dvp/dvp_demo/dvp_demo.cpp | emrainey/DVP | apache-2.0 | 28,924 | 657 | codeparrot/github-code |
9bd54b40d1d17b807ba1bc27ee68918305a600cef51533734acea3eae1c34fdd | /* Copyright 2012-2015 SAP SE
*
* 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 | src/eu.aniketos.securebpmn.xacml.support/src/main/java/eu/aniketos/securebpmn/xacml/support/AttributeResolver.java | GenericBreakGlass/GenericBreakGlass-XACML | apache-2.0 | 3,664 | 81 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.