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 |
|---|---|---|---|---|---|---|---|---|
e13b71d65d1443c16674e229a3ad288b17377668d530edf97702c1fd1206f16c | <?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 th... | PHP | library/Zend/Gdata/Extension/ExtendedProperty.php | ankuradhey/dealtrip | apache-2.0 | 2,841 | 106 | codeparrot/github-code |
f751bd863e5beeb15f9fd40bee5cc89bee12344b09de5b0a3b8d841c86364d31 | <?
function sanitizepostdata($data) {
return trim(addslashes($data));
}
function sanitizedbdata($data) {
return trim(stripslashes($data));
}
function executeScriptAfterPageLoad() {
global $SCRIPT_PENDING_FOR_EXECUTION;
$allCode = '';
if($SCRIPT_PENDING_FOR_EXECUTION && count($SCRIPT_PENDING_FOR_EXECUT... | PHP | includes/functions.php | pritamdalal90/pdftoword | apache-2.0 | 3,112 | 101 | codeparrot/github-code |
59b32183ee59b0f612292077b4ee7b1b03626047381c847e12f58e3576f791f9 | package docker
import (
"archive/tar"
"bufio"
"bytes"
"encoding/base64"
"encoding/json"
"errors"
"flag"
"fmt"
"github.com/dotcloud/docker/archive"
"github.com/dotcloud/docker/auth"
"github.com/dotcloud/docker/registry"
"github.com/dotcloud/docker/term"
"github.com/dotcloud/docker/utils"
"io"
"io/ioutil"... | GO | commands.go | calavera/docker | apache-2.0 | 68,507 | 2,544 | codeparrot/github-code |
391f86e067f138f82ea27eea5d2f3912dcf17e81a4068c00acf798ea5234deba | /*
* 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 | asterixdb/asterix-common/src/main/java/org/apache/asterix/common/utils/StorageConstants.java | apache/incubator-asterixdb | apache-2.0 | 3,098 | 70 | codeparrot/github-code |
a4044b48728036bb0f7fd7d43499b2b260700ac633cd69a8558eab754a43ece1 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package listeners;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.Singleton;
im... | Java | ejercicio4-web/src/main/java/listeners/GuiceListener.java | sergio11/struts2-hibernate | apache-2.0 | 1,267 | 40 | codeparrot/github-code |
119e00aa4cde51460187ef102bc61c2986843a4bb7b045ca2540105ec88c46e0 | #region Copyright and License
// Copyright 2010..2015 Alexander Reinert
//
// This file is part of the ARSoft.Tools.Net - C# DNS client/server and SPF Library (http://arsofttoolsnet.codeplex.com/)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance ... | C# | ARSoft.Tools.Net/Dns/EDns/DsHashUnderstoodOption.cs | huoxudong125/ARSoft.Tools.Net | apache-2.0 | 2,165 | 72 | codeparrot/github-code |
e9b6008d25833e6ae8880752658b2b002b20ad7214f902f5051ad6a3b4be9252 | package com.coolweather.app.db;
import java.util.ArrayList;
import java.util.List;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import com.coolweather.app.model.City;
import com.coolweather.app.model.County;
impor... | Java | src/com/coolweather/app/db/CoolWeatherDB.java | yhhyes/coolweather | apache-2.0 | 3,550 | 130 | codeparrot/github-code |
739566b4388044fe2a94abeefb3326ddc1efa0cc99dfd7799adad83b63cfd12f | /*
Copyright 2014 Bojan Savric
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
... | Java | src/com/jhlabs/map/proj/McBrydeThomasFlatPolarSinusoidalProjection.java | OSUCartography/JMapProjLib | apache-2.0 | 2,052 | 70 | codeparrot/github-code |
8e0272b99bf58ac0cc87ff5cddb66ebce0b3d809bf6752b3cb4829cdb5085a8a | /**************************************************************************
*
* Copyright (c) 2013 Alcatel-Lucent
*
* Alcatel Lucent 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. A copy of the License is cont... | C | main/common/flash.c | jrcatbagan/umon-old | apache-2.0 | 33,376 | 1,400 | codeparrot/github-code |
1e94f0822cf0308a4fcad65d7d512012d3118b7516c92f1dcdabf1a377e69ad1 | import { prettyPrint, types } from 'recast';
import { emitConstrainedTranslation } from '../../src/emitting/constraint';
import Context from '../../src/emitting/context';
import { EqualityNode, IgnoreNode, IneqNode, ValueNode } from '../../src/trees/constraint';
const b = types.builders;
const nullExpr = b.identifie... | TypeScript | test/emitting/constraint.ts | secoya/hablar.js | apache-2.0 | 3,419 | 175 | codeparrot/github-code |
874c5306f20d52dbc2a821471a72f4662010d9f9006806ce7438ce9fa4e7e96c | <?php
/**
* This file is part of the SevenShores/NetSuite library
* AND originally from the NetSuite PHP Toolkit.
*
* New content:
* @package ryanwinchester/netsuite-php
* @copyright Copyright (c) Ryan Winchester
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0
* @link https://githu... | PHP | src/Classes/PaymentMethodSearchBasic.php | fungku/netsuite-php | apache-2.0 | 1,505 | 44 | codeparrot/github-code |
d2f3e8a4693aa12260b84f2cb420845e5b35273d929daf9ce07668aeafb1d57b | 'use strict';
var _ = require('underscore');
var express = require('express');
var router = express.Router();
var ObjectId = require('mongoose').Types.ObjectId;
var path = require('path');
/**
* @apiDefine group Group based access
* Resource access controlled by user's groups
*/
/**
* @apiDefine access Authentica... | JavaScript | routes/index.js | vartomi/pmt-backend | apache-2.0 | 886 | 38 | codeparrot/github-code |
a80563584a4c53da57a8be0dd8fdcde2b834d9a80a40a15f04820c79517ffe41 | /*
Copyright (c) 2014-2016 DataStax
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... | C++ | src/token_aware_policy.hpp | hpcc-systems/cpp-driver | apache-2.0 | 2,110 | 71 | codeparrot/github-code |
0caafed9ba63bc789b20a9eb14b18509da25ba86e1daad58512fcba0bda0ee77 | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Java | library/common/src/main/java/com/google/android/exoplayer2/text/Cue.java | amzn/exoplayer-amazon-port | apache-2.0 | 24,639 | 847 | codeparrot/github-code |
261dad56c4b5e560f857d35b6c939544a0f3ab71fbe329bfb6645ab941c48f13 | /**
* 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 | core/src/test/java/org/apache/hcatalog/mapreduce/HCatMapReduceTest.java | cloudera/hcatalog | apache-2.0 | 13,101 | 365 | codeparrot/github-code |
960296e9e5934e7b22bda0ebb404f4ae333732714564e74b5e4c69766752bb8d | /**
* Websocket Client
*/
(function() {
window.Socket = window.Socket || {}
var PacketTypes = {
Command : 0,
Status : 1
}
class Socket {
constructor(uri, game) {
uri = uri || ""
if(uri.length <= 0) {
let loc = window.location
... | JavaScript | js/Socket.js | BasalticStudio/Walrus-vs-Slime | apache-2.0 | 3,768 | 150 | codeparrot/github-code |
8b59960ae6a367841b2bbd7ed90770aa6c5abc2ec68709bad752ec9a83fa9c91 | #
# Copyright 2016 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | Perl | centreon/plugins/misc.pm | golgoth31/centreon-plugins | apache-2.0 | 12,667 | 382 | codeparrot/github-code |
14df81e2beb3184d88b4154923c1453d4bdf9f32390ae4881f2f4ba2b1fdbdc8 |
(function() {
function getParentIndex(levels, level, index) {
if (level > 0) {
for (var i = index - 1; i >= 0; i--) {
if (levels[i] == level - 1) {
return i;
}
}
}
return -1;
}
function hasL... | JavaScript | src/FineUI.Examples/extjs_builder/js/F/F.simulateTree.js | u0hz/FineUI | apache-2.0 | 3,855 | 118 | codeparrot/github-code |
c8091b0db0e96648068bed2cd498186d598fe95e1b03ec64c4f8f0830631bc81 | /**
* Copyright 2016, 2017 Peter Zybrick and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | Java | iote2e-ws/src/main/java/com/pzybrick/iote2e/ws/nrt/ServerSideSocketNearRealTime.java | petezybrick/iote2e | apache-2.0 | 11,460 | 372 | codeparrot/github-code |
8451649f5c4e081c081032952462a7170e2c695b0cc299be89822624e5fdf4d9 | package conf
import (
"bytes"
"fmt"
"io/ioutil"
"os"
"github.com/BurntSushi/toml"
"github.com/ottom8/hadoop-ottom8r/logger"
"github.com/ottom8/hadoop-ottom8r/util"
)
const (
authConfigFile = "auth.toml"
encryptKey = "H@d00pS3cret3ncryptK3yS3cur3RlLg"
)
type flagOptions struct {
BackupPath string
ConfigFi... | GO | conf/configuration.go | ottom8/hadoop-ottom8r | apache-2.0 | 5,539 | 213 | codeparrot/github-code |
547494c6962a5cee418fab84d328e50e4c7c94fb50c018ecbc479b92a8119f29 | /*
* 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-sagemaker/source/model/AlgorithmSortBy.cpp | cedral/aws-sdk-cpp | apache-2.0 | 2,446 | 81 | codeparrot/github-code |
046302844357cc90d1d4afa515d62e6b49070d66c3846c41c5f5630bad526aab | /**
* This code is released under the
* Apache License Version 2.0 http://www.apache.org/licenses/.
*/
#ifndef __SSSE3__
#pragma message "Disabling varintg8iu due to lack of SSSE3 support, try adding -mssse3 or the equivalent on your compiler"
#else
#ifndef VARINTG8IU_H__
#define VARINTG8IU_H__
#include <emmintrin.h... | C | include/VarIntG8IU.h | cruppstahl/SIMDCompressionAndIntersection | apache-2.0 | 6,499 | 238 | codeparrot/github-code |
b03a4f1392e75ddb38c2166fa1aaf9a281033873a12e657674b4773e476bf21c | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | C++ | lib/Basics/threads-win32.cpp | joerg84/arangodb | apache-2.0 | 5,728 | 156 | codeparrot/github-code |
23ab4034b2a9916701cf308d3b875b5d428d341ceaa5c2aeb8fd653f2431b61a | # Fuck you Disyer. Stealing my fucking paypal. GET FUCKED: toontown.tutorial.TutorialTVScenes
from panda3d.core import Camera
from direct.task.Task import Task
from otp.avatar import Emote
from toontown.television.TVScenes import *
from toontown.television.TVEffects import *
from toontown.suit.Suit import Suit
f... | Python | tutorial/TutorialTVScenes.py | DedMemez/ODS-August-2017 | apache-2.0 | 4,254 | 134 | codeparrot/github-code |
3ea0111bec1e02436b69b315f9f22f85a54df4db847d44d2ee64a956f2eb43e2 | // Copyright 2015 Square, Inc.
package retrofit.converter;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;
import com.squareup.okhttp.MediaType... | Java | retrofit/src/test/java/retrofit/converter/GsonConverterTest.java | murat8505/REST_client_retrofit | apache-2.0 | 2,382 | 79 | codeparrot/github-code |
c303560ae335662f707a99452edf1134a62426d4086c2095311b6f97dcea026a | /*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may... | Java | JavaSource/org/unitime/timetable/gwt/client/rooms/RoomHint.java | zuzanamullerova/unitime | apache-2.0 | 7,518 | 192 | codeparrot/github-code |
e1f6a6510538eae472cbfd7ac3f791c53455bdc9808e0e2e407ef134fc44ded2 | package com.hardis.connect.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import an... | Java | app/src/main/java/com/hardis/connect/fragment/FeedsFragment.java | Har-insa/front-end | apache-2.0 | 2,142 | 58 | codeparrot/github-code |
dfb5a886e5d31c0fd805c90c2a781730f33718a083b4a902fdf1dca707515a39 | package table;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.net.URL;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
public class WelcomeWindow implements Runnable {
private JFrame frame;
private String fileName="i... | Java | src/table/WelcomeWindow.java | nanchengking/Drawing | apache-2.0 | 1,380 | 51 | codeparrot/github-code |
fb9967410bc0848f40d1b9032fe866f12d2ffe2705a88be1fb38c5f7ea5b3692 | /* Copyright 2010-2012 Alfresco Software, Ltd.
* Copyright 2012 Thorben Lindhauer
*
* Licensed under the Apache License, ersion 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | Java | modules/activiti-engine/src/main/java/org/activiti/engine/impl/pvm/runtime/ExecutionImpl.java | ThorbenLindhauer/activiti-engine-ppi | apache-2.0 | 25,877 | 921 | codeparrot/github-code |
7d1d822396ab6235f959987b9e17b476e2a96b063cbe2711999ed6074349b844 | ---
type: post100
title: Transient Entries
categories: XAP100NET
parent: space-persistency-overview.html
weight: 700
---
When using a persistent space there are situations where not all the space objects need to be persistent (saved within the database). You can specify a space Object to be stored only in the space, ... | Markdown | sites/xap-docs/content/xap100net/transient-entries.markdown | croffler/documentation | apache-2.0 | 2,239 | 52 | codeparrot/github-code |
0660189ac8b3568bcd531487d4f15b210d19320c1d55242c242e359746d283e4 | /**
* @license
* Copyright Color-Coding Studio. All Rights Reserved.
*
* Use of this source code is governed by an Apache License, Version 2.0
* that can be found in the LICENSE file at http://www.apache.org/licenses/LICENSE-2.0
*/
namespace sap {
export namespace extension {
export namespace m {
... | TypeScript | openui5/extensions/components/ObjectListItem.ts | color-coding/ibas-typescript | apache-2.0 | 9,566 | 190 | codeparrot/github-code |
bfc5c1c80491c5c5ae2164aa587fe6abf871761981bc4c6327f9a654691b0428 | /*
* Copyright 2015-2017 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 | samples/restfbmessenger-echo-spring-boot/src/main/java/com/github/marsbits/restfbmessenger/sample/EchoCallbackHandler.java | marsbits/restfbmessenger | apache-2.0 | 3,553 | 94 | codeparrot/github-code |
422847b575b561a93d643b4e006c677cabcfdf2c65534cd29a437deddd5c4956 | package org.altbeacon.bluetooth;
import android.annotation.TargetApi;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Asyn... | Java | src/main/java/org/altbeacon/bluetooth/BluetoothCrashResolver.java | yangjae/android-beacon-library | apache-2.0 | 19,332 | 481 | codeparrot/github-code |
a703c677f7e2ff4ad404fda5e270fab168245e90dd5c84d89f38267dd36585ba | package org.apache.lucene.spatial.query;
/*
* 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 | lucene/spatial/src/java/org/apache/lucene/spatial/query/SpatialArgs.java | terrancesnyder/solr-analytics | apache-2.0 | 4,992 | 151 | codeparrot/github-code |
35650e00d8cb914ff3c6422e6014efe6da6b46ab189dd2f494c487f4b2ac14e9 | <!doctype html>
<html class="theme-next mist use-motion">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta h... | HTML | categories/java/android/index.html | alisa0318/alisa0318.github.io | apache-2.0 | 12,062 | 534 | codeparrot/github-code |
e0e6dea29c9dae9717308fbc038dc7c2291d6dea32bcf89f52c3233b2371c50e | using ConsoleApp1.Unsafe;
namespace ConsoleApp1.Unsafe
{
using System;
// ポインターを受け付ける Unsafe 版
unsafe class Stream
{
// 書き込み先は Safe 版と同じ
byte[] _buffer = new byte[100];
int _offset = 0;
public void Read(byte* data, int length)
{
fixed (byte* p = _b... | C# | Demo/2017/SpanAsSafePointer/ConsoleApp1/Unsafe/Stream.cs | ufcpp/UfcppSample | apache-2.0 | 2,791 | 117 | codeparrot/github-code |
4e44942da6bb48113cedd3fb218594779b38422f1a33ade99db709965dd8b4c4 | import React from 'react';
import PropTypes from 'prop-types';
import ColumnChooserRow from '../ColumnChooserRow';
import { columnsPropTypes } from '../../columnChooser.propTypes';
const ColumnChooserTable = ({ columns = [], id, onChangeCheckbox, t }) =>
columns.map(column => (
<ColumnChooserRow key={column.key}>
... | JavaScript | packages/components/src/List/Toolbar/ColumnChooserButton/ColumnChooser/ColumnChooserTable/ColumnChooserTable.component.js | Talend/ui | apache-2.0 | 914 | 33 | codeparrot/github-code |
8afa006c8b685e71df69bf2925044659a72039beebcb3e3f392432a7bbd24722 | //
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell... | GO | flags/vars.go | heroiclabs/nakama | apache-2.0 | 5,471 | 247 | codeparrot/github-code |
2f84528d449130a3420580e56be63d61ae102b1bdb26beb1c1cb7ad34cef3de4 | /*
* 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 | presto-main/src/main/java/com/facebook/presto/operator/scalar/JsonToRowCast.java | prestodb/presto | apache-2.0 | 6,466 | 132 | codeparrot/github-code |
b012cfc83eb4eeb41e5c59fa242195c42866bd17b0ab451f73a1c74eded7ec67 | /*
*
*/
package net.community.chest.swing.text;
import java.lang.reflect.Method;
import java.util.Map;
import javax.swing.Icon;
import javax.swing.text.MutableAttributeSet;
import javax.swing.text.SimpleAttributeSet;
import net.community.chest.awt.dom.UIReflectiveAttributesProxy;
import net.community.chest.reflect... | Java | chest/gui/swing/src/main/java/net/community/chest/swing/text/MutableAttributeSetXmlProxy.java | lgoldstein/communitychest | apache-2.0 | 3,524 | 88 | codeparrot/github-code |
188ff2d52de4009cf20db1a749f829162389fd99b578a6ee39e2d2b10bb96742 | package com.lhl.zk.interceptor;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import ... | Java | src/main/java/com/lhl/zk/interceptor/AuthInterceptor.java | liuhailin/zookeeper-console | apache-2.0 | 1,140 | 36 | codeparrot/github-code |
de92fda9d835d84e23ed39616ef2756a0be18f035494a387845f2ce8f419a191 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Win32;
namespace IISUtil.Core
{
public class UtilFactory
{
public static IUtil GetUtil()
{
IUtil instance = null;
int majorVersion = GetIISMajorVersion();
switch(majorVersion)
{
case 6:
in... | C# | Core/UtilFactory.cs | BoyTNT/iisutil | apache-2.0 | 762 | 46 | codeparrot/github-code |
962a0fdf293e5847ce97053b3c64b0f7bd6b1b26d271c3a4f1d1a646fc3bb8e9 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the ... | PHP | library/Zend/Validate/File/Exists.php | ankuradhey/dealtrip | apache-2.0 | 5,927 | 205 | codeparrot/github-code |
c004f9eaa7a0696b14c12e8070c82acf3973c9ed29bd1e698cd859e7c4b31bbe | # Copyright 2017-present Adtran, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | Python | voltha/extensions/alarms/olt/olt_los_alarm.py | opencord/voltha | apache-2.0 | 1,492 | 33 | codeparrot/github-code |
f864e5559393c4fa1f60cacd7bfc3c1567fec96ab1e338aff0aefd3b1006ebc1 | =head1 LICENSE
Copyright [1999-2016] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | Perl | modules/EnsEMBL/Web/Component/Location/StrainTable.pm | Ensembl/ensembl-webcode | apache-2.0 | 11,157 | 344 | codeparrot/github-code |
d1f8df4f8b43070aa0e81dee0624fff4310d35aa9f2bbcc2d6fd18b5bdb28b86 | /*
* Copyright (c) 2016 Yahoo Inc.
* Licensed under the terms of the Apache version 2.0 license.
* See LICENSE file for terms.
*/
package com.yahoo.yqlplus.engine.guice;
import com.google.common.base.Joiner;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.yahoo.yqlplus.api.Exports;
... | Java | yqlplus_engine/src/main/java/com/yahoo/yqlplus/engine/guice/MultibinderPlannerNamespace.java | slolars/yql-plus | apache-2.0 | 2,406 | 61 | codeparrot/github-code |
cd2ab1afdbd36928a26c412165ae5d5ce4f52e3d2e46a0e916d9c90423d0171b | package jo.alexa.sim.logic;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.util.List;
import jo.alexa.sim.data.ApplicationBean;
import jo.alexa.sim.data.IntentBean;
import jo.alexa.sim.data.PhraseSegmentBean;
import jo.alexa.sim.data.SlotBean;
import jo.alexa.... | Java | jo.alexa.sim/src/jo/alexa/sim/logic/UtteranceLogic.java | jjaquinta/EchoSim | apache-2.0 | 5,919 | 153 | codeparrot/github-code |
147bca0272ff7cd2b88efd7834e566626404db55d4c79218cc84facc9dcf3d9a | # -*- coding: utf-8 -*-
# Copyright 2017 DST Controls
#
# 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 ... | Python | src/osisoftpy/factory.py | dstcontrols/osisoftpy | apache-2.0 | 1,646 | 57 | codeparrot/github-code |
14b2d243c0e2acb8a5528bbf6b7399df5bcd02d52178d288e6c919bc6be24c67 | /**
* Copyright (C) 2006-2020 Talend Inc. - www.talend.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 appli... | Java | component-runtime-manager/src/test/java/org/talend/sdk/component/runtime/manager/reflect/IconFinderTest.java | chmyga/component-runtime | apache-2.0 | 3,250 | 114 | codeparrot/github-code |
681470bb6ee55f2378b1405174d6d87129826890dc218ed98fb64a6af87be9ee | package indep_screen3;
import com.navid.nifty.flow.ScreenFlowManager;
import com.navid.nifty.flow.ScreenFlowManagerImpl;
import de.lessvoid.nifty.Nifty;
import de.lessvoid.nifty.screen.Screen;
import de.lessvoid.nifty.screen.ScreenController;
/**
* Created by alberto on 08/07/15.
*/
public class Controller3 impleme... | Java | examples/ex1/src/main/java/indep_screen3/Controller3.java | albertonavarro/nifty-flow | apache-2.0 | 1,048 | 47 | codeparrot/github-code |
53a1fcf2dcbb200dc4d2e6e1ef411b18323cfb5947e473dea0172026e48226fe | /**
*
*/
package com.catalyst.sonar.score.api;
import static org.junit.Assert.*;
import static com.catalyst.sonar.score.api.ApiTestConstants.*;
import org.junit.Before;
import org.junit.Test;
/**
* Test Class for {@link Criterion}.
*
* @author JDunn
*/
public class CriterionTest {
private... | Java | src/test/java/com/catalyst/sonar/score/api/CriterionTest.java | CatalystIT/sonar-score-plugin | apache-2.0 | 2,683 | 117 | codeparrot/github-code |
d1472ec1de241a8165ada7e1ac76b1f08534feaaeb5d5d063167228018ff8d7c | package com.youdu.core.display;
import android.view.ViewGroup;
/**
* Created by qndroid on 16/10/27.
*
* @function 用来与外界通信的类, 接收参数, 发送请求
*/
public class DisplayAdContext implements
DisplayAdSlot.DisplayConextListener {
/**
* Data
*/
private DisplayAdSlot mDisplayAdSlot; //图片类型广告
pr... | Java | imooc_business/vuandroidadsdk/src/main/java/com/youdu/core/display/DisplayAdContext.java | FoxconnPeter/IMOCC | apache-2.0 | 1,203 | 57 | codeparrot/github-code |
17c884e88efd02a6864234d0554a1efc7af7da8631c9080f92f6d1f02267f603 | /* -------------------------------------------------------------------------- */
/* Copyright 2002-2014, OpenNebula Project (OpenNebula.org), C12G Labs */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | C | include/VirtualMachineTemplate.h | dberzano/opennebula-torino | apache-2.0 | 3,682 | 103 | codeparrot/github-code |
a61641d53363b515f74dbbb47580cabfd8a7e448755f866b19d698f9aa2259d5 | package io.connecto.connectoapi;
import org.json.JSONArray;
import org.json.JSONException;
import java.util.ArrayList;
import java.util.List;
/**
* A model class which wraps around a list of segment objects.
*
* An instance of this class is returned by the getSegments api.
* @see ConnectoAPI#getSegments(String, ... | Java | src/main/java/io/connecto/connectoapi/SegmentResponse.java | connecto/connecto-java | apache-2.0 | 1,428 | 45 | codeparrot/github-code |
0f188fa78a324b7aed4e2dd086d616c7d66c9892bce833ab709b766fb5c3886d | """
This example loads the pre-trained SentenceTransformer model 'nli-distilroberta-base-v2' from the server.
It then fine-tunes this model for some epochs on the STS benchmark dataset.
Note: In this example, you must specify a SentenceTransformer model.
If you want to fine-tune a huggingface/transformers model like b... | Python | examples/training/sts/training_stsbenchmark_continue_training.py | UKPLab/sentence-transformers | apache-2.0 | 3,514 | 97 | codeparrot/github-code |
0951642fc65671cd63e72723d5a39aa945aab4e8f3c1f8914903f3f155105eec | /*
* 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:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | Java | codec/src/main/java/io/netty/handler/codec/base64/Base64Decoder.java | fenik17/netty | apache-2.0 | 2,347 | 65 | codeparrot/github-code |
fdc72f1630429353272e2fc8b65dcc5815534ca7febeab6a649e42a07e2e3f7a | var
util = require('util'),
querystring = require('querystring'),
request = require('request');
function FacebookProvider(client_id, client_secret, redirect_uri) {
this.client_id = client_id;
this.client_secret = client_secret;
this.redirect_uri = redirect_uri;
}
FacebookProvider.prototype.get... | JavaScript | providers/facebook.js | michaelliao/oauth2-warp | apache-2.0 | 2,957 | 97 | codeparrot/github-code |
21f37f625d6a849c059073ae9436f7a12c82ee81fe60197a4958401d2b3bc25b | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using ModelUNRegister.Utilities;
using System.Reflection;
namespace ModelUNRegister.Models
{
public enum BootstrapTheme
{
[Display(Name = "default")]
Default,
... | C# | ModelUNRegister/Models/MessageViewModel.cs | t123yh/ModelUNRegister | apache-2.0 | 917 | 44 | codeparrot/github-code |
79eae899a87cb2fc81b8a82b39b532471a0fb6d1fca7fdf2cd81180b36140910 | //===----------------------------------------------------------------------===//
//
// Peloton
//
// parameter_value_expression.cpp
//
// Identification: src/backend/expression/parameter_value_expression.cpp
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===---------... | C++ | src/backend/expression/parameter_value_expression.cpp | larryxiao/peloton | apache-2.0 | 1,562 | 46 | codeparrot/github-code |
02f6c2c0e1490b286a5a65aeb08ce0b98f2ef5e276a408a12c172013a1b79b4c | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java | grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java | googleapis/java-common-protos | apache-2.0 | 42,722 | 953 | codeparrot/github-code |
f182cd849b3f8ac0f9ddf456f697325d74ab944e0bcd6ef037f7625df9f55d15 | # Copyright 2011 Tsutomu Uchino
#
# 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 ... | Python | pythonpath/mytools_Mri/ui/controller.py | hanya/MRI | apache-2.0 | 2,539 | 91 | codeparrot/github-code |
028dbb3f2b01ef58f5f5e60263be971cc427276d9be1f00101992151e750e979 | /*
* Copyright 2013-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Java | cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/useradmin/ListOrganizationUsersRequestTest.java | alexander071/cf-java-client | apache-2.0 | 1,079 | 37 | codeparrot/github-code |
d9fc45ffb1d68d0bcbf1b93e83cac1fe968ffb3e4b53547a826deabcf99802f5 | using System;
using System.Linq;
using System.Threading.Tasks;
using Box.V2.Managers;
using Box.V2.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Box.V2.Test
{
[TestClass]
public class BoxEventsManagerTest : BoxResourceManagerTest
{
private readonly BoxEventsManage... | C# | Box.V2.Test/BoxEventsManagerTest.cs | box/box-windows-sdk-v2 | apache-2.0 | 17,230 | 245 | codeparrot/github-code |
c05699b194c56daa4ed870e6a1f7441023b2a7166a597211b83ce122580fb678 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Trifolia.Export.MSWord.Models
{
internal class HeaderDescriptor
{
public HeaderDescriptor()
{ }
public HeaderDescriptor(string headerName)
{
this.HeaderName = headerName... | C# | Trifolia.Export/MSWord/Models/HeaderDescriptor.cs | lantanagroup/trifolia | apache-2.0 | 1,192 | 47 | codeparrot/github-code |
3172b083d9ea38440f8bb0ebac21becf840b1b1b82b48c793f020a4fb4f3638a | /*
* Copyright (c) 2008-2016, Hazelcast, 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 ... | Java | hazelcast/src/main/java/com/hazelcast/config/JobTrackerConfigReadOnly.java | lmjacksoniii/hazelcast | apache-2.0 | 2,164 | 67 | codeparrot/github-code |
3a778a818658219e19711e7fdac2344bd9a2544fd5d46e07dc6a4f2cc5ddbd23 | package org.ofbiz.camel.services;
import org.apache.camel.CamelExecutionException;
import org.ofbiz.base.util.Debug;
import org.ofbiz.camel.loader.CamelContainer;
import org.ofbiz.service.DispatchContext;
import org.ofbiz.service.ServiceUtil;
import java.util.Collections;
import java.util.Map;
public class CamelServ... | Java | java/specialpurpose/camel/src/org/ofbiz/camel/services/CamelServices.java | jamesyong/o3erp | apache-2.0 | 1,242 | 36 | codeparrot/github-code |
0ed0b79408f294bd60535f98c48ba2816dcbb8ed4d3fe47e6bba0081cea6ddba | package no.ssb.vtl.script.operations.join;
/*-
* ========================LICENSE_START=================================
* Java VTL
* %%
* Copyright (C) 2016 - 2018 Hadrien Kohl
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licens... | Java | java-vtl-script/src/test/java/no/ssb/vtl/script/operations/join/NewInnerJoinOperationTest.java | statisticsnorway/java-vtl | apache-2.0 | 9,205 | 234 | codeparrot/github-code |
a5861c67fc733f45c5280d46a57ec3cab88b4f05069dc52fda280e0097c0a476 | package com.gmail.thelimeglass.Scoreboards;
import org.bukkit.event.Event;
import org.bukkit.scoreboard.Team;
import org.eclipse.jdt.annotation.Nullable;
import ch.njol.skript.classes.Changer;
import ch.njol.skript.classes.Changer.ChangeMode;
import ch.njol.skript.lang.Expression;
import ch.njol.skript.lang.SkriptPar... | Java | src/main/java/com/gmail/thelimeglass/Scoreboards/ExprTeamFriendlyInvisibles.java | TheLimeGlass/Skellett | apache-2.0 | 1,691 | 56 | codeparrot/github-code |
5cfa18996fdc6303b563a4c28e1b62cd006f55ae520ef34bdea01d05cf42166d | /*
* Copyright 2013 The Regents of The University California
*
* 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 b... | Java | src/main/java/edu/berkeley/sparrow/daemon/nodemonitor/TaskScheduler.java | dmwu/sparrow | apache-2.0 | 6,672 | 180 | codeparrot/github-code |
5d3d5ca396a5d5f07749aecde57f0244f10340e1293117f1fe8ea33c975eff47 | package com.cworld.earngold.sys.action;
import org.springframework.stereotype.Controller;
import com.core.code.action.BaseAction;
import com.cworld.earngold.mobile.inf.InterfaceLogin;
import com.cworld.earngold.mobile.inf.InterfaceUser;
import com.cworld.earngold.mobile.inf.impl.InterfaceLoginImpl;
import com... | Java | src/com/cworld/earngold/sys/action/UserAction.java | hejzgithub/CworldEarnGold | apache-2.0 | 3,106 | 135 | codeparrot/github-code |
5beb33d615557b13e0d0da8a27bae4d0b5bcbc459e82ed6acf60ffe5df4831ef | package com.example.newbook4.bean;
import java.util.Comparator;
import org.json.JSONException;
import org.json.JSONObject;
import android.util.Log;
public class InfoBean {
public int info_id;
public int user_id;
public String bookname;
public String price;
//public String time;
public String address;
... | Java | src/com/example/newbook4/bean/InfoBean.java | wangyusheng/NewBook3 | apache-2.0 | 918 | 51 | codeparrot/github-code |
16aa21711c221b8c4ee6f4c6dee4a3ca29f340e65915dc5065c51a70aaf6cb7e | #if !defined(AFX_ROSTERNAMESSET_H__EC473CC1_5B18_11D2_839B_00400548A44F__INCLUDED_)
#define AFX_ROSTERNAMESSET_H__EC473CC1_5B18_11D2_839B_00400548A44F__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// RosterNamesSet.h : header file
//
//////////////////////////////////////////////////////////... | C | Projects/WebAthl/RosterNamesSet.h | darianbridge/WebAthl | apache-2.0 | 1,805 | 72 | codeparrot/github-code |
e8f61098df72633a2ab0b15aa0a5d7903bedaa884aa21b3ce146513da567f8d4 | <?php
/**
* [WeEngine System] Copyright (c) 2014 WE7.CC
* WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
*/
defined('IN_IA') or exit('Access Denied');
function cloud_client_define() {
return array(
'/framework/function/communication.func.php',
... | PHP | framework/model/cloud.mod.php | shengkai86/yushungroup | apache-2.0 | 12,823 | 423 | codeparrot/github-code |
fcde7bf333b91940ca176029af765ab0d7139bfa0d90538c2c087ecb9fd842ee | /*
* Copyright 2013, Unitils.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 law or... | Java | unitils-core/src/main/java/org/unitils/core/junit/AfterTestTearDownStatement.java | Silvermedia/unitils | apache-2.0 | 1,320 | 42 | codeparrot/github-code |
0e7c7cd938f9a29f2b1f33d434956b35d4f14e10a53b5ba457c67de86101b2c2 | package weixin.popular.bean.datacube.getcardbizuininfo;
import com.google.gson.annotations.SerializedName;
/**
* 拉取卡券概况数据接口-响应参数-日期数据
*
* @author Moyq5
*/
public class BizuinInfoResultInfo {
/**
* 日期信息
*/
@SerializedName("ref_date")
private String refDate;
/**
* 浏览次数
*/
@... | Java | src/main/java/weixin/popular/bean/datacube/getcardbizuininfo/BizuinInfoResultInfo.java | China-ls/wechat4java | apache-2.0 | 3,894 | 232 | codeparrot/github-code |
7a368b03c80401534eb4bf3b333c77f042172452eb5be901e3a68207445b80d8 | // Copyright 2015 The etcd 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 t... | GO | etcdserver/api/v3rpc/watch.go | dnaeon/etcd | apache-2.0 | 7,705 | 305 | codeparrot/github-code |
20defacc75204bd28836995cc8b067423643e77b649a17f8b49b7935c068700a | <?php
/**
* @group conduit
*/
final class ConduitAPI_paste_create_Method extends ConduitAPI_paste_Method {
public function getMethodDescription() {
return 'Create a new paste.';
}
public function defineParamTypes() {
return array(
'content' => 'required string',
'title' => 'optional... | PHP | src/applications/paste/conduit/ConduitAPI_paste_create_Method.php | yangming85/phabricator | apache-2.0 | 1,630 | 68 | codeparrot/github-code |
d19e4f57d5a643c110efd4df95f48074df0773c34b00dd358994420f35e55e91 | /*
* Copyright 2016-2017 Florent Weber <florent.weber@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 require... | Java | cluster-jms/src/main/java/io/amaze/bench/cluster/jms/JMSLeaderClusterClientFactory.java | florentw/bench | apache-2.0 | 4,603 | 120 | codeparrot/github-code |
7edfd0e99f5c5141fd9a209d721f4cea54bd4f51340c4cab447ae26a97a307ab | // Copyright (C) 2012 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | Java | gerrit-httpd/src/main/java/com/google/gerrit/httpd/restapi/RestApiServlet.java | Overruler/gerrit | apache-2.0 | 37,717 | 1,061 | codeparrot/github-code |
54c3ce1d3afe92482a732e753c48546b91a44b97f47e968ed25cb12d00dffaca | package com.cloudata.clients.keyvalue;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import com.google.common.base.Function;
import com.google.common.collect.Iterators;
import com.google.common.collect.Lists;
import com.google.common.util.concurrent.ListenableFuture;
import com.google.... | Java | cloudata-client/src/main/java/com/cloudata/clients/keyvalue/PrefixKeyValueStore.java | justinsb/cloudata | apache-2.0 | 3,663 | 103 | codeparrot/github-code |
f8d7d57be6e814b7ef1e4ecf7a971cf2f8b44c2b8407b8fd863eee0b7e2d9b73 | /*
Noel Lopes is an Assistant Professor at the Polytechnic Institute of Guarda, Portugal
Copyright (C) 2009, 2010, 2011, 2012 Noel de Jesus Mendonça Lopes
This file is part of GPUMLib.
GPUMLib is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as p... | C | src/random/random.h | raygit/GPUMLib | apache-2.0 | 2,104 | 58 | codeparrot/github-code |
1c887b9a56e894d06601258a10f9c59ead883ec39ddb95ce6c742df92e083cf3 | package ec2
import (
"encoding/base64"
"encoding/xml"
"fmt"
"net/url"
"strconv"
"strings"
"github.com/dynport/gocloud/aws"
)
func NewFromEnv() *Client {
return &Client{
aws.NewFromEnv(),
}
}
type Client struct {
*aws.Client
}
func (client *Client) Endpoint() string {
prefix := "https://"
if client.Cl... | GO | aws/ec2/client.go | dynport/gocloud | apache-2.0 | 8,627 | 317 | codeparrot/github-code |
4ddfbac976cd3e02ab67833ef426add9b1eea35124f97519dd89b7a47e2b94e3 | /*
* 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 | tomcat-8.0.9-sourcecode/java/org/apache/tomcat/websocket/Util.java | wenzhucjy/tomcat_source | apache-2.0 | 21,751 | 543 | codeparrot/github-code |
33d4e43928ec17aa3e46b5933ea6574fcaa277a454abcf0483062a200f3210cb | <!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Projet de la mairie de Loiron - Loom Architecture">
<meta name="keywords" conte... | HTML | projets/tertiaire/projets_tertiaire/mairie-loiron.html | anael/Loom-architecture | apache-2.0 | 20,276 | 360 | codeparrot/github-code |
b6af5b129c4aa658810b6b836e6eda46b5031dc75e9642b9d6b5060ac6b651fb | /*
* Copyright 2012-2013 inBloom, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | Java | sli/dashboard/src/test/java/org/slc/sli/dashboard/web/unit/interceptor/SessionCheckInterceptorTest.java | inbloom/secure-data-service | apache-2.0 | 3,264 | 95 | codeparrot/github-code |
238b22c1b92a39edeae64defdc46a6b738a8931ab6432b485023574bbb874231 | <?php
/**
*
* Publishing and Managing State
* ======
*
* After applying changes, the Editor queues a worker to publish mail, feed,
* and notifications, and to perform other background work like updating search
* indexes. This allows it to do this work without impacting performance for
* users.
*
* When work ... | PHP | src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php | UNCC-OpenProjects/Phabricator | apache-2.0 | 93,035 | 3,134 | codeparrot/github-code |
c33312c58cc3c1358bf1d1951e2ba5d8c1de3131b783e9e9729d1250eb4c773b | /*
* Copyright 2014-2021 Real Logic Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | Java | agrona/src/test/java/org/agrona/collections/IntArrayQueueTest.java | real-logic/Agrona | apache-2.0 | 4,747 | 193 | codeparrot/github-code |
84edf3c060fef2b609cb36e430cb8551016171b2bdfb7171b23db9c4ba3bc6fd | /*
* Copyright Terracotta, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java | impl/src/test/java/org/ehcache/impl/internal/store/disk/OffHeapDiskStoreTest.java | lorban/ehcache3 | apache-2.0 | 22,169 | 518 | codeparrot/github-code |
9f737b88066049194ac37fb4de5dbf6ffd4e0bc54a6d15fbe64091e85bb45432 | /*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
package vnmr.bo;
import java.util.*;
import java.io.*;
import vnmr.util.... | Java | src/vnmrj/src/vnmr/bo/StatementHistory.java | OpenVnmrJ/OpenVnmrJ | apache-2.0 | 27,390 | 748 | codeparrot/github-code |
9d1ec341059cb218c358c8b132d1d38021e6d835ce4d453762d229d9712b2722 | <!DOCTYPE html><html><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="description">
<meta name="keywords" content="static content generator,static site generator,static site,HTML,web development,.NET,C#,Razor,Markdown,YAML">
<meta na... | HTML | docs/api/FunctionalSharp.DiscriminatedUnions/DiscriminatedUnionList_8/6EDAA1CA.html | Patrickkk/FunctionalSharp | apache-2.0 | 14,216 | 295 | codeparrot/github-code |
b0bad7b3b306a365fb85e81a910730613c7ca2be451fc14cae390273db24c1e9 | #pragma once
#include "openvr_driver.h"
namespace steamvrbridge {
//==================================================================================================
// Constants
//==================================================================================================
static const float k_fScalePSMoveA... | C | src/main/cpp/driver/constants.h | HipsterSloth/PSMoveSteamVRBridge | apache-2.0 | 11,586 | 458 | codeparrot/github-code |
930de3325f6d98d2073c5af19f251bf6fd312fdc81ddeba2d60c6bcd60006d84 | package com.aishang.app.ui.MyBuyAndSale;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import butterknife.Bind;
import butterknife.ButterKnife;
import com.aishan... | Java | app/src/main/java/com/aishang/app/ui/MyBuyAndSale/RentAdapter.java | find-happiness/android-aishang | apache-2.0 | 2,841 | 100 | codeparrot/github-code |
00d4e4a2e95721b0d870a57f668d6660494edca22c9e0992c312cd00fe2a1011 | $(document).ready(function () {
google.charts.load('current', { packages: ['corechart', 'bar'] });
google.charts.setOnLoadCallback(drawBuildSummary);
function drawBuildSummary() {
var elem = $('#elapsed_time_chart');
var data = [['Elapsed Time', 'Count']];
var categories = [];
... | JavaScript | Dashboard/Scripts/elapsed-time.js | jaredpar/jenkins | apache-2.0 | 1,727 | 51 | codeparrot/github-code |
c9c5b6789a5f5d790987c15eb6043097d9341b82d0e0dcbbeb1b25bd6f8d8134 | /*
* 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/java/org/apache/cassandra/hints/HintsDispatchExecutor.java | jasonstack/cassandra | apache-2.0 | 11,594 | 320 | codeparrot/github-code |
24eb58d86552c6227794f1a8107cba85fb4bd76ef3f75782209c1dc9689315d1 | import React from 'react';
import Reflux from 'reflux';
import ChatActions from '../events/chat-actions';
import ChatStore from '../events/chat-store';
import classNames from 'classnames';
import {deepEqual} from '../events/chat-store-utils';
import {Dropdown, MenuItem} from 'react-bootstrap';
var GroupHeaderPane = Re... | JavaScript | public/javascripts/components/group-header-pane.js | JetChat/JetChat | apache-2.0 | 3,767 | 86 | codeparrot/github-code |
7c04d37006a0be80b470f3851b8a0c7e5d6faa8d8263dbc8b35fad96d8dee412 | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | Python | plur/stage_1/code2seq_dataset.py | google-research/plur | apache-2.0 | 16,900 | 411 | codeparrot/github-code |
d12154c49f23a90b54a3c651317ec72809d9991482753884713e5cd130067d4c | /*
* 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/java/org/apache/fop/fo/FObj.java | Distrotech/fop | apache-2.0 | 29,191 | 863 | codeparrot/github-code |
e70f507aee11be5fbebf020026911e4b92e690959c040520293ae2c8b43afc8e | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// Mono.Security.X509.X509Certificate
struct X509Certificate_t1623369439;
// System.Byte[]
struct ByteU5BU5D_t4260760469;
// System.String
struct String_t;
#include "mscorlib_System_... | C | iOS_app/Classes/Native/mscorlib_System_Security_Cryptography_X509Certific3076817455.h | Bersaelor/D2 | apache-2.0 | 3,589 | 92 | codeparrot/github-code |
23f990c1c358e6efbe7ec01486e74f4629d3642830faf73422ecb7f9ee310b1a | /*
* Copyright 2017 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 a... | Java | jbpm-wb-human-tasks/jbpm-wb-human-tasks-client/src/main/java/org/jbpm/workbench/ht/client/editors/tasklogs/TaskLogsViewImpl.java | etirelli/jbpm-console-ng | apache-2.0 | 2,080 | 61 | codeparrot/github-code |
e5bb5f4bbe2c7763412bd8e60241cfc3a5554363034c209b1f6e2a1f65161050 | package com.dft.cordova.plugin.onyx;
import org.apache.cordova.CordovaWebView;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaInterface;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.grap... | Java | src/android/OnyxPlugin.java | DFTinc/cordova-plugin-onyx | apache-2.0 | 9,623 | 267 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.