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 |
|---|---|---|---|---|---|---|---|---|
b4bb56f17149d32720e74777a966591eb9bff6ec979463d7db2d921ca127ea75 | /*
* Copyright 2010-2014 OpenXcom Developers.
*
* This file is part of OpenXcom.
*
* OpenXcom is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opti... | C | src/Engine/ShaderDrawHelper.h | MartinDC/OpenXcom-m | gpl-3.0 | 14,463 | 662 | codeparrot/github-code |
06a6fa1f578881087242a9ac91a0b48da9135668f659fef08cbd83b03ae12176 | #region Copyright & License Information
/*
* Copyright 2007-2011 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COP... | C# | OpenRA.Mods.RA/Activities/FindResources.cs | Iran/ClassicRA | gpl-3.0 | 5,297 | 180 | codeparrot/github-code |
194c8b405a9589200efdc32bfc237abf2fe41dce9a5dd2f3b096cdeb4eec2409 | """
Parses the results found for the ETW started on a machine,
downloads the results and stops the ETW.
All credit to pauldotcom-
http://pauldotcom.com/2012/07/post-exploitation-recon-with-e.html
Module built by @harmj0y
"""
import settings
from lib import command_methods
from lib import helpers
from lib im... | Python | modules/enumeration/host/etw_results.py | Exploit-install/Veil-Pillage | gpl-3.0 | 3,006 | 81 | codeparrot/github-code |
79d0032711724d304ba5cb30fcb8ec8343c1d95ccb2adda98e57b6cb75cc1676 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Designer of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** Commercial License Usage
** Licensees holding valid com... | C | oss/qt/qt-everywhere-opensource-src-5.9.0/qttools/src/designer/src/lib/shared/qtresourceview_p.h | geminy/aidear | gpl-3.0 | 4,454 | 131 | codeparrot/github-code |
0a252ed6332ed31d9271cab2c7f16b05fb51cbf54b86836e8d2419b32bf554ac | #!/bin/bash -eux
set -o pipefail
declare -a args
IFS='/:' read -ra args <<< "$1"
script="${args[0]}"
test="$1"
docker images ansible/ansible
docker images quay.io/ansible/*
docker ps
for container in $(docker ps --format '{{.Image}} {{.ID}}' | grep -v '^drydock/' | sed 's/^.* //'); do
docker rm -f "${containe... | Shell | test/utils/shippable/shippable.sh | caphrim007/ansible | gpl-3.0 | 3,765 | 120 | codeparrot/github-code |
01424cfea81eb6caf74f7f7289df9bbe5ac7de94dae8909f5c89e33e82cca7ce | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | PHP | mod/feedback/item/feedback_item_form_class.php | totara/seedlings | gpl-3.0 | 4,591 | 112 | codeparrot/github-code |
11f353cb7f9732df0569eb791ded9f8af3371c0850fffa1b514331fbd2d9236d | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using static PKHeX.Core.PIDType;
namespace PKHeX.Core
{
/// <summary>
/// Class containing logic to obtain a PKM's PIDIV method.
/// </summary>
public static class Method... | C# | PKHeX.Core/Legality/RNG/MethodFinder.cs | ReignOfComputer/PKHeX | gpl-3.0 | 36,995 | 960 | codeparrot/github-code |
165a909309345b4748090bf79ba39f9760aa83e0ddba07dedad5c836c0b3f4b5 | /*
* This file is part of muCommander, http://www.mucommander.com
* Copyright (C) 2002-2012 Maxence Bernard
*
* muCommander is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License... | Java | src/main/com/mucommander/core/LocalLocationHistory.java | raisercostin/mucommander-2 | gpl-3.0 | 6,600 | 209 | codeparrot/github-code |
b3860a22eecc36be25a1b29e62768880c92e49220faa29b710ae5fce53295085 | /** @jsx jsx */
import React from "react";
import PropTypes from "prop-types";
import moment from "moment";
import { css, jsx } from "@emotion/core";
import { withTheme } from "emotion-theming";
import constants from "../../../constants";
import { RegularText } from "../../atoms/typography";
const DatetimeFieldRespo... | JavaScript | src/base/static/components/form-fields/types/datetime-field-response.js | smartercleanup/duwamish | gpl-3.0 | 800 | 34 | codeparrot/github-code |
acdc7bda4f987c17a95e43b798388992755509b9efcd8f8115110e81ede3421d | /*
* LCL (LossLess Codec Library) Codec
* Copyright (c) 2002-2004 Roberto Togni
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 ... | C | ffmpeg/libavcodec/lclenc.c | google-code/avbin | gpl-3.0 | 5,870 | 233 | codeparrot/github-code |
df9dcefb5ccf59e8c71060f6f536ae1658a9fdeb9c047e97d879d2a65e68d24b | /* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo
* -----------------------------------------------------------
*
* The DHTML Calendar, version 1.0 "It is happening again"
*
* Details and latest version at:
* www.dynarch.com/projects/calendar
*
* This script is developed by Dynarch.com. Visit us at... | JavaScript | com.alkacon.opencms.v8.formgenerator/resources/system/modules/com.alkacon.opencms.v8.formgenerator/resources/grid/grid/calendar/calendar.js | gallardo/alkacon-oamp | gpl-3.0 | 49,345 | 1,811 | codeparrot/github-code |
f1ec4d7547906fb5d474c52a613200a62e0b25f66ac8c2685bf51c70ad309186 | #include "Copter.h"
#define ARM_DELAY 20 // called at 10hz so 2 seconds
#define DISARM_DELAY 20 // called at 10hz so 2 seconds
#define AUTO_TRIM_DELAY 100 // called at 10hz so 10 seconds
#define LOST_VEHICLE_DELAY 10 // called at 10hz so 1 second
static uint32_t auto_disarm_be... | C++ | ArduCopter/motors.cpp | phoneguy/ardupilot | gpl-3.0 | 10,906 | 350 | codeparrot/github-code |
29ce3ad4015736d25b53255e00c61d5deaea88d19919d5d6f3a4d2196e70e72f | /* Authors:
* Endi Sukma Dewata <edewata@redhat.com>
*
* Copyright (C) 2010 Red Hat
* see file 'COPYING' for use and warranty information
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Founda... | JavaScript | install/ui/src/freeipa/rule.js | apophys/freeipa | gpl-3.0 | 7,989 | 293 | codeparrot/github-code |
9c8c0dddda50dac8f517452e6d5dec3774c3daf57305b30b725d2894bf8d8b3a | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use dom::attr::Attr;
use dom::bindings::codegen::Bindings::DOMTokenListBinding;
use dom::bindings::codegen::Bindin... | Rust | components/script/dom/domtokenlist.rs | eefriedman/servo | mpl-2.0 | 5,611 | 154 | codeparrot/github-code |
6183fb003d120fe5c407488cb0319457c8425d7b8617b81fa08ad306addeeb3b | /* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferable use... | C | targetlibs/nrf5x/nrf51_sdk/components/serialization/common/transport/ser_hal_transport.c | dptechnics/Espruino | mpl-2.0 | 14,414 | 461 | codeparrot/github-code |
3aa191812f5c2b7b9e4df599c562a61b27bc925712e56a225830841a48d8c060 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//! Implements parallel traversal over the DOM tree.
//!
//! This code is highly unsafe. Keep this file small and ... | Rust | components/style/parallel.rs | birryree/servo | mpl-2.0 | 5,151 | 144 | codeparrot/github-code |
e78b3bd586bd8c78022a647f983aa79511191aff287485cd090a4015b1058031 | // Copyright 2013 - Christian Schüller 2013, schuellc@inf.ethz.ch
// Interactive Geometry Lab - ETH Zurich
#include "Poisson_LIMSolver2D.h"
#include "TriangleMesh.h"
#define IGL_HEADER_ONLY
#include "igl/grad.h"
#include "igl/doublearea.h"
Poisson_LIMSolver2D::Poisson_LIMSolver2D()
{
constantEnergyPart = 0;
}
Poi... | C++ | external/lim/Poisson_LIMSolver2D.cpp | KIKI007/ReusedPrinter | mpl-2.0 | 3,944 | 139 | codeparrot/github-code |
a6771f19e5de0f73a1e76df8178c3cb5a988bb1f6c85f91d31c5892d047cc1ba | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | engine/Library/Zend/Ldap/Collection/Iterator/Default.php | flyingSkull/dl-shopware | agpl-3.0 | 9,294 | 310 | codeparrot/github-code |
e161f297338f9590aec34cbcb06782b1a08f83f1d476d213c2bf87974fb2b841 | // Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
package api
import (
"github.com/mattermost/platform/model"
)
type LogoutProvider struct {
}
const (
CMD_LOGOUT = "logout"
)
func init() {
RegisterCommandProvider(&LogoutProvider{})
}
func (me *LogoutProvide... | GO | api/command_logout.go | rgarmsen2295/platform | agpl-3.0 | 916 | 38 | codeparrot/github-code |
d230fe0638ad5e779976181bc20f6bd680d45f6bdd49e7923284992d75ca670b | # -*- encoding: utf-8 -*-
##############################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the... | Python | mrp_operations_extension/models/mrp_bom.py | jorsea/odoomrp-wip | agpl-3.0 | 4,254 | 99 | codeparrot/github-code |
21711de4fe272b1944c8e5b3ddbd014763465ba218bf495081b987c6da1d3b0d | # Copyright (c) 2015 Ultimaker B.V.
# Uranium is released under the terms of the AGPLv3 or higher.
from UM.Mesh.MeshWriter import MeshWriter
from UM.Math.Vector import Vector
from UM.Logger import Logger
from UM.Math.Matrix import Matrix
from UM.Application import Application
import UM.Scene.SceneNode
import Savitar
... | Python | plugins/3MFWriter/ThreeMFWriter.py | Curahelper/Cura | agpl-3.0 | 7,998 | 175 | codeparrot/github-code |
6e1115a8716be9ec2cb9e09f3673a9850cbd16a17cd69f966cee0e1aa4802ee5 | /*
* Copyright (C) Tildeslash Ltd. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even th... | C | src/process/sysdep_OPENBSD.c | AsydSolutions/monit | agpl-3.0 | 9,638 | 299 | codeparrot/github-code |
88ee1d6a16d157244e9a5a40cb08656e5b879716b18e93425e1fa39adb9cd173 | /*
* Copyright (c) 2011. Philipp Wagner <bytefish[at]gmx[dot]de>.
* Released to public domain under terms of the BSD Simplified license.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of sou... | C++ | Native/ThirdParty/Private/liblda-1.0/src/helper.cpp | ghostx2013/FabricEngine_Backup | agpl-3.0 | 4,474 | 154 | codeparrot/github-code |
6df6f8969dcc645b49de756968027ac29e5160cdb58de77df8dcaa4a092ca570 | # frozen_string_literal: true
class Api::BaseController < ApplicationController
DEFAULT_STATUSES_LIMIT = 20
DEFAULT_ACCOUNTS_LIMIT = 40
include RateLimitHeaders
include AccessTokenTrackingConcern
skip_before_action :store_current_location
skip_before_action :require_functional!, unless: :whitelist_mode?
... | Ruby | app/controllers/api/base_controller.rb | MitarashiDango/mastodon | agpl-3.0 | 3,964 | 132 | codeparrot/github-code |
a867bb94edb8217f86f8c746b2ebaa82cf3baa051728e839d33e52f84b2b508a | /*
* NativeAminoAcidLikelihoodCore.java
*
* Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can red... | Java | src/dr/oldevomodel/treelikelihood/NativeAminoAcidLikelihoodCore.java | 4ment/beast-mcmc | lgpl-2.1 | 5,461 | 148 | codeparrot/github-code |
dff2999f2cb26d2d2aa5387438c3d71453278eee0b4880562aff4c0715f8f564 | /*******************************************************************************
* This file is part of the Polyglot extensible compiler framework.
*
* Copyright (c) 2000-2012 Polyglot project group, Cornell University
* Copyright (c) 2006-2012 IBM Corporation
* All rights reserved.
*
* This program and the acco... | Java | src/polyglot/visit/InnerTranslator.java | liujed/polyglot-eclipse | lgpl-2.1 | 52,498 | 1,318 | codeparrot/github-code |
6f186485e79b0cd6acfe47222471c29dd657748f662eaab3e5c21425cc2c1f35 | // Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au)
// Copyright 2008-2016 National ICT Australia (NICTA)
//
// 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... | C++ | libs/armadillo/include/armadillo_bits/fn_index_max.hpp | numediart/MotionMachine | lgpl-2.1 | 3,156 | 163 | codeparrot/github-code |
88e972d6c269f739d8d838f0d19a1e495e7dac8a07fd33e7102ed12b053e6cf6 | ##############################################################################
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-64... | Python | var/spack/repos/builtin/packages/cuda/package.py | tmerrick1/spack | lgpl-2.1 | 3,901 | 75 | codeparrot/github-code |
914c6234940d9f38e97a0dedb7e5ff73a9da4497c32080f4fdb582a74f275a09 | /*
* Copyright (c) 2003-2005 The BISON Project
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* bu... | Java | target/classes/lib/peersim-1.0.5/src/peersim/core/IdleProtocol.java | rbraeunlich/ReliableADGSASimulation | lgpl-2.1 | 4,282 | 161 | codeparrot/github-code |
18c9e9b3d54c149d93c03cd7ff3a5f38f12651649ed0803e24dccd4c3d5987c7 | /* Soot - a J*va Optimization Framework
* Copyright (C) 2003 Ondrej Lhotak
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option)... | Java | src/soot/jimple/spark/pag/MethodPAG.java | cfallin/soot | lgpl-2.1 | 11,382 | 298 | codeparrot/github-code |
a2ca058feb3fab2851512f7d5917e6b2fddee3945d5342758a5ffc05ffa22388 | //===- AMDGPURewriteOutArgumentsPass.cpp - Create struct returns ----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C++ | llvm/lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp | google/llvm-propeller | apache-2.0 | 16,196 | 484 | codeparrot/github-code |
daf27c5209d4c8ab69a02e40dfdf65befe30c944251c782cf8421ff961955e49 | /*
* 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 | processing/src/main/java/org/apache/druid/segment/filter/Filters.java | druid-io/druid | apache-2.0 | 22,573 | 655 | codeparrot/github-code |
58b9a01de9a1e97bb254a4e410892aa088314290934915080efa877a18017762 | /*
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/LaunchScriptConfiguration.java | bclozel/spring-boot | apache-2.0 | 3,223 | 125 | codeparrot/github-code |
9ef90890f8d72c38fa24b60ed53056d372f77b74b81946a216a4a336ad4380e5 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | Java | artemis-server/src/test/java/org/apache/activemq/artemis/spi/core/security/jaas/LDAPLoginModuleTest.java | tabish121/activemq-artemis | apache-2.0 | 19,624 | 448 | codeparrot/github-code |
9e956afd6fb7c0cde48aa2a8d67361c0ad12d7260081cc0f75a30d090ae6563b | //
// Copyright 2015, Sander van Harmelen
//
// 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... | GO | branches.go | clns/go-gitlab | apache-2.0 | 5,492 | 211 | codeparrot/github-code |
bc3bc1bec5fd4432fb159b2130bfa8ddd0bb2e5375e9bb3cfc4411c86e1803a6 | /*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | Java | common/src/main/java/io/netty/util/concurrent/MultithreadEventExecutorGroup.java | zer0se7en/netty | apache-2.0 | 8,173 | 229 | codeparrot/github-code |
f2a543b0c3804eb89c9bd71aec5541edcbc2131d66402386e6fd8c9348eb86e6 | #!/usr/bin/env python
#-*- coding:utf-8 -*-
from poster.encode import multipart_encode
from poster.streaminghttp import register_openers
import urllib2,urllib,sys,time
import cookielib,mechanize
import re
DEBUG =0
reload(sys)
sys.setdefaultencoding('utf8') #@UndefinedVariable
register_openers()
headers = {
... | Python | src/webpy1/webpy1.1/post/post_anju.py | ptphp/PyLib | apache-2.0 | 4,425 | 107 | codeparrot/github-code |
8e7e526a39869ede76a328ef94c96fbfd0ef5198d0e9c942e88ed9d4e323f120 | package org.wikidata.wdtk.datamodel.implementation;
/*
* #%L
* Wikidata Toolkit Data Model
* %%
* Copyright (C) 2014 Wikidata Toolkit Developers
* %%
* 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 t... | Java | wdtk-datamodel/src/main/java/org/wikidata/wdtk/datamodel/implementation/DataObjectFactoryImpl.java | zazi/Wikidata-Toolkit | apache-2.0 | 6,558 | 194 | codeparrot/github-code |
9d0471ea0ca319e19ed27d555a413b2d68c6615a5830a243316ebf3e1394b467 | package org.apache.archiva.policies;
/*
* 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... | Java | archiva-modules/archiva-base/archiva-policies/src/main/java/org/apache/archiva/policies/PropagateErrorsOnUpdateDownloadPolicy.java | emsouza/archiva | apache-2.0 | 3,263 | 108 | codeparrot/github-code |
1c648e81d191c1e6b5312451c0c3aa077200e5c1d3f5470f2f943c9e4b5488c1 | /*
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 | sources/org/apache/batik/svggen/font/table/CmapFormat0.java | Squeegee/batik | apache-2.0 | 1,855 | 59 | codeparrot/github-code |
cb616b7b40635d25c61a8971b9fc9ddd6be0902428f9c31f9e44a38528896149 | package org.zstack.header.identity;
import org.zstack.header.message.APIEvent;
import org.zstack.header.rest.RestResponse;
import java.sql.Timestamp;
@RestResponse(allTo = "inventory")
public class APIRenewSessionEvent extends APIEvent {
private SessionInventory inventory;
public APIRenewSessionEvent(String... | Java | header/src/main/java/org/zstack/header/identity/APIRenewSessionEvent.java | zstackorg/zstack | apache-2.0 | 1,022 | 40 | codeparrot/github-code |
ebb70efaf857443300de863340163fc7018c10554c1532df59e4b2bb4688432d | // -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
/*
* Copyright 2010 ZXing 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++ | symbian/QZXing/source/zxing/oned/UPCEReader.cpp | nolanamy/zxing | apache-2.0 | 4,669 | 148 | codeparrot/github-code |
b3fafe168db47cf239704500a88dc591acb5cc6eb72260b2055c8863114e0676 | package io.dropwizard.client.ssl;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.util.Strings;
import io.dropwizard.validation.ValidationMethod;
import javax.annotation.Nullable;
import javax.validation.constraints.NotEmpty;
import java.io.File;
import java.util.List;
public class TlsConf... | Java | dropwizard-client/src/main/java/io/dropwizard/client/ssl/TlsConfiguration.java | Alexey1Gavrilov/dropwizard | apache-2.0 | 5,442 | 235 | codeparrot/github-code |
fe204143bdb6b0e3a0bb663b91632ff403753a2433f540f2249a90d417e0ad0d | using Gallio.Icarus.Commands;
using Gallio.Icarus.ExtensionSample.Properties;
using Gallio.Icarus.Runtime;
using Gallio.Icarus.WindowManager;
using Gallio.Runtime;
using Gallio.UI.Menus;
using Gallio.UI.ProgressMonitoring;
namespace Gallio.Icarus.ExtensionSample
{
public class Package : IPackage
{
... | C# | src/Extensions/Icarus/Gallio.Icarus.ExtensionSample/Package.cs | xJom/mbunit-v3 | apache-2.0 | 2,616 | 78 | codeparrot/github-code |
526d7dcd7b4a244204448d4aeac8812705327bc5fd84bd28337624e19f9ece28 | /*
* Copyright 1999, 2005 Brown University, Providence, RI.
*
* 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... | C++ | first-stage/PARSE/ChartBase.C | BLLIP/bllip-parser | apache-2.0 | 7,720 | 323 | codeparrot/github-code |
0d157d37d1eb15f150aa60d736a55ce4574fc73766a341c9b2fe0a05c0c9d559 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../includes/m... | HTML | source/api/apidocs-4.14/apis/addPaloAltoFirewall.html | apache/cloudstack-www | apache-2.0 | 10,172 | 142 | codeparrot/github-code |
3431e62d8d531a92954cb2e08c732e4eaa98b6406f97de1e9dd3aa9943394a97 | package usbong.android.builder.controllers;
import com.activeandroid.query.Select;
import rx.Observable;
import rx.Observer;
import rx.Subscriber;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
import usbong.android.builder.models.Screen;
import java.util.List;
/**
* Created by Roc... | Java | src/main/java/usbong/android/builder/controllers/SelectScreenController.java | cereblanco/usbong-builder | apache-2.0 | 1,056 | 34 | codeparrot/github-code |
e9975ea6865d76a719c20df4cf7d41d566be773f5e9f3d10abe6664b2a645533 | $(document).ready(function () {
$("#bSort").hide();
$("#bShare").hide();
var movieCache = new Array();
//var movieRatingCache = new Array();
var isDebugMode = false;
var webSocketAddress, imdbServletUrl, treeUrl, sortUrl, shareServletUrl, sharedDataUrl;
if (isDebugMode) {
... | JavaScript | server/web/js/code.js | axefox/Rankix | apache-2.0 | 17,897 | 515 | codeparrot/github-code |
8a451dcc4e34ffe7d84bd1daeb1d08da23d2b10305630f26620c1f6e3a07f9c3 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | Java | engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/optimize/OptimizeCompletedTaskInstanceRestServiceTest.java | falko/camunda-bpm-platform | apache-2.0 | 5,040 | 143 | codeparrot/github-code |
a65fef6b77bba980f0b32cd8176ef6168c3094e5142019eab47d9f18660700af | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | Java | engine/src/main/java/org/camunda/bpm/container/impl/deployment/ParseProcessesXmlStep.java | falko/camunda-bpm-platform | apache-2.0 | 5,414 | 163 | codeparrot/github-code |
7c6c2bc541ff49414a66a4d37e873553c1d4e2081c3d74e1adc4d7a1e07aec21 | package clientcmd
import (
"encoding/json"
"errors"
"fmt"
"sort"
"time"
"github.com/blang/semver"
"github.com/emicklei/go-restful-swagger12"
"k8s.io/apimachinery/pkg/api/meta"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachi... | GO | pkg/cmd/util/clientcmd/factory_object_mapping.go | jupierce/origin | apache-2.0 | 13,814 | 385 | codeparrot/github-code |
254eec696492f690d8d9aaac6e7c257bcd1d9f684c908f30d66793bce8c9058d | /* Copyright 2021 Mozilla 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 applicable law or agreed... | JavaScript | test/unit/base_viewer_spec.js | mozilla/pdf.js | apache-2.0 | 4,511 | 163 | codeparrot/github-code |
daa3df871afb7a0d98bedae2db6e2e8c59dfa07fe488c785589e1d2ee2f5bff4 | #
# Author:: Adam Jacob (<adam@chef.io>)
# Author:: Christopher Walters (<cw@chef.io>)
# Author:: Nuo Yan (<yan.nuo@gmail.com>)
# Copyright:: Copyright 2009-2018, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file ex... | Ruby | lib/chef/knife/cookbook_upload.rb | Ppjet6/chef | apache-2.0 | 12,185 | 309 | codeparrot/github-code |
b40656091d2eb26581a1ccbeba1c9b821c6ac11cb8dea5281b3b84dce0f20172 | package com.thin.downloadmanager;
import android.os.Process;
import android.util.Log;
import org.apache.http.conn.ConnectTimeoutException;
import java.io.File;
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import j... | Java | ThinDownloadManager/src/main/java/com/thin/downloadmanager/DownloadDispatcher.java | hoangsondev/ThinDownloadManager | apache-2.0 | 14,099 | 378 | codeparrot/github-code |
2b67c5af2bf3c6dd30661da6974f480f3c9296be6b1cf1c8a6d7f402a2dafc57 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | C | src/hdf5-1.10.0-patch1/src/H5Stest.c | biospi/seamass-windeps | apache-2.0 | 4,398 | 112 | codeparrot/github-code |
ca8cee595f03a5e40da72175fb10845d3d9cfb72689b28e1339a848685d235ae | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Scala | sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/DecimalExpressionSuite.scala | techaddict/spark | apache-2.0 | 4,232 | 87 | codeparrot/github-code |
c6e2751ce86eb32f59a97364a25e9a772a6d9a8145d0a99be814006533643a63 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Java | lib/trino-orc/src/test/java/io/trino/orc/TestOrcReader.java | ebyhr/presto | apache-2.0 | 1,100 | 37 | codeparrot/github-code |
c7497486111694a900cca84011879fa602c3be41887870ec281071d1a5f033ba | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.internal.statistic.config;
import com.intellij.internal.statistic.config.bean.EventLogSendConfiguration;
import com.intellij.internal.statistic.config.eventLog.EventLogBuildType... | Java | platform/statistics/config/src/com/intellij/internal/statistic/config/EventLogExternalSendSettings.java | smmribeiro/intellij-community | apache-2.0 | 1,421 | 42 | codeparrot/github-code |
c52e83137dc9a9eb68a72c2d9625925d3796e538353357e0d07a4dc08786fe57 | /*
* Copyright (C) 2004-2019 ZNC, see the NOTICE file for details.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | C++ | modules/nickserv.cpp | dgw/znc | apache-2.0 | 5,636 | 145 | codeparrot/github-code |
dd575a6af35e60a2a2301e4c36a0f210710094b20753c70d20ca24505689c129 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type=... | HTML | tui_flashdevelop4_2_1__tuioAS3_0_8__AIR2_6/docs/GoogleMapsAPIforFlash/com/google/maps/MapMoveEvent.html | g-amador/Tangible-User-Interface | apache-2.0 | 26,032 | 360 | codeparrot/github-code |
5bddcb3c7125c552eeb01c8529efd13bff5a70aa53610ee4ea843cbd816274c9 | /**
* 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 | lang/java/mapred/src/test/java/org/apache/avro/mapred/tether/TetherTask.java | julianpeeters/avro | apache-2.0 | 6,884 | 207 | codeparrot/github-code |
63f8e49a632d35c3a8072a0ce798ec29d754ede1b4f375937523193bd62dad62 | package org.zstack.sdk;
import java.util.HashMap;
import java.util.Map;
import org.zstack.sdk.*;
public class UpdateBaremetalChassisAction extends AbstractAction {
private static final HashMap<String, Parameter> parameterMap = new HashMap<>();
private static final HashMap<String, Parameter> nonAPIParameterM... | Java | sdk/src/main/java/org/zstack/sdk/UpdateBaremetalChassisAction.java | AlanJager/zstack | apache-2.0 | 3,750 | 120 | codeparrot/github-code |
a95837ed500e4357b686eb6fe63b64fed729f8d1f78628d89bb5e59faf4c9989 | /*
*
* 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"); y... | Java | modules/andes-core/broker/src/main/java/org/wso2/andes/qmf/QMFCommandDecoder.java | dhanuka84/andes | apache-2.0 | 2,905 | 99 | codeparrot/github-code |
afc16baae004e6ab32142ac76a0ef720677d4eac09204d5b145e7d9b2336ccd2 | /* Copyright 2007-2015 QReal Research Group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | C++ | plugins/robots/generators/generatorBase/src/simpleGenerators/randomInitGenerator.cpp | ZiminGrigory/qreal | apache-2.0 | 1,447 | 38 | codeparrot/github-code |
2fdb60a4de9dabf01cd3c39fcc0998730412c3e7f6522a25b49f374eea8f31f3 | """Support for Axis camera streaming."""
from homeassistant.components.camera import SUPPORT_STREAM
from homeassistant.components.mjpeg.camera import (
CONF_MJPEG_URL,
CONF_STILL_IMAGE_URL,
MjpegCamera,
filter_urllib3_logging,
)
from homeassistant.const import (
CONF_AUTHENTICATION,
CONF_DEVICE... | Python | homeassistant/components/axis/camera.py | leppa/home-assistant | apache-2.0 | 3,117 | 96 | codeparrot/github-code |
f9bc177cbbc67c500539fd9237dd589ff38d849db2d1fde63eaa4ba5e517a68d | /// Copyright (C) 2012-2014 Soomla 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 l... | C# | TuneSoomla/Assets/Plugins/Soomla/Levelup/gates/profile/SocialActionGate.cs | john-gu/TuneSoomlaUnity | apache-2.0 | 3,461 | 108 | codeparrot/github-code |
2b94edfedab621d40511e11faff650361f71ae0e2ed7364af2deba3e82098f0d | /*
Copyright 2014 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 agreed to in ... | GO | pkg/apiserver/interfaces.go | knodir/kubernetes | apache-2.0 | 4,563 | 106 | codeparrot/github-code |
b3526ab9d08562b835ee79bdebaf733e402649269a6ecf6874aa2ea5cc451975 | package module
import (
"bufio"
"encoding/base64"
"encoding/json"
"errors"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"strings"
"sync"
"time"
. "github.com/logrusorgru/aurora"
homeDir "github.com/mitchellh/go-homedir"
apiv1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/a... | GO | pilotage/module/job.go | imlidian/containerops | apache-2.0 | 11,381 | 390 | codeparrot/github-code |
fe9753ec6fce68f79dbf308a941c18a33db76e6f21907b9249cfc5de4f449117 | /*
* Copyright 2000-2009 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 | java/debugger/impl/src/com/intellij/debugger/actions/HotSwapAction.java | joewalnes/idea-community | apache-2.0 | 2,280 | 62 | codeparrot/github-code |
f37d44935f5ac5c5f582457fb8cd8ecaa9bfd88398e4b2ed4b4b4aca7373a14e | package org.batfish.grammar.cumulus_nclu;
import java.util.Set;
import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.tree.ParseTreeWalker;
import org.batfish.common.NetworkSnapshot;
import org.batfish.common.Warnings;
import org.batfish.grammar.BatfishParseTreeWalker;
import org.batfish.grammar.C... | Java | projects/batfish/src/main/java/org/batfish/grammar/cumulus_nclu/CumulusNcluControlPlaneExtractor.java | arifogel/batfish | apache-2.0 | 1,941 | 57 | codeparrot/github-code |
d9c6ed4000b8f9a560673aa5103089829d44b7d9846a6c9b87ae064616012872 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | Java | qa/test-db-instance-migration/test-fixture-73/src/main/java/org/camunda/bpm/qa/upgrade/scenarios/compensation/InterruptingEventSubProcessCompensationScenario.java | camunda/camunda-bpm-platform | apache-2.0 | 2,223 | 57 | codeparrot/github-code |
d5828e3dc2ae6964943feafb29a9d3d7c046d2ecb32baec3b16693b2118708be | dojo.provide("dijit.form.HorizontalRule");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.declare("dijit.form.HorizontalRule", [dijit._Widget, dijit._Templated],
{
// summary:
// Hash marks for `dijit.form.HorizontalSlider`
templateString: '<div class="dijitRuleContainer dijitRuleContainer... | JavaScript | source/dojo-release-1.3.0-src/dijit/form/HorizontalRule.js | feklee/rotogame | apache-2.0 | 1,692 | 62 | codeparrot/github-code |
cb8c088547f19f1ee8d516309769ff40aa1f1b39e680063690d0c5d8ec848ad9 | package org.gwtbootstrap3.extras.select.client.ui.event;
/*
* #%L
* GwtBootstrap3
* %%
* Copyright (C) 2013 - 2016 GwtBootstrap3
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*... | Java | src/main/java/org/gwtbootstrap3/extras/select/client/ui/event/LoadedEvent.java | gwtbootstrap3/gwtbootstrap3-extras | apache-2.0 | 1,924 | 73 | codeparrot/github-code |
4bbc306c3c7e453044bb752f349f4ec707a8e4c047b1dfc116a6aa168c1f5633 | package main
import (
"fmt"
"io"
"log"
"os"
"runtime"
"sort"
"strings"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/unversioned"
pkg_runtime "k8s.io/kubernetes/pkg/runtime"
"github.com/golang/glog"
flag "github.com/spf13/pflag"
_ "github.com/openshift/origin/pkg/api"
_ "github.com/openshift/... | GO | tools/genconversion/conversion.go | jwforres/origin | apache-2.0 | 2,719 | 91 | codeparrot/github-code |
3a687e8bceea7fb5b2f68c0754f86d7e9c587ea64a9d8a6ee6c1a5183a503f43 | /*
* 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 | flink-streaming-java/src/main/java/org/apache/flink/streaming/api/connector/sink2/GlobalCommitterOperator.java | godfreyhe/flink | apache-2.0 | 7,334 | 157 | codeparrot/github-code |
f1841d3491873d07dd50809a1700903d4842ff4c8d53012efa89bbe447c5ae41 | package org.quickbundle.project.login;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.servlet.http.HttpSession;
import org.apache.cxf.jax... | Java | quickbundle-rmwebdemo/src/main/java/org/quickbundle/project/login/RmSessionService.java | quickbundle/qb-archetype | apache-2.0 | 8,628 | 212 | codeparrot/github-code |
d93d084e2639221753466a5b04a80ff78ca749a27d15ec22a28be3e49fc38eef | /*
* Copyright 2016 The BigDL 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 agr... | Scala | spark/dl/src/test/scala/com/intel/analytics/bigdl/nn/quantized/LinearSpec.scala | yiheng/BigDL | apache-2.0 | 2,277 | 66 | codeparrot/github-code |
3a62b34a95c67e6296a06626eb750ed2c498680a0bd415595c780636fe6ba4e9 | <html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2... | HTML | docs/dyn/dfareporting_v3_5.orderDocuments.html | googleapis/google-api-python-client | apache-2.0 | 9,203 | 215 | codeparrot/github-code |
20bdf2a38f90f5e8d23a5d1b90fc46d1f4c727e81a3369571ac93b4be1dc42f0 | // Copyright (C) 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | GO | gapil/compiler/scope.go | Qining/gapid | apache-2.0 | 4,749 | 167 | codeparrot/github-code |
f4682678b501fba2b579b225ccf673ccd560abb997c310e0bd531803359e2009 | <!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>CompoundConfiguration xref</title>
<link type=... | HTML | thirdparty/hbase-1.1.1.2.3.0.0-2557/docs/xref/org/apache/hadoop/hbase/CompoundConfiguration.html | scalingdata/Impala | apache-2.0 | 50,198 | 439 | codeparrot/github-code |
494650e6d31e9cfabe26411e29d42e31ad70852a2bf9a630c61238fc32aec604 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | Python | tensorflow/python/keras/applications/efficientnet.py | karllessard/tensorflow | apache-2.0 | 24,166 | 746 | codeparrot/github-code |
c48c9dbc37f62d9ca8f2854629a53ac8de709c72f07b3e0c6a3dab25aa083852 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Lucene.Net.Analysis;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.Util;
using Version = System.Version;
namespace Lucene.Net.Search.Suggest.Analyzing
{
/*
* Licensed to the Apache Softwar... | C# | src/Lucene.Net.Suggest/Suggest/Analyzing/BlendedInfixSuggester.cs | jpsullivan/lucenenet | apache-2.0 | 11,868 | 316 | codeparrot/github-code |
e1baf784e6fdd12edbbd81215f932894873a547fa1db5b9eda4a124284d33a7c | /**
* 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 | ql/src/java/org/apache/hadoop/hive/ql/udf/ptf/WindowingTableFunction.java | cschenyuan/hive-hack | apache-2.0 | 50,348 | 1,471 | codeparrot/github-code |
f6a3b9ed5ba2d9fa374069185249dae224e647c8e7fec89af4472f0479cd9fb3 | /*
* 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/pagemem/wal/record/delta/DataPageInsertFragmentRecord.java | pperalta/ignite | apache-2.0 | 2,521 | 85 | codeparrot/github-code |
567f7179790db289a712bed0c9f6a37fe35258ecd48c13764d59df7a40e7549b | package org.scaladebugger.tool.backend
import java.net.URI
import java.nio.file.Path
import ammonite.util.Bind
import org.scaladebugger.api.debuggers.Debugger
import org.scaladebugger.api.profiles.traits.info.{ThreadGroupInfo, ThreadInfo}
import org.scaladebugger.api.virtualmachines.{DummyScalaVirtualMachine, ScalaVir... | Scala | scala-debugger-tool/src/main/scala/org/scaladebugger/tool/backend/State.scala | ensime/scala-debugger | apache-2.0 | 1,862 | 62 | codeparrot/github-code |
152eca16be599d177f9c6dd6ba2fff29a151efed788f547d30917c038c6392b0 | /*
* Copyright (C) 2015 Willi Ye
*
* 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 | app/src/main/java/com/grarak/kerneladiutor/fragments/tools/RecoveryFragment.java | SlimSaber/KernelAdiutor | apache-2.0 | 8,338 | 218 | codeparrot/github-code |
9b7529a30f225246b09f13746d4f4a952a94fd2a7b96e44d644503edf435fe25 | // Copyright (c) 2015 Rackspace
//
// 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 | objectserver/priorityrep.go | troubling/hummingbird | apache-2.0 | 14,078 | 470 | codeparrot/github-code |
27e1933cbd259a0f44ae7846250f3ab17e22e076dfc002d0126f50a04156b1aa | /*
* 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
* "Licen... | Java | phoenix-pherf/src/test/java/org/apache/phoenix/pherf/ResultTest.java | ankitsinghal/phoenix | apache-2.0 | 9,199 | 206 | codeparrot/github-code |
6201be393847b73fd9a89d7c536a44abcee9200770646fb8e0a750df508442cb | /*
* 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 | test/unit/org/apache/cassandra/cql3/PstmtPersistenceTest.java | aureagle/cassandra | apache-2.0 | 8,105 | 192 | codeparrot/github-code |
58ff2a9103a66032d37b6092980651b5c093c611f0526d0ab7e4e9c158720f05 | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.yoga;
public enum YogaJustify {
FLEX_START(0),
CENTER(1),
FLEX_END(2),
SPACE_BETWEEN(3),
SPACE_AR... | Java | lib/yoga/src/main/java/com/facebook/yoga/YogaJustify.java | facebook/litho | apache-2.0 | 867 | 41 | codeparrot/github-code |
391cc64fe6da2501561b1dac5bd2cfb2aa7618d76d766fdc012b3a6d2a50fe1e | /*
* 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 | flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/TaskExecutorMemoryConfiguration.java | rmetzger/flink | apache-2.0 | 10,479 | 257 | codeparrot/github-code |
8f280f8642f2394f2b20422cdd804c62bac4ef5be94a699bf00a36952b9530e3 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | Java | src/test/java/org/camunda/bpm/model/bpmn/instance/DataObjectTest.java | camunda/camunda-bpmn-model | apache-2.0 | 1,513 | 44 | codeparrot/github-code |
0197919f9ed744dbee9ae7bd403caf6493387bb1d95bed7e334a39d833944b16 | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Java | kie-wb-common-forms/kie-wb-common-dynamic-forms/kie-wb-common-dynamic-forms-client/src/main/java/org/kie/workbench/common/forms/dynamic/client/rendering/formGroups/impl/slider/SliderFormGroupViewImpl.java | jhrcek/kie-wb-common | apache-2.0 | 2,646 | 84 | codeparrot/github-code |
ed927f01862683b9a6ee59f2dd16c5fecc8528b2d859c5c539980ec0362388f7 |
package org.drip.analytics.holset;
/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/
/*
* GENERATED on Fri Jan 11 19:54:06 EST 2013 ---- DO NOT DELETE
*/
/*!
* Copyright (C) 2013 Lakshmi Krishnamurthy
* Copyright (C) 2012 Lakshmi Krishnamurthy
* Copyright (C) 2011 Lakshmi ... | Java | 2.3/src/org/drip/analytics/holset/ARSHoliday.java | tectronics/splinelibrary | apache-2.0 | 37,853 | 1,499 | codeparrot/github-code |
54651d20882e8b777a050baf763207214a0f29f637c22ff485c1e4203c85fa27 | //===--- ModuleNameLookup.cpp - Name lookup within a module ---------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | C++ | lib/AST/ModuleNameLookup.cpp | codestergit/swift | apache-2.0 | 12,283 | 306 | codeparrot/github-code |
d451512f4560fd23252c9822d1e61590e48f3f1656a1b70b1f06502108575a50 | <!DOCTYPE html>
<!--
~ Copyright 2017 PayPal
~
~ 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... | HTML | samples/pubsub/pubsubsvc/src/main/resources/html/category_info.html | SarathChandran/squbs | apache-2.0 | 2,067 | 65 | codeparrot/github-code |
a1c3edcb96002cb2a03bd83c49053bbad5f2afcc6caa89675ee464f8d8b2d3d8 | /* Copyright 2015 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/core/kernels/matmul_op.cc | AnishShah/tensorflow | apache-2.0 | 25,140 | 644 | codeparrot/github-code |
e996b81b13ceb64078ed9d19f37d553351f029d943566d8d003187f46ff2e13a | /*
* Licensed to ElasticSearch and Shay Banon 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... | Java | src/main/java/org/elasticsearch/index/aliases/IndexAliasesService.java | andrewvc/elasticsearch | apache-2.0 | 5,977 | 153 | codeparrot/github-code |
e00c4cde6cc519d129555681e6d81d264a026b44cdcb0428549c7f3c291e5062 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5 and AngularJS.">
<meta name="keywords" content="html5,ja... | HTML | _site/docs/api/directive/ionHeaderBar/index.html | johnli388/ionic-site | apache-2.0 | 30,694 | 1,207 | codeparrot/github-code |
b9035a80fbc6bb9e901c8d8b0efd0fe38a29081f6905c51d8e460ef0462593c0 | // Copyright (c) 2017 Rackspace
//
// 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 | proxyserver/middleware/formpost.go | creiht/hummingbird | apache-2.0 | 8,309 | 271 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.