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
6d281b03d7430e032f827df934593b91adc998e11df8cc337bade39b665b99f7
/* * Copyright (c) 2014 Spotify AB. * * 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
src/main/java/com/spotify/docker/client/messages/ContainerInfo.java
la3lma/docker-client
apache-2.0
8,429
262
codeparrot/github-code
64a980acc1323fc93f422715d8f8548b4eb4affbf154e90fa763de506e330cef
DELIMITER / INSERT INTO SEQUENCE_AWARD_ID VALUES(NULL) / INSERT INTO AWARD (AWARD_ID,AWARD_NUMBER,DOCUMENT_NUMBER,TITLE,SEQUENCE_NUMBER,AWARD_TYPE_CODE,LEAD_UNIT_NUMBER,STATUS_CODE,BASIS_OF_PAYMENT_CODE,METHOD_OF_PAYMENT_CODE,TRANSACTION_TYPE_CODE,ACTIVITY_TYPE_CODE,TEMPLATE_CODE,CFDA_NUMBER,SPONSOR_CODE,SPONSOR_AWARD_...
SQL
coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/current_mysql/4.0/dml/KC_DML_31004_AWARD_00S0.sql
blackcathacker/kc.preclean
apache-2.0
34,628
113
codeparrot/github-code
b0faa76815102d0e990e3a51e5939af8aee2006f8d4c5dca3368938ddf36adc9
//////////////////////////////////////////////////////////////////////////// // Module : alife_simulator_base2.cpp // Created : 25.12.2002 // Modified : 12.05.2004 // Author : Dmitriy Iassenev // Description : ALife Simulator base class //////////////////////////////////////////////////////////////////////////// ...
C++
src/xray/xr_3da/xrGame/alife_simulator_base2.cpp
OLR-xray/OLR-3.0
apache-2.0
3,113
98
codeparrot/github-code
f3715437c551951a36cfdf96a2acf2863e5358769c739c381a2550422c624e47
package org.insightech.er.db.impl.db2; import org.insightech.er.db.impl.db2.tablespace.DB2TablespaceProperties; import org.insightech.er.editor.model.ERDiagram; import org.insightech.er.editor.model.dbexport.ddl.DDLCreator; import org.insightech.er.editor.model.diagram_contents.element.node.category.Category; im...
Java
src/org/insightech/er/db/impl/db2/DB2DDLCreator.java
roundrop/ermasterr
apache-2.0
5,719
165
codeparrot/github-code
378df4d81293e7568390ab52c6ca6e43673f3a0fb50a0c52fe2cbd5bc1ff7f88
/* * Copyright 2011 Red Hat, Inc. * * 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, * publis...
C
krb5/src/util/verto/module.c
drankye/kerb-token
apache-2.0
1,726
57
codeparrot/github-code
5aea061b83f68bc9e14818503474f9a3235f6166d6f30bf424d2de0dae30426c
/* * Copyright 2015 Systemic Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
C#
Code/Sif3Framework/Sif.Framework/Model/Infrastructure/Environment.cs
nsip/Sif3Framework-dotNet
apache-2.0
4,697
135
codeparrot/github-code
c7485b2e9c494adb37338fcbf2487ecd1cbf871a89e319afd29abaa07c71a6cd
/* * Copyright (c) 2015 Cisco 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 applicabl...
C
src/vnet/devices/ssvm/node.c
milanlenco/vpp
apache-2.0
9,597
346
codeparrot/github-code
d6ede876b1f0d55a82f8c4e3e6dddb8a50ad5e163c4a0d58bcdeff40b910fa9e
/* * #%L * Protempa Framework * %% * Copyright (C) 2012 - 2013 Emory University * %% * 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...
Java
protempa-framework/src/main/java/org/protempa/KnowledgeSource.java
eurekaclinical/protempa
apache-2.0
6,587
144
codeparrot/github-code
cc9b6c8a0de29a5c930f0e095fc45d3fd86195f30a71cc7a8f296613c5282ec5
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
Java
processing/src/main/java/io/druid/segment/BitmapOffset.java
lizhanhui/data_druid
apache-2.0
8,675
234
codeparrot/github-code
1758e3ff01189e5cd9932b37d8b572efc5f08ff2733357a9966d080cd5eb1907
/* * Copyright 2013-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Java
src/com/facebook/buck/httpserver/TraceDataHandler.java
saleeh93/buck-cutom
apache-2.0
3,302
108
codeparrot/github-code
bda25745a61dd207bf301a1ffa00de73db81f6e3dde3caa8d26edeb3ccc365f1
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using Nest.Litterateur.Documentation.Files; namespace Nest.Litterateur { public static class LitUp { private static readonly string[] SkipFolders = { "Nest.Tests.Literate", "Debug", "Release" }; public ...
C#
src/CodeGeneration/Nest.Litterateur/LitUp.cs
UdiBen/elasticsearch-net
apache-2.0
1,352
49
codeparrot/github-code
59cda6cd8908576a3504f7166db66075be0ae4b6f3fd1e2a464afd8980148278
/** * Copyright © 2015 Christian Wulf, Nelson Tavares de Sousa (http://teetime-framework.github.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licens...
Java
src/main/java/teetime/stage/taskfarm/StaticTaskFarmStage.java
teetime-framework/teetime
apache-2.0
5,450
175
codeparrot/github-code
f8207a6cd5614035ea30dfb19e63669ede87e33fab47ee71696584a74bd613e6
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DNSCache = exports.DNS_DEFAULT_EXPIRE = void 0; var _dns = _interopRequireDefault(require("dns")); var _net = _interopRequireDefault(require("net")); var _logger = require("./logger"); function _interopRequireDefault(obj) { retu...
JavaScript
lib/utils/dns-cache.js
blinksocks/blinksocks
apache-2.0
2,047
91
codeparrot/github-code
d1b8a381295f063b512dd91e0f676a5b1ec5cb1f8bad37bf19e6e2554315fa44
'use strict'; var chai = require('chai'); require('chai-as-promised'); var should = chai.should(); var PouchDB = require('pouchdb-browser'); PouchDB.adapter('worker', require('../../client')); describe('custom api test suite', function () { this.timeout(180000); var db; before(function () { var worker =...
JavaScript
test/custom-api/test.js
nolanlawson/worker-pouch
apache-2.0
1,003
49
codeparrot/github-code
237ba4dedca9b9caf2dcf76cc6194337fa6d283d04a688995774656501d00b6d
# Copyright (c) 2018 by contributors. 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...
Python
python-package/xlearn/base.py
PKU-Cloud-Lab/xLearn
apache-2.0
2,861
117
codeparrot/github-code
74643a86ed33b566f5d92f28eb56212711f689e0e5cafcb8ca2258e6a293112e
/** * Copyright 2014 SAP AG * * 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 w...
Java
org.spotter.core/src/org/spotter/core/instrumentation/InstrumentationBroker.java
CloudScale-Project/DynamicSpotter
apache-2.0
7,375
274
codeparrot/github-code
63d77de4a7334ce0257fb27504fccfde49a5de3c560fcd2a12238147b53e57ef
"""Cron job implementation of Zulip's incoming email gateway's helper for forwarding emails into Zulip. https://zulip.readthedocs.io/en/latest/production/email-gateway.html The email gateway supports two major modes of operation: An email server (using postfix) where the email address configured in EMAIL_GATEWAY_PATT...
Python
zerver/management/commands/email_mirror.py
showell/zulip
apache-2.0
3,125
79
codeparrot/github-code
90cecce5ad98fa4341a837df00a93be99bbf5f6abeb3a99f20e468848076237d
package data import ( "github.com/rancher/rancher/pkg/auth/providers/activedirectory" "github.com/rancher/rancher/pkg/auth/providers/azure" "github.com/rancher/rancher/pkg/auth/providers/github" "github.com/rancher/rancher/pkg/auth/providers/googleoauth" "github.com/rancher/rancher/pkg/auth/providers/ldap" local...
GO
pkg/auth/data/authconfig_data.go
rancherio/rancher
apache-2.0
2,543
80
codeparrot/github-code
76ae64532440f4e0401d77a7dad901340b34330d43091ce2aa466feaca306a91
package org.knowm.xchart.demo.charts.date; import java.time.LocalDateTime; import java.time.Month; import java.time.format.DateTimeFormatter; import java.util.List; import java.util.Random; import java.util.stream.Collectors; import java.util.stream.IntStream; import org.knowm.xchart.SwingWrapper; import org.knowm.xch...
Java
xchart-demo/src/main/java/org/knowm/xchart/demo/charts/date/DateChart09.java
nroduit/XChart
apache-2.0
2,383
82
codeparrot/github-code
5b72f4b09f639c6ed8881267737a06d34ab405a3b73b08221341db662d914d5e
package com.planet_ink.coffee_mud.core.intermud.packets; import com.planet_ink.coffee_mud.core.intermud.server.*; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*...
Java
com/planet_ink/coffee_mud/core/intermud/packets/ChannelUserReply.java
welterde/ewok
apache-2.0
2,969
88
codeparrot/github-code
26f0eaa75db5436ca2d1faff466e7f7c03221a9f83ee851677403580013609c4
/* * Copyright (C) 2008 The Guava 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 agre...
Java
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
berndhopp/guava
apache-2.0
13,676
413
codeparrot/github-code
3e93f3c97c10c6fd9737405dffb9770b03f8df630e750e75c04ca38f2c025930
package edu.cmu.cs.cloudlet.android.application.graphics; import java.io.DataInputStream; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; import java.util.ArrayList; import java.util.HashMap; import java.util.SortedMap; import java.util.SortedSe...
Java
android/android_fluid/src/edu/cmu/cs/cloudlet/android/application/graphics/GNetworkClientReceiver.java
cmusatyalab/elijah-provisioning
apache-2.0
5,437
185
codeparrot/github-code
32f6a8ed45150c71ba163ab650586b906a3ce5a8e1f32cf55a64b2c681e68ba7
/********************************************************************************** * $URL: $ * $Id: $ *********************************************************************************** * * Copyright (c) 2010, 2011, 2012, 2013, 2014 Sakai Foundation * * Licensed under the Educational Community License, Version ...
Java
kernel/kernel-impl/src/main/java/org/sakaiproject/content/impl/HtmlPageFilter.java
eemirtekin/Sakai-10.6-TR
apache-2.0
5,249
148
codeparrot/github-code
6d505c8164cd3aecfb7fd03b6a670ebb5e1f1a1f9378147865d84cd3ff3c2755
/* ** Copyright [2013-2015] [Megam Systems] ** ** 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...
GO
templates/ubuntu/tpl_ceph_install.go
rajthilakmca/megdc
apache-2.0
5,706
187
codeparrot/github-code
bf26a336b802bd3d5bb6ec8f539ac365259744ed24248ec543bba2f0b072a27c
/* eslint-env jest */ import { actionReducer } from './utils' describe('actionReducer', () => { const counter = actionReducer(0, { INCREMENT (state, action) { return state + 1 }, DECREMENT (state, action) { return state - 1 }, SET_VALUE (state, action) { return action.value ...
JavaScript
src/reducers/utils.test.js
mareklibra/userportal
apache-2.0
994
39
codeparrot/github-code
8e6eca6adb371952706ccc52502eac2d467cab8bf1e7f3162e1f3728a9d68f76
// <copyright file="Quorum.cs" company="Basho Technologies, Inc."> // Copyright 2011 - OJ Reeves & Jeremiah Peschka // Copyright 2014 - Basho Technologies, Inc. // // This file is provided to you under the Apache License, // Version 2.0 (the "License"); you may not use this file // except in compliance with the Licens...
C#
src/RiakClient/Quorum.cs
rob-somerville/riak-dotnet-client
apache-2.0
11,308
299
codeparrot/github-code
736ce52c27efd09c0ed16a3d9cc0dce5eeee9b48083f31945af5853e23e7dbfe
package com.dankideacentral.dic.activities; import android.content.res.Configuration; import android.os.Bundle; import android.preference.PreferenceActivity; import android.support.annotation.LayoutRes; import android.support.annotation.Nullable; import android.support.v7.app.ActionBar; import android.support.v7.app.A...
Java
app/src/main/java/com/dankideacentral/dic/activities/AppCompatPreferenceActivity.java
srowhani/migrate-app
apache-2.0
3,008
110
codeparrot/github-code
3399c1731ed5c6ec3991a4c6963d362ac194c27448ae3183e317d9ad03f56743
/* * Copyright (c) 2012 Binson Zhang. All rights reserved. * * @author Binson Zhang <bin183cs@gmail.com> * @date 2012-12-11 */ #include <iostream> #include <vector> #include <algorithm> using namespace std; class Solution { public: struct TwoSum { int sum; size_t a; size_t b; TwoSum(int sum = ...
C++
src/leetcode/4Sum.cpp
bin3/challenge
apache-2.0
2,884
117
codeparrot/github-code
944744c6decce9755e012e1a47238809940ad54b7f6490cf6d3e0fc74f0dc4e2
package ${topLevelDomain}.${companyName}.${productName}.model.repository.user; import ${topLevelDomain}.${companyName}.${productName}.model.data.UserToken; import ${topLevelDomain}.${companyName}.${productName}.model.repository.ApplicationTestCase; import org.junit.Assert; import org.junit.Test; import javax.annotati...
Java
src/main/resources/data-repository-test-user-templates/TestUserToken.java
dgestep/big-code-bang
apache-2.0
1,331
36
codeparrot/github-code
305db964af18014a28a84e6d59882e1019a58676d6c7b7cceaa1112691cf90d1
""" Provides functionality to emulate keyboard presses on host machine. For more details about this component, please refer to the documentation at https://home-assistant.io/components/keyboard/ """ import voluptuous as vol from homeassistant.const import ( SERVICE_MEDIA_NEXT_TRACK, SERVICE_MEDIA_PLAY_PAUSE, ...
Python
homeassistant/components/keyboard/__init__.py
PetePriority/home-assistant
apache-2.0
2,078
58
codeparrot/github-code
e8a8cfaa180d916340dadcf25a5ba2cd04ede4a15bc4fd87703d260f4fd9cf22
import * as THREE from 'three'; import STORE from 'store'; import { MAP_WS } from 'store/websocket'; import _ from 'lodash'; import { drawSegmentsFromPoints, drawDashedLineFromPoints, drawShapeFromPoints, } from 'utils/draw'; import Text3D, { TEXT_ALIGN } from 'renderer/text3d'; import TrafficSigns from 'rendere...
JavaScript
modules/dreamview/frontend/src/renderer/map.js
xiaoxq/apollo
apache-2.0
16,450
517
codeparrot/github-code
42db0aa3612828fac5e6500c0180c2a45900e70c21a89840d90f409f4bf33c85
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Collections.Immutable; using System.Linq; using System.Threading; usi...
C#
src/Features/Core/Portable/GenerateMember/GenerateVariable/AbstractGenerateVariableService.State.cs
brettfo/roslyn
apache-2.0
21,813
453
codeparrot/github-code
f08ed4f4418d45a8eb4d4ae3ce4b9275da3ea67251c7fb90696522d18f38c1cd
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
Java
src/main/java/org/apache/xml/security/stax/impl/processor/input/XMLEncryptedKeyInputHandler.java
apache/santuario-java
apache-2.0
18,812
346
codeparrot/github-code
31ba2a7c802ed9eb1a202cb6d79a5f903cfc7f1593e7b070956164488726afe6
/* * 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
cloudsigma2/src/test/java/org/jclouds/cloudsigma2/compute/CloudSigma2ComputeServiceLiveTest.java
hardfish/justTest
apache-2.0
2,208
57
codeparrot/github-code
fafd8dc67e9cd6172da4650e16825de6ff2aa1fea8e5e9f592df95029da9e6a7
#if !defined(AFX_VIDEOSETDLG_H__664275CD_D25D_4617_BDF9_55BBFFF58C78__INCLUDED_) #define AFX_VIDEOSETDLG_H__664275CD_D25D_4617_BDF9_55BBFFF58C78__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // VideoSetDlg.h : header file // /////////////////////////////////////////////////////////////////////...
C
Documents/AnyChat/AnyChatCoreSDK_Win32_r4840/src/client/c++/Hello AnyChat/VideoSetDlg.h
alucard263096/AMKRemoteClass
apache-2.0
1,945
76
codeparrot/github-code
9d0552962812cc0e89e858fe2fd179e9f812af718ee754ad9efb0321f7a2920b
package javacommon.base; import java.math.BigDecimal; import java.math.BigInteger; import java.text.SimpleDateFormat; import java.util.Date; import javacommon.util.ConvertRegisterHelper; import javacommon.util.PageRequestFactory; import javax.servlet.http.HttpServletRequest; import org.springframework.b...
Java
plugins/springmvc/java_src/javacommon/base/BaseSpringController.java
zhangwenzhuo/Rapid
apache-2.0
3,975
104
codeparrot/github-code
6ae82f7732e04a5ee658c079e85850b56f8af9aca40f2bf484ee0b350eabd0da
/* * Copyright 2016 Black Duck Software, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
Java
src/test/java/com/blackducksoftware/ohcount4j/scan/ElixirScannerTest.java
mpujari/ohcount4j
apache-2.0
3,123
76
codeparrot/github-code
35c4a8c2928f5cac203309f38f494de2bf84ba4904bfe2c769c1d7ac8f7b66e1
/* // Licensed to DynamoBI Corporation (DynamoBI) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. DynamoBI licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may ...
Java
farrago/src/net/sf/farrago/runtime/FarragoUdrInvocationFrame.java
LucidDB/luciddb
apache-2.0
1,449
55
codeparrot/github-code
66d58d461f7887cf28cc3f23c966f6dd460f23b5771df4be7f3d9f50f1f4c9ef
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in ...
Java
inspektr-audit/src/main/java/org/apereo/inspektr/audit/spi/support/ParametersAsStringResourceResolver.java
Jasig/inspektr
apache-2.0
1,683
53
codeparrot/github-code
df3265c2c4d9e2f6d6a108ca1e9ee95a6a4e22667804857b36d9131a478af2d5
/* Copyright 2021 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
GO
prow/sidecar/censor.go
cblecker/test-infra
apache-2.0
19,195
601
codeparrot/github-code
ed7b48ffe3f66f21e134cedc46616347c912c9dc0d0ecc8f83d1d33dc6e22348
function Get-TargetResource { [CmdletBinding()] [OutputType([System.Collections.Hashtable])] param ( [Parameter(Mandatory = $true)] [System.String] $LogPath, [Parameter(Mandatory = $true)] [System.UInt32] $LogSpaceInGB, [Parameter()] ...
PowerShell
lib/puppet_x/dsc_resources/SharePointDsc/DSCResources/MSFT_SPDiagnosticLoggingSettings/MSFT_SPDiagnosticLoggingSettings.psm1
jpogran/puppetlabs-dsc
apache-2.0
8,555
323
codeparrot/github-code
10012c1533fa0e51d5ab23f4f3cec1fef4d4f4b0eeca8a4ef0631532255cf784
<meta charset="utf-8" lang="kotlin"> # Writing a Lint Check: Basics ## Preliminaries (If you already know a lot of the basics but you're here because you've run into a problem and you're consulting the docs, take a look at the frequently asked questions chapter.) ### “Lint?” The `lint` tool shipped with the C comp...
HTML
docs/api-guide/basics.md.html
googlesamples/android-custom-lint-rules
apache-2.0
50,618
1,144
codeparrot/github-code
982ce8bf9d61970fd8a19f8158ce5b9b0d1794716f841e242d4abda53b6f65c9
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/storagegateway/StorageGateway_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/storagegateway/model/FileSystemAssociationInfo.h> #include <utility> ...
C
aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/DescribeFileSystemAssociationsResult.h
awslabs/aws-sdk-cpp
apache-2.0
3,418
86
codeparrot/github-code
88adbc6c207dd815734eec16413833dcb2aeef08e71e48c4bd0efe7c606aaed7
# Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # 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 ...
Python
nova/api/metadata/handler.py
cloudbase/nova-virtualbox
apache-2.0
8,152
226
codeparrot/github-code
69aee81ba43fbe32295a86201287959b38ccd1fbb809ee9407d2507f89e74d10
/*** Copyright (c) 2012 CommonsWare, LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in writin...
Java
NFC/WebBeam/app/src/main/java/com/commonsware/android/webbeam/BeamFragment.java
commonsguy/cw-omnibus
apache-2.0
2,587
90
codeparrot/github-code
2ec45a7e286f5ac205e0873bc2c527d58a739178e5542a5942a3bb553d6dadb5
package com.qiaoba.qbcp.db; import com.lidroid.xutils.db.sqlite.WhereBuilder; import com.lidroid.xutils.exception.DbException; import com.qiaoba.qbcp.QbcpApplication; public abstract class AbsDbOperation implements IDbOperation{ DbManager mDbManager = QbcpApplication.mApp.mQbDbManager; @Override public boolean...
Java
QBcp/src/com/qiaoba/qbcp/db/AbsDbOperation.java
zhujohnle/qbcp
apache-2.0
1,523
66
codeparrot/github-code
1ced4aca415aaf41ab954a2f5c10b0a5eb699e4f91ce0b29b24f3e825a48cdf2
package eu.humanbrainproject.mip.algorithms.serializers.pfa; import eu.humanbrainproject.mip.algorithms.SimpleAlgorithm; import java.util.Arrays; import java.util.List; public class NumericalInputDescription extends InputDescription<SimpleAlgorithm> { public NumericalInputDescription(SimpleAlgorithm algorithm) ...
Java
java-mip/src/test/java/eu/humanbrainproject/mip/algorithms/serializers/pfa/NumericalInputDescription.java
woken-ml/java-base-docker-images
apache-2.0
889
40
codeparrot/github-code
8d0bf2a8c53589764d3e517637d36c70c61d5042d100ecc6ec99c6d81d4511d6
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
Java
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/util/MergeLogs.java
davinash/geode
apache-2.0
5,006
137
codeparrot/github-code
96dca053041eda99450327cd77c62ff18ad614ddf7bba1f9b2d89e7558b57c6f
// Copyright 2015 The Project Buendia 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 agree...
Java
app/src/main/java/org/projectbuendia/client/user/UserManager.java
llvasconcellos/client
apache-2.0
11,751
315
codeparrot/github-code
ff4400d6c03d6a659169223803454cb19c0e794368ec3bc74c3129a02df3ad28
/* * Copyright 2010-2015 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" file...
C++
aws-cpp-sdk-iam/source/model/ListServerCertificatesResult.cpp
kahkeng/aws-sdk-cpp
apache-2.0
2,877
81
codeparrot/github-code
100ad8334c9b6ac71bfc101cfee8d91013bc9794dcddfe58ff697d86abe85e5b
package org.toobs.framework.pres.util; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Enumeration; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.apa...
Java
legacy/toobs-0.1/Platform/PresFramework/src/org/toobs/framework/pres/util/ParameterUtil.java
parabuzzle/toobs
apache-2.0
16,514
429
codeparrot/github-code
d7bd2fcf6ef831ddc2d39f95a7a32ec7c789d7d0eefec7f93c7a8100bbe16fd8
#!/bin/bash # how frequently to sync. SYNC=${SYNC:-0} SYNC_SECONDS=${SYNC_SECONDS:-10} DB_HOST=${DB_HOST:-db} sync() { chmod 777 /tmp -R chmod 777 /tmp chmod 777 /var/tmp/ -R chmod 777 /var/tmp/ rm -f /tmp/account_sync.db rm -f /account_sync.db touch /account_sync.db while true do # wait for mysql to start echo -...
Shell
rstudio/run.sh
mobilizingcs-ops/mobilize-in-a-box
apache-2.0
877
49
codeparrot/github-code
dc35344f50e15c9caca55709b7989a691fc04aa50d72a119646a17366d005f7a
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { settings } from 'carbon-components'; import ListBullet...
JavaScript
src/components/SearchLayoutButton/SearchLayoutButton.js
carbon-design-system/carbon-components-react
apache-2.0
2,657
113
codeparrot/github-code
cb1fa98880d88d15767491104dfbb032c529ce5ccd7d33919cc91b1cca72a16b
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/events/model/Connection.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace C...
C++
aws-cpp-sdk-events/source/model/Connection.cpp
aws/aws-sdk-cpp
apache-2.0
3,875
164
codeparrot/github-code
c20869de86c719f728f8c6c25194fec3123dccb4f29ef61d8000a70ea197f07f
/* * ============================================================================= * * Copyright (c) 2011-2014, The THYMELEAF team (http://www.thymeleaf.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 ...
Java
src/main/java/org/thymeleaf/standard/expression/ExpressionSequence.java
magat/thymeleaf
apache-2.0
2,465
86
codeparrot/github-code
6c07d258d7fea69d2448586f9608af7a805ddbb0e9cb960c740029a24fae56e1
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
Python
python/mxnet/metric.py
TuSimple/mxnet
apache-2.0
43,258
1,299
codeparrot/github-code
c62135587dea7aff154571e59a4cdb4e9aa1036c110cd06460e31d456d35c28b
#![feature(test)] extern crate test; extern crate collenchyma as co; extern crate collenchyma_nn as co_nn; extern crate rand; use test::Bencher; use co::prelude::*; use co_nn::*; use rand::{thread_rng, Rng}; fn backend() -> Backend<Native> { Backend::<Native>::default().unwrap() } fn arguments<T: IFramework + ...
Rust
benches/tanh.rs
DiamondLovesYou/collenchyma-nn
apache-2.0
3,045
82
codeparrot/github-code
8c2f7d0f648d23a62fb300ef2466471466a575f7e51275af11c8b7de69ceef8d
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Java
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/http/InMemoryHttpTraceRepository.java
lburgazzoli/spring-boot
apache-2.0
2,019
82
codeparrot/github-code
a621a825e3c19abfac01d6503a33d03825ac6db5e633f1e2f0d1b5e9e3aaf7b4
#include <stdio.h> #include "ali_api_core.h" #include "ali_string_utils.h" #include "ali_alert.h" #include "json/value.h" #include "json/reader.h" using namespace aliyun; namespace { void Json2Type(const Json::Value& value, std::string* item); void Json2Type(const Json::Value& value, AlertGetDBMetricResponseT...
C++
aliyun-api-alert/2015-08-15/src/ali_alert_get_db_metric.cc
aliyun-beta/aliyun-openapi-cpp-sdk
apache-2.0
3,130
102
codeparrot/github-code
923e89d590eb9b56655a8d9d3dff30e66447d4f1dc13c36923198fc22a0f6322
package org.michenux.drodrolib.network.volley; import android.location.Location; import com.android.volley.AuthFailureError; import com.android.volley.NetworkResponse; import com.android.volley.ParseError; import com.android.volley.Request; import com.android.volley.Response; import com.android.volley.Response.ErrorL...
Java
drodrolib/src/main/java/org/michenux/drodrolib/network/volley/GsonRequest.java
alessandrogurgel/pedefacil
apache-2.0
2,302
66
codeparrot/github-code
c497c5e6b6e6426d01873ffe7f46f85d67e6147e693e9f79e3ce08a872447588
/* * 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-om/src/main/java/org/apache/asterix/om/pointables/printer/json/clean/ARecordPrinter.java
kisskys/incubator-asterixdb
apache-2.0
3,650
93
codeparrot/github-code
3ccefbbff0d704476ded9ce82168a78c3dee4885d1120813fc893c904fd0334f
/** * 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
sentry-hdfs/sentry-hdfs-common/src/test/java/org/apache/sentry/hdfs/TestUpdateableAuthzPaths.java
apache/incubator-sentry
apache-2.0
8,405
164
codeparrot/github-code
2cab55d13efca53345ada75efdea605bb3dccff6f9651636a07a96d12ea7e090
/* * Copyright 2015 Hippo Seven * * 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
app/src/main/java/com/hippo/widget/SnackbarManager.java
xdujiang/Nimingban
apache-2.0
6,317
201
codeparrot/github-code
563ab326259a4dee935f0fe46560796278bedd570a73b64689a6f89e379e2641
/* * Copyright (c) 2011-2013, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.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...
Java
main/feature/src/boofcv/struct/feature/NccFeature.java
pacozaa/BoofCV
apache-2.0
1,575
58
codeparrot/github-code
ab4d3a4ad67c787e41205f309743725e870190b8db0058ce4c9d64e434100691
// SPDX-License-Identifier: Apache-2.0 // Copyright 2019-2021 Authors of Cilium package nat import ( "fmt" "unsafe" "github.com/cilium/cilium/pkg/byteorder" "github.com/cilium/cilium/pkg/tuple" "github.com/cilium/cilium/pkg/types" ) // NatEntry4 represents an IPv4 entry in the NAT table. // +k8s:deepcopy-gen=t...
GO
pkg/maps/nat/ipv4.go
tklauser/cilium
apache-2.0
1,615
65
codeparrot/github-code
adc8b1514e433b9384b291f621727598f17bfcdc45256da3bfc71fa49d2eae80
import re import sys class URI(): def __init__( self, root_path ): super().__init__() if root_path[-1] != '/' or root_path[0] != '/': raise ValueError( 'root_path must start and end with "/"' ) self.root_path = root_path self.uri_regex = re.compile( r'^({0}|/)(([a-zA-Z0-9\-_.!~*<>]+/)*)([a-zA...
Python
cinp/common.py
cinp/python
apache-2.0
4,279
143
codeparrot/github-code
131bfee6f8a9082370451f866e688c4321a91218f312fcc186673322b6597e79
// Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // 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, in...
C
example/ios/Pods/ADAL/ADAL/src/public/ADAuthenticationResult.h
Durgaprasad-Budhwani/azure-activedirectory-library-for-react-native
apache-2.0
3,122
83
codeparrot/github-code
f41a10dd21056fc8f983335e8ccbffb28cf5ea1ce42eb3c740f9c71877db7af4
package alien4cloud.tosca.parser.impl.advanced; import java.util.Map; import javax.annotation.Resource; import org.alien4cloud.tosca.model.definitions.AbstractPropertyValue; import org.alien4cloud.tosca.model.definitions.Interface; import org.alien4cloud.tosca.model.templates.RelationshipTemplate; import org.springf...
Java
alien4cloud-tosca/src/main/java/alien4cloud/tosca/parser/impl/advanced/RelationshipTemplateParser.java
alien4cloud/alien4cloud
apache-2.0
4,234
86
codeparrot/github-code
36e2f7288f5f86e8d31ca66ca299d5aa70d62d175244e1c8cc13b352a90392b6
// 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...
C
src/bthread/task_group.h
brpc/brpc
apache-2.0
9,554
261
codeparrot/github-code
91bb59a67e569764a03820377d4ea7c93ed147d7029e9b33db5647e2ef1328c3
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apa...
Java
core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryOperatorMinor.java
wouterv/orientdb
apache-2.0
6,113
151
codeparrot/github-code
ac57961ffbdb5ceca45c6e1f14c4addba104aacbf0c557acf5553aa609fda450
/* * Copyright (c) 2005-2010 Grameen Foundation USA * 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 * * Unl...
Java
application/src/main/java/org/mifos/accounts/loan/business/LoanScheduleEntity.java
vorburger/mifos-head
apache-2.0
26,882
727
codeparrot/github-code
14ab338599d05171b579cf91866dfd087bb1ed9dcac5b594bae12e1b5b23774f
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Java
components/camel-mail/src/test/java/org/apache/camel/component/mail/MailCollectionHeaderTest.java
kevinearls/camel
apache-2.0
2,329
61
codeparrot/github-code
926a6c5ebfd71e2b878abe6fc182bc2547d769f4504693a2a10c83f197e4c28b
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
Java
deeplearning4j/deeplearning4j-nlp-parent/deeplearning4j-nlp/src/main/java/org/deeplearning4j/text/documentiterator/BasicLabelAwareIterator.java
deeplearning4j/deeplearning4j
apache-2.0
5,848
185
codeparrot/github-code
8aaf0e94814cac8048b317209a0cb26ee170acefdee664d59026fe0307f18692
/** * 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
tez-api/src/test/java/org/apache/tez/dag/api/TestDAGPlan.java
sungsoo/tez-0.4.0
apache-2.0
13,586
311
codeparrot/github-code
56f857018ff076fc9fa92c21bf2b406ef24af7be95ceb78499bf7d69547d59d7
/** * Copyright (C) 2014 Stratio (http://stratio.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 ap...
Java
stratio-sinks/stratio-druid-sink/src/test/java/com/stratio/ingestion/sink/druid/DruidSinkIT.java
anavidad3/flume-ingestion
apache-2.0
6,762
198
codeparrot/github-code
38384ca9d029fc71f8e95019388e7ee9fd0ed97e21c57302547d8f90d6bdbeba
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/platform-impl/src/com/intellij/ide/actions/OpenProjectFileChooserDescriptor.java
IllusionRom-deprecated/android_platform_tools_idea
apache-2.0
3,508
89
codeparrot/github-code
cc32cd8037141728d475084c07fef1a0a6a01fbac7b5770b5cc0c4afcbc7f482
# Copyright 2015 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 ag...
Python
google-cloud-sdk/lib/surface/functions/call.py
KaranToor/MA450
apache-2.0
2,127
57
codeparrot/github-code
8787d6c37f24490de4c00a5dbb763a7c30af3edbdc228fd70b13e74b84ffab24
package com.idiominc.ws.opentopic.fo.index2; import static org.dita.dost.util.Constants.*; import com.idiominc.ws.opentopic.fo.index2.configuration.IndexConfiguration; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Task; import org.apache.tools.ant.Project; import org.apache.xml.resolver.tool...
Java
src/main/plugins/org.dita.pdf2/src/com/idiominc/ws/opentopic/fo/index2/IndexPreprocessorTask.java
doctales/dita-ot
apache-2.0
7,945
192
codeparrot/github-code
41ebf99e55b17324f758fb166c634814e44b4bbd1607eb7e6d301a1ada212472
/*- * Automatically built by dist/s_java_stat. * Only the javadoc comments can be edited. * * See the file LICENSE for redistribution information. * * Copyright (c) 2002, 2010 Oracle and/or its affiliates. All rights reserved. */ package com.sleepycat.db; /** The BtreeStats object is used to return Btree or R...
Java
source/db-5.0.26.NC/java/src/com/sleepycat/db/BtreeStats.java
racker/omnibus
apache-2.0
9,461
284
codeparrot/github-code
3b7f00e3e9c8948baf5ff8c6837e4edd454f6d1468cc4dcb8d905d6f643f250f
/* * 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"); yo...
C#
src/contrib/SpellChecker/Spell/TRStringDistance.cs
Anomalous-Software/Lucene.NET
apache-2.0
3,734
135
codeparrot/github-code
a4476cc9fe2fc0d97346f78edb163b22a2abf22608d42aa40cc2d5a8079de5f7
// Copyright 2004 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Java
tapestry-examples/Vlib/src/org/apache/tapestry/vlib/pages/EditBook.java
apache/tapestry3
apache-2.0
4,895
173
codeparrot/github-code
c6051a0e6f374cc40b08cfc0e7bd5c59b0f85ac420b0ffc90a117ff91b4ae7a1
package org.pinae.rafiki.trigger; import org.pinae.rafiki.trigger.Trigger; import org.pinae.rafiki.trigger.TriggerException; import org.pinae.rafiki.trigger.impl.CronTrigger; import static org.pinae.rafiki.trigger.helper.DateHelper.today; import org.apache.log4j.Logger; public class CronTriggerExample { private ...
Java
src/example/java/org/pinae/rafiki/trigger/CronTriggerExample.java
PinaeOS/rafiki
apache-2.0
2,660
97
codeparrot/github-code
3df7b1e594badadf17b3c215d30ab0779cd1fb59b42ea8240aa11dedaa3bcb92
package org.olat.test.functional.groups; import org.olat.test.util.selenium.BaseSeleneseTestCase; import org.olat.test.util.selenium.olatapi.OLATWorkflowHelper; import org.olat.test.util.selenium.olatapi.WorkflowHelper; import org.olat.test.util.selenium.olatapi.group.Group; import org.olat.test.util.selenium.olatapi....
Java
olat7.8/src/test/java/org/olat/test/functional/groups/GroupConcurrenciesTest.java
huihoo/olat
apache-2.0
3,912
91
codeparrot/github-code
e296e0c879e4ee7246eaf5196bcdf7e232e3428144394a786cdec5749afed3a1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Reference</title> <link rel="stylesheet" href="../luadoc.css" type="text/css" /> <!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/--> </head> <body> <div i...
HTML
documentation/api/modules/nixio.fs.html
Wedmer/luci
apache-2.0
21,128
1,563
codeparrot/github-code
c678119e38076be007180fde2ef158bd4a397cefd9257a2955b942d7e1f33c8f
/* * WavPack lossless audio decoder * Copyright (c) 2006,2011 Konstantin Shishkov * * 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....
C
ffmpeg/src/main/jni/ffmpeg/libavcodec/wavpack.c
yangchaojiang/yjPlay
apache-2.0
39,216
1,153
codeparrot/github-code
e7e1fe8e89f50f4556c2faa5495186f59c0eae3a446d7770958b40a10bcec3ee
require 'msl-client' require 'test/unit' require 'json' require 'selenium-webdriver' class MockapiTest < Test::Unit::TestCase class << self # Sets up the webdriver before before starting the tests. def startup ENV['HTTP_PROXY'] = ENV['http_proxy'] = nil $driver = Selenium::WebDriver.for :chrome $...
Ruby
msl-client-ruby/lib/msl-client-test.rb
smartpcr/MSL
apache-2.0
8,039
209
codeparrot/github-code
e9a736d81e0f22fa62ac0b825b0e8a032c5885249f5bef83190c4c2fde4c2a08
#pragma once #include <Configuration/provider.h> #include <Graphics/vulkan_debugger.h> #include <Graphics/vulkan_device.h> #include <Graphics/vulkan_instance.h> #include <Graphics/vulkan_gpu.h> #include <Graphics/vulkan_window.h> #include <Graphics/vulkan_render_pass.h> #include <Graphics/uniform_buffer.h> #include <In...
C
Applications/DrawCube/draw_cube.h
itsbriany/Phyre
apache-2.0
5,938
178
codeparrot/github-code
aceff2952c3ec72ee83329893eb28eaf0c80b6e8ecc5b924c718a01b2e84046a
/** * Copyright (C) FuseSource, Inc. * http://fusesource.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...
Java
fabric/fabric-camel-c24io/src/test/java/org/fusesource/fabric/camel/c24io/spring/SpringWithBadElementNameTest.java
janstey/fuse
apache-2.0
1,478
40
codeparrot/github-code
35cb359238bc171f3a6eb45bcb9cc4b76b7ff6ff1b19b42a59c3a110d144cc6b
<!DOCTYPE html> <html itemscope lang="en-us"> <head><meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta charset="utf-8"> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="g...
HTML
static/events/2017-nashville/speakers/tom-mclaughlin/index.html
gomex/devopsdays-web
apache-2.0
21,674
294
codeparrot/github-code
39bf3ec5297f3eee0911ef70da2e454f826ff3c92b477df0d71d8fb371e00383
/* * 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
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/command/query/text/query/MySQLComQueryPacketExecutorTest.java
apache/incubator-shardingsphere
apache-2.0
4,108
82
codeparrot/github-code
cab71b08fee442c791d29ed2176967da3f5160a6a72a90e576594f9c610cb1cd
/* * 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
demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/SchemaDiscoveryTestCase.java
ServiceComb/java-chassis
apache-2.0
1,724
51
codeparrot/github-code
18722b76206e2b9f58c6e6fab31891351161b2c52d83eabeea4900986b6f613a
/* * Copyright 2010 Martin Grotzke * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Java
serializer-benchmark/src/main/java/de/javakaffee/web/msm/serializer/Benchmark.java
qq254963746/memcached-session-manager
apache-2.0
12,323
303
codeparrot/github-code
98ac1abeeab13a7880356fbdb2cfbd8e229c5738927a40d5c4901b9dc3d3d3b7
<?php function arve_is_bool_option( $array ) { $yes_no = array( '' => 1, 'yes' => 1, 'no' => 1 ); $check = array_diff_key( $array, $yes_no ); if( empty( $check ) ) { return 'bool'; } else { return $array; } } function arve_get_pre_style() { return ''; } function arve_load_plugin_textdomain() { load_pl...
PHP
wp-content/plugins/advanced-responsive-video-embedder/public/functions-misc.php
sifonsecac/capitalino-errante
apache-2.0
2,833
147
codeparrot/github-code
5d23525063954341155de58f76b839675c3fc1df6b5e117f865682c16fda4e86
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/iotwireless/IoTWireless_EXPORTS.h> #include <aws/iotwireless/model/LogLevel.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/iotwireless/model/WirelessGatew...
C
aws-cpp-sdk-iotwireless/include/aws/iotwireless/model/GetLogLevelsByResourceTypesResult.h
aws/aws-sdk-cpp
apache-2.0
4,166
109
codeparrot/github-code
45669c5d5008a6fa071cfc69ca6ef1418ab30608437a2215793a3b8708beb6fd
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
C++
core/sql/common/ComSchemaName.cpp
rlugojr/incubator-trafodion
apache-2.0
7,501
302
codeparrot/github-code
ae84614831cd09d166d12d7dfb4caaeec3bbebb468b84690d675fc36a15475a0
package com.akari.tickets.beans; import java.util.List; /** * Created by Akari on 2017/2/17. */ public class QueryTrainsResponse { private List<Data> data; public List<Data> getData() { return data; } public void setData(List<Data> data) { this.data = data; } public stati...
Java
app/src/main/java/com/akari/tickets/beans/QueryTrainsResponse.java
Akari10032/12306
apache-2.0
848
41
codeparrot/github-code
fccfe7c845ce5899e51e617c059e4c5d52957ebe2d7f0730e134d0ea5ae8cdae
sap.ui.define([ 'jquery.sap.global', 'sap/ui/core/Fragment', 'sap/ui/core/mvc/Controller', 'sap/ui/model/Filter', 'sap/ui/model/json/JSONModel' ], function(jQuery, Fragment, Controller, Filter, JSONModel) { "use strict"; var CController = Controller.extend("sap.m.sample.InputAssistedTwoValues.C", { inpu...
JavaScript
src/sap.m/test/sap/m/demokit/sample/InputAssistedTwoValues/C.controller.js
SQCLabs/openui5
apache-2.0
1,505
57
codeparrot/github-code
13d981f5585d94ae6a26d15778635cb773f31a3ff113dafb7e84c56e2a1ee3be
/** * @class Ext.ClassManager * * @author Jacky Nguyen <jacky@sencha.com> * @aside guide class_system * @aside video class-system * * Ext.ClassManager manages all classes and handles mapping from string class name to * actual class objects throughout the whole framework. It is not generally accessed directly, ...
JavaScript
src/server/WebRoot/apps/Maps/src/core/class/ClassManager.js
pierotofy/glassomium
apache-2.0
47,766
1,494
codeparrot/github-code
75970867c8363bb0adbfe3d25f0dd6ced52951f95f58f454b6d650855c38e9dd
/* * Copyright © 2017-2019 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Java
wrangler-service/src/main/java/io/cdap/wrangler/service/database/DriverCleanup.java
hydrator/wrangler
apache-2.0
1,264
46
codeparrot/github-code
a97f78fea32bf665f99288f2e4e77f38687a9a828daf776c7ec3d866e135c5cf
/* * @弹出提示层 ( 加载动画(load), 提示动画(tip), 成功(success), 错误(error), ) * @method tipBox * @description 默认配置参数 * @time 2014-12-19 * @param {Number} width -宽度 * @param {Number} height -高度 * @param {String} str -默认文字 * @param {Object} windowDom -载入窗口 默认当前窗口 * @param {Number} setTime -定时消失(毫...
JavaScript
target/td-1.0/resources/evaluate/js/mdialog.js
userKarl/sctd
apache-2.0
6,153
175
codeparrot/github-code