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
70471130c176d6d51a1ab06a01182b1a05746942e48575cb56a515464e527ccd
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/mwaa/model/GetEnvironmentResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws/core...
C++
aws-cpp-sdk-mwaa/source/model/GetEnvironmentResult.cpp
aws/aws-sdk-cpp
apache-2.0
948
41
codeparrot/github-code
ec74e20b43addc25b7c13fa860095c6ea300cff01fe5b8348fe4c4ec8f72bcbc
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
plugins/junit/src/com/intellij/execution/junit/JUnitExternalLibraryDescriptor.java
goodwinnk/intellij-community
apache-2.0
1,908
47
codeparrot/github-code
7c2c14bb81fff6c58ebd8aeadbb8df43487bbfb92b267f1f29ad73a0f9ccc1db
/*------------------------------------------------------------------------------ * Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team * * Distributable under the terms of either the Apache License (Version 2.0) or * the GNU Lesser General Public License, as specified in the COPYING file. -------------------...
C
clucene/CLucene/index/Term.h
privet56/qDesktopSearch
apache-2.0
4,900
138
codeparrot/github-code
e8b58bcd44c5d90f1c2033839d6124d849ada41d913acde1344b7c32989771f1
// SMSLib for Java v3 // A Java API library for sending and receiving SMS via a GSM modem // or other supported gateways. // Web Site: http://www.smslib.org // // Copyright (C) 2002-2012, Thanasis Delenikas, Athens/GREECE. // SMSLib is distributed under the terms of the Apache License version 2.0 // // Licensed under t...
Java
src/java/org/smslib/http/HTTPGateway.java
pioryan/smslib
apache-2.0
4,949
180
codeparrot/github-code
0e5107b788be8682fda3f615a4d57739ba56b1aaa05c0ac61d0db077e10d1046
/* * Copyright (C) Scott Cranton and Jakub Korab * https://github.com/CamelCookbook * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
Java
camel-cookbook-routing/src/test/java/org/camelcookbook/routing/filtering/FilteringTest.java
leandrosilvaferreira/camel-cookbook-examples
apache-2.0
5,225
133
codeparrot/github-code
3743637deaf83708ddc0a8b23f73156e1f0682e354bb60df6eb8ceebf603f47a
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports System.Collections.Immutable Imports System.Runtime.InteropServices Imports Microsoft.CodeAnalysis.CodeGen Imports Microsoft.CodeAnalysis.VisualBasic....
Visual Basic
src/Compilers/VisualBasic/Portable/Lowering/IteratorRewriter/IteratorRewriter.vb
DavidKarlas/roslyn
apache-2.0
22,183
395
codeparrot/github-code
958ef25ac6f52d7244bc8e2f99c9c4bd3d848a159d4886ef250f0bb1fb43cea4
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
solr/core/src/java/org/apache/solr/highlight/ScoreOrderFragmentsBuilder.java
zhangdian/solr4.6.0
apache-2.0
2,051
49
codeparrot/github-code
999e4a6446bdf0a7587ea78290bf3498d579eab5d78dcb0bad22942b3847e3c5
/* * 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/ivy/core/settings/IvySettings.java
apache/ant-ivy
apache-2.0
59,798
1,581
codeparrot/github-code
61bdffa9be20ee676309b84e9a3ebb3310ea90e9d3bdc1bfa8b054380cc8c61e
package com.orientechnologies.common.console; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream...
Java
commons/src/main/java/com/orientechnologies/common/console/TTYConsoleReader.java
fedgehog/Orient
apache-2.0
14,391
465
codeparrot/github-code
48593220013b05bf927cb802900b9cb2c5dd272bedc47dd1061dca2aaa9d7f7b
// Low-level functions for atomic operations: x86, x >= 3 version -*- C++ -*- // Copyright (C) 2003 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as pub...
C
uclibc/include/c++/3.3.4/i386-newos/bits/atomicity1.h
easion/os_sdk
apache-2.0
2,482
76
codeparrot/github-code
f58f462b358d2cb146890cb2f270ed04db016ce510feed87ca6beb3d440ddc6f
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
Java
engine/src/test/java/org/camunda/bpm/engine/test/cmmn/CmmnDisabledTest.java
camunda/camunda-bpm-platform
apache-2.0
7,032
179
codeparrot/github-code
06863523389b05b34f421506593cbb223aa05b0ee2e270de9ac059895b06381a
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>Uses of Class org.apache.poi.hwpf.usermodel.Table (POI API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="S...
HTML
mylib/poi-3.11/docs/apidocs/org/apache/poi/hwpf/usermodel/class-use/Table.html
RyoSaeba69/Bio-info
apache-2.0
14,973
252
codeparrot/github-code
1e5a575df06738f8e0bbf204f562e9a033b970f0040312df28076e002dc92f45
#pragma once #include "envoy/registry/registry.h" #include "envoy/server/instance.h" #include "server/configuration_impl.h" namespace Envoy { namespace Extensions { namespace StatSinks { namespace MetricsService { /** * Config registration for the MetricsService stats sink. @see StatsSinkFactory. */ class Metrics...
C
source/extensions/stat_sinks/metrics_service/config.h
istio/envoy
apache-2.0
858
33
codeparrot/github-code
a5da47880cb13282eac727e8a9881938c606271a3238c6259a5ff4c083733dff
/* * 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
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/physical/AbstractScanPOperator.java
waans11/incubator-asterixdb-hyracks
apache-2.0
1,503
38
codeparrot/github-code
f473ec3c3579ddd0b2410ad94a29ea20aa984f619b667dc495d382780ff396bf
<!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/2018-beijing/propose/index.html
gomex/devopsdays-web
apache-2.0
16,072
249
codeparrot/github-code
19eaa6cd499700a4c03e23222c41a76effda6b19b32f8ccb8b14926e64f85f6e
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
Java
maven/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/PomFilteringUnitTestCase.java
shrinkwrap/resolver
apache-2.0
3,076
75
codeparrot/github-code
aba41ccc4842474910701882b120aedf11b709a61fd7f5c3cf94b41a12f1de4a
/* * 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
connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/ModifiedLBHttpSolrClient.java
apache/manifoldcf
apache-2.0
2,906
70
codeparrot/github-code
79c37d91866e964b608758b77fdc9a2b26b02a447416633cea7cad8f07281f6a
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Linq; using System.Reflection; using System.Reflection.Emit; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnal...
C#
src/Compilers/CSharp/Test/Semantic/Semantics/NamedAndOptionalTests.cs
VPashkov/roslyn
apache-2.0
81,398
2,324
codeparrot/github-code
64f9be00006593578fd0ca09c2fdbf8276c27be2b1b49a9395948921a37e15c4
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 OpenStack Foundation # 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.apach...
Python
tempest/api/identity/base.py
itskewpie/tempest
apache-2.0
6,216
161
codeparrot/github-code
14da655341072d3397d8922b7b22482e8e595a2e62f81ce76b566642a236d452
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights * Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
Java
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/DescribeTagsResult.java
flofreud/aws-sdk-java
apache-2.0
6,523
231
codeparrot/github-code
cc3cb9e06be1e15e36b762dd120e71728db02651a41e1e9d5f62accb889b34cc
"""Support for NX584 alarm control panels.""" import logging from nx584 import client import requests import voluptuous as vol import homeassistant.components.alarm_control_panel as alarm from homeassistant.components.alarm_control_panel import PLATFORM_SCHEMA from homeassistant.components.alarm_control_panel.const i...
Python
homeassistant/components/nx584/alarm_control_panel.py
leppa/home-assistant
apache-2.0
4,039
140
codeparrot/github-code
fc04637372e47abe5381751ee3323f1a7c1facee36dbe8d933dec238c5284d44
// Copyright 2017, Google, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
JavaScript
courses/developingapps/v1.3/nodejs/stackdriver-trace-monitoring/end/frontend/app.js
GoogleCloudPlatform/training-data-analyst
apache-2.0
2,594
99
codeparrot/github-code
5a12d8759f804538581aef66ad2e525ce02d8c4857d664df4f452aaf777eee76
/* * 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
bpel-runtime/src/main/java/org/apache/ode/bpel/engine/IMAManager2.java
Subasinghe/ode
apache-2.0
13,206
350
codeparrot/github-code
ef6bce1e505c8f7736418b892f7853e2f0c080c760f2f53a660c112f63e1019e
/* * 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
utils/src/main/java/org/apache/ode/utils/fs/FileUtils.java
Subasinghe/ode
apache-2.0
6,403
195
codeparrot/github-code
e69b0bfb748477c494e81072cd635809af939090164dee6203c7001c95c0341e
/** * 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/securityToken/DsaKeyValueSecurityToken.java
apache/santuario-java
apache-2.0
3,108
79
codeparrot/github-code
0f59ccb997b274cb6c8a4bce7ae44ec3e8d41459122aa2015c166155219610f1
class BuildMailer < ActionMailer::Base def build_report(build, recipients, from, subject, message, sent_at = Time.now) @subject = "[CruiseControl] #{subject}" @body = { :build => build, :message => message, :failures_and_errors => LogParser.new(build.output).failures_and_erro...
Ruby
app/models/build_mailer.rb
jgp/cruisecontrolrb
apache-2.0
912
31
codeparrot/github-code
46067177210d2c5b92b2fd7408b8fe8ff429f677556e9c89fd75a78812e6cf42
// <copyright file="ZipStorer.cs" company="Jaime Olivares"> // // ZipStorer, by Jaime Olivares // Website: zipstorer.codeplex.com // Version: 2.35 (March 14, 2010) // // Used under the provisions of the Microsoft Public License (Ms-PL). // You may obtain a copy of the License at // // https://zipstorer.codeplex.com...
C#
dotnet/src/webdriver/Internal/ZipStorer.cs
anshumanchatterji/selenium
apache-2.0
32,875
772
codeparrot/github-code
b78b29b2d2bfc746dfa71d58bce173d94d005e9abb76b61fbc41dc5c4973bb89
/* * Copyright 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 applica...
Java
subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultDependencyConstraint.java
gradle/gradle
apache-2.0
6,416
189
codeparrot/github-code
14c02f651e21c72d88496a7007a71316da27b448d4d9facd4acf58c9e1413e2c
/* * Copyright (C) 2015 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
appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/DrawerDynamicLayoutTest.java
androidx/androidx
apache-2.0
8,426
207
codeparrot/github-code
c68dcc22cae8ba1c09135d95a03df13a7cd07c3d45ed83e5b0fd227041a7ffe1
package com.maximos.mobile.challengeapp.feedpageproject; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri...
Java
src/main/java/com/maximos/mobile/challengeapp/feedpageproject/CreateChallengeActivity.java
xjbhenry/ChallengeApp
apache-2.0
15,867
398
codeparrot/github-code
7be75dee69b726852d8b23c0de1928117382b5c000a200635b97c69b2c343fca
/**************************************************************************** Copyright (c) 2013 cocos2d-x.org http://www.cocos2d-x.org 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 res...
C
jni/extensions/CocoStudio/Armature/display/CCDisplayManager.h
zjfandroid/TurboSnail
apache-2.0
5,365
157
codeparrot/github-code
08c31de09c2e11189050a4171b2d3a44800ef6a1063b367545fa968490504e8d
package com.planet_ink.coffee_mud.Locales; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.plan...
Java
com/planet_ink/coffee_mud/Locales/MountainsMaze.java
Tycheo/coffeemud
apache-2.0
1,932
50
codeparrot/github-code
af5a325977b4bb0f3cff9faa5a05de603d2151da00a101c3acf80697fa3e3c5b
package nameserver import ( "encoding/json" "fmt" "net/http" "github.com/gorilla/mux" "github.com/miekg/dns" "github.com/weaveworks/weave/common/docker" "github.com/weaveworks/weave/net/address" ) func (n *Nameserver) badRequest(w http.ResponseWriter, err error) { http.Error(w, err.Error(), http.StatusBadRe...
GO
nameserver/http.go
n054/weave
apache-2.0
2,424
92
codeparrot/github-code
2267318142f0065318d64115f3e83f231d5c52cee209120b4f6fc0d1e78c2cc1
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
Python
Algorithm.Python/CustomDataIndicatorExtensionsAlgorithm.py
AnshulYADAV007/Lean
apache-2.0
3,630
84
codeparrot/github-code
ccf3eef5e3e9b7787233f641598d67e01feea186fa2c94b04cd59a98c7936e93
/* * Copyright 2000-2011 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
java/idea-ui/src/com/intellij/ide/util/projectWizard/ProjectWizardStepFactoryImpl.java
liveqmock/platform-tools-idea
apache-2.0
6,321
153
codeparrot/github-code
37b7472b70196fbdcbe284e1e232c44b6ddd536852cd881ea0c48246253d0c96
/* * Copyright (c) 2008-2017, 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/mapreduce/aggregation/impl/AbstractAggregationCombinerFactory.java
dbrimley/hazelcast
apache-2.0
1,754
54
codeparrot/github-code
11834b697361976275b823b45c31ba8fa0439cb5239cdd13d57d8537e1536670
/* * Copyright 2009 Phil Burk, Mobileer 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...
Java
src/com/jsyn/util/JavaTools.java
UIKit0/jsyn
apache-2.0
1,861
60
codeparrot/github-code
916327ea065b0be5a0e6763cd4e481fbf417189117a1978d1f6178d13c5a3032
/********************************************************************** // @@@ 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/refresh/RuDupElimLogRecord.cpp
apache/incubator-trafodion
apache-2.0
6,408
219
codeparrot/github-code
1441d23d5e039a1334402a801740917c26ecb27c7a5893a41dc0d8ecdeb372d8
# text.rb # # This demonstration script creates a text widget that describes # the basic editing functions. # # text (basic facilities) widget demo (called by 'widget') # # toplevel widget if defined?($text_demo) && $text_demo $text_demo.destroy $text_demo = nil end # demo toplevel widget $text_demo = TkToplevel...
Ruby
source/ruby-enterprise-1.8.7-2011.01/source/ext/tk/sample/demos-en/text.rb
racker/omnibus
apache-2.0
4,248
129
codeparrot/github-code
f19903e3e26e9814e8241b37488786abf0e58545a6220dae645f64fdbc91945b
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
Java
clients/src/main/java/org/apache/kafka/common/header/internals/RecordHeaders.java
KevinLiLu/kafka
apache-2.0
5,878
200
codeparrot/github-code
0355f1cf38a7f65eb21c757f7b38fa5c9e1a8f57a7deb30c1afb4ba5b3d98062
/* Copyright (c) 2016 VMware, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
GO
govc/host/storage/mark.go
austinlparker/govmomi
apache-2.0
2,846
143
codeparrot/github-code
b76ccda96611524761542794866416a600b4303b6396febd5a5a6f651c7307af
/* * Copyright 2007-2011 WorldWide Conferencing, 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 applica...
Scala
web/webkit/src/main/scala/net/liftweb/http/Req.scala
lzpfmh/framework-2
apache-2.0
44,665
1,334
codeparrot/github-code
809e559463cbe17f81b93e00007f9d972b998732f41fada364270a3a5dde5aea
#include<stdlib.h> #include <OneWire.h> #include <DallasTemperature.h> #define ONE_WIRE_BUS 8 OneWire oneWire(ONE_WIRE_BUS); DallasTemperature sensors(&oneWire); #define SSID "YOUR SSID HERE" #define PASS "YOUR PASSWORD HERE" #define IP "184.106.153.149" // thingspeak.com String GET = "GET /update?key=YOURTHINGSPEAKA...
C
home/borsaci06/DS18BTemperatureToThingSpeak.c
sstocker46/pyrobotlab
apache-2.0
5,943
247
codeparrot/github-code
bf1c90a351b2ec9c93286a774b5fb663838b08f327a9d025d74379a4a8794df1
/* * DBeaver - Universal Database Manager * Copyright (C) 2013-2016 Denis Forveille (titou10.titou10@gmail.com) * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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
plugins/org.jkiss.dbeaver.ext.db2/src/org/jkiss/dbeaver/ext/db2/model/DB2Table.java
liuyuanyuan/dbeaver
apache-2.0
16,982
472
codeparrot/github-code
72c6b318e59d434b2533a236c787af21a4b1f3b7a59f39e59aa09b8873938a12
/** * 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-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java
onders86/camel
apache-2.0
17,602
418
codeparrot/github-code
e1a02a2ca44b196603ae161d3dcd861340b1fdeb6c08bdeb0290815a4aa6a0e6
/* * 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
runners/core-java/src/main/java/org/apache/beam/runners/core/SystemReduceFn.java
yafengguo/Apache-beam
apache-2.0
5,486
137
codeparrot/github-code
b09ea8965e6a15f396d7a6347e7c8f5b2bd5383526a8b860440936da1a0434b2
// // $Id: TruncatedLorentzian.cpp 2051 2010-06-15 18:39:13Z chambm $ // // // Original author: Darren Kessner <darren@proteowizard.org> // // Copyright 2006 Louis Warschaw Prostate Cancer Center // Cedars Sinai Medical Center, Los Angeles, California 90048 // // Licensed under the Apache License, Version 2.0 (the "...
C++
pwiz/pwiz/analysis/frequency/TruncatedLorentzian.cpp
biospi/mzmlb
apache-2.0
6,475
247
codeparrot/github-code
e4043214c78bdc9347b430db30cc505d1dc43692a5bbe1ac871a8f6258f7bc28
/* * 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
indexing-service/src/test/java/org/apache/druid/indexing/common/task/batch/parallel/PartialHashSegmentMergeIngestionSpecTest.java
Fokko/druid
apache-2.0
2,471
69
codeparrot/github-code
27b765ea1e1cb59633b557df139d979d9fc68b137149f4089eeab9afd9037f72
/** * 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
lib/apache-cxf-2.7.5/samples/js_browser_client_java_first/src/main/java/demo/hw/server/JavascriptExample.java
mulesoft-consulting/sumtotal-connector
apache-2.0
1,576
45
codeparrot/github-code
0f8004bf25a96ce5db4a00b4c5bfdca5cfee7f28436fdb4b7c503b6361126f9b
/** * \file metric_space_search.hpp * * This library provides a class that implements a Dynamic Vantage-Point Tree (DVP-Tree) that * allows for O(logN) time nearest-neighbor queries in a metric-space. A DVP-tree is essentially * a generalization of a search tree which only requires the space to have a metric whic...
C++
NearestNeighbor/metric_space_search.hpp
daviddoria/TempRepo
apache-2.0
30,247
703
codeparrot/github-code
3b96b6227d83d12e8748929d8a532b137f00b2a09b0f72e258655abdd06fccd4
/* * * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) 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 * ...
Java
components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/impl/ThrottlingPoliciesApiServiceImpl.java
pubudu538/carbon-apimgt
apache-2.0
7,570
168
codeparrot/github-code
6a8729ca5289d413dce8220b57a227e51812c0860dd65a920a4d0e84c56cbc94
// Copyright 2016 The acbuild 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...
GO
lib/oci/set-user.go
appc/acbuild
apache-2.0
1,250
42
codeparrot/github-code
48a7e9057b27c50f924c25f0f25cfd841b9812f8f71cd8a4e1a7d626bcc04feb
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2021 ArangoDB GmbH, Cologne, Germany /// /// 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...
C++
3rdParty/iresearch/core/utils/hash_set_utils.hpp
wiltonlazary/arangodb
apache-2.0
2,858
82
codeparrot/github-code
a68033f0fcfb7e1fdf45bf9955dd23f21b78f02c5b9a53c28c3445de8180f3ee
package org.apache.commons.ognl; /* * 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, Ve...
Java
src/main/java/org/apache/commons/ognl/EnumerationPropertyAccessor.java
apache/commons-ognl
apache-2.0
2,456
72
codeparrot/github-code
4572643b10f1d71de775bef40dc6ac9a29dcd09d29de94458d6902e03af14f25
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/kms/model/AlgorithmSpec.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Utils; na...
C++
aws-cpp-sdk-kms/source/model/AlgorithmSpec.cpp
awslabs/aws-sdk-cpp
apache-2.0
2,368
78
codeparrot/github-code
847db90e0c03b975e4882a3d714466b471c28bc2ef112fd33223c77fbcea4453
/****************************************************************************** * $Id: gdaldither.cpp 33715 2016-03-13 08:52:06Z goatbar $ * * Project: CIETMap Phase 2 * Purpose: Convert RGB (24bit) to a pseudo-colored approximation using * Floyd-Steinberg dithering (error diffusion). * Author: Fran...
C++
deps/libgdal/gdal/alg/gdaldither.cpp
nbuchanan/node-gdal
apache-2.0
25,530
665
codeparrot/github-code
6f1ab6e37bc8909a28b4722c11bfd12d438a346b684e355ac6ad21c802db0298
/* * Copyright 2015 Samsung Electronics 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 b...
Java
service/simulator/java/eclipse-plugin/ClientControllerPlugin/src/oic/simulator/clientcontroller/view/AttributeEditingSupport.java
iotivity/iotivity
apache-2.0
17,171
471
codeparrot/github-code
937cf37da2669dc46132cae11822f1d5b8ddc2eb01bffbbfc6c80d2048d5f958
#include "sp/sp.h" #include "Widget.h" namespace sp { namespace graphics { namespace ui { Widget::Widget(const maths::Rectangle& bounds) : m_Bounds(bounds), m_Active(true), m_Focused(false) { } bool Widget::OnMousePressed(events::MousePressedEvent& e) { return false; } bool Widget::OnMouseReleased(events...
C++
Sparky-core/src/sp/graphics/ui/Widget.cpp
Jacob-Mango/Sparky
apache-2.0
535
34
codeparrot/github-code
40f89c75bb62c346a67c6c75dab0c0a19049792552ec5854d1461e87c66b4cf3
// // Licensed to Green Energy Corp (www.greenenergycorp.com) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Green Enery Corp licenses this file // to you under the Apache License, Version 2.0 (the // "...
C++
src/opendnp3/DNP3/test/IntegrationTest.cpp
meaw/dnp3
apache-2.0
5,611
200
codeparrot/github-code
44071df19f349550ba1cb00e679c056f255cc766e4711b7f3eefc98d63e1ebb7
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
Java
engine/src/main/java/org/camunda/bpm/engine/impl/HistoricIncidentQueryProperty.java
langfr/camunda-bpm-platform
apache-2.0
2,517
45
codeparrot/github-code
8ab2583d94dc95b4792604692aa599d4f9d6e4a0d358dd29acb652423741bd8e
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!-- 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 license...
HTML
storm-webapp/src/main/java/org/apache/storm/daemon/ui/WEB-INF/component.html
kishorvpatil/incubator-storm
apache-2.0
24,176
587
codeparrot/github-code
66e6ac95f24d7c05ad6d91457dcc8dd11e6196c45185918205a667c8fa758d7c
// Copyright David Abrahams 2002. Permission to copy, use, // modify, sell and distribute this software is granted provided this // copyright notice appears in all copies. This software is provided // "as is" without express or implied warranty, and with no claim as // to its suitability for any purpose. #ifndef DECORA...
C++
src/3rd party/boost/boost/python/detail/decorated_type_id.hpp
OLR-xray/OLR-3.0
apache-2.0
2,562
78
codeparrot/github-code
abcb759d5be2a1f474b7f0fbdeecb0b165aade735817b7c0b43adffbcfbd0a68
@ECHO OFF REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set BUILDDIR=_build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . set I18NSPHINXOPTS=%SPHINXOPTS% . if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% set I18N...
Batchfile
docs/make.bat
valery-barysok/skyscanner-python-sdk
apache-2.0
6,467
243
codeparrot/github-code
46b54f5757fc581b2b13fa0c5a809093a0681f9a7babeb2aedef658e8c5f5a4d
/* * Licensed to GraphHopper and Peter Karich under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper licenses this file to you under the Apache License, * Version 2.0 (the "License"); you...
Java
core/src/test/java/com/graphhopper/routing/util/FastestWeightingTest.java
kod3r/graphhopper
apache-2.0
3,923
105
codeparrot/github-code
0aa8bc6c28f1f1a99bfb57cdbf483dd59d08271934e0422343ff7e9c22589055
// 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 in ...
C
internal/platform/implementation/windows/bluetooth_classic_medium.h
google/nearby-connections
apache-2.0
8,725
193
codeparrot/github-code
61fc099cfb822276f5ce53d42287a6731159d32fb34fc7bf90190d93e2781cdb
/* * 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
runners/google-cloud-dataflow-java/worker/src/test/java/org/apache/beam/runners/dataflow/worker/fn/control/RegisterAndProcessBundleOperationTest.java
lukecwik/incubator-beam
apache-2.0
30,668
709
codeparrot/github-code
9c7ae4dc81132e41193bc585e032b10693705988c7e4d8d3287fd58f29a71f07
/* * 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 ...
JavaScript
core/src/main/resources/org/apache/spark/ui/static/timeline-view.js
witgo/spark
apache-2.0
10,145
297
codeparrot/github-code
416fe319befd069517138f79360d2211ba486e94479f8ca093281da5a1bcd6da
/* * Copyright (c) 2015. Rick Hightower, Geoff Chandler * * 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
qbit/servlet/src/test/java/io/advantageous/qbit/servlet/servletproto/PrototypeJetty.java
bsa01/qbit
apache-2.0
1,905
59
codeparrot/github-code
8021ef69b2f75a2f59ac8bc9b37480338c406111b4cae884b898ce7c5e62776c
/* * cl_ee_handler.h - CL edge enhancement handler. * * Copyright (c) 2015 Intel Corporation * * 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/...
C
xcore/cl_ee_handler.h
zjamy/libxcam
apache-2.0
2,104
77
codeparrot/github-code
34642df3204e8d5d2c4ba9fbfc84a87499eff7266a0c51ab70c4e58cc80aa23b
/* * Copyright 2007 Yusuke Yamamoto * * 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
twitter4j-core/src/main/java/twitter4j/GeoLocation.java
vaglucas/cafeUnoesc
apache-2.0
2,496
96
codeparrot/github-code
9a0505f25ab3e97d1e16e10818544ea0c7213d475cf633565d4c3a816e1c260a
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
samza-autoscaling/src/main/java/org/apache/samza/autoscaling/deployer/ConfigManager.java
bharathkk/samza
apache-2.0
14,812
377
codeparrot/github-code
56dbcd90364110302b163d71c3b7a5f6a16fd935875d244e1a4e0c2365a424aa
package hrv.band.app.ui.view.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import java.text.DecimalFormat; import java.util.List; import hrv.band.app.R; import hr...
Java
app/src/main/java/hrv/band/app/ui/view/adapter/ValueAdapter.java
thomcz/hrv-band
apache-2.0
2,601
90
codeparrot/github-code
8d1d4438cd3b1e995b77860c5929c6aedf8d08653e026da2f39c390f559b67c9
/* Copyright (c) 2005-2018 Intel Corporation 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 la...
C
third_party/tbb/include/tbb/enumerable_thread_specific.h
RichieSams/lantern
apache-2.0
48,096
1,138
codeparrot/github-code
3e5897149915b9ca7504ba4c822e65dc06ce2f0dda51dc632000c948c4ab86ad
package gov.hhs.onc.sdcct.utils; import java.util.TimeZone; public final class SdcctDateUtils { public final static long HOURS_IN_DAY = 24L; public final static long MIN_IN_HOUR = 60L; public final static long MIN_IN_DAY = MIN_IN_HOUR * HOURS_IN_DAY; public final static long SEC_IN_MIN = 60L; pu...
Java
sdcct-core/src/main/java/gov/hhs/onc/sdcct/utils/SdcctDateUtils.java
mkotelba/sdcct
apache-2.0
1,901
46
codeparrot/github-code
2fba0681cc2e29ac936c6a036f8a69e9ef14545eaeced240acc97871867665f3
/* * Copyright 2012-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityProperties.java
10045125/spring-boot
apache-2.0
6,846
322
codeparrot/github-code
18716ba7a12a5f07ba18d26434d4a1af12ee5bc9f31ae7b0aa1a6d1ceae44fd3
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
modules/jms11/src/test/java/org/apache/ignite/stream/jms11/TestTransformers.java
shroman/ignite
apache-2.0
4,279
130
codeparrot/github-code
30cbf6588b72507382af8f30ae35ee42a6b3cee92417776a69bc80615fea44ec
// Uncomment the following to provide samples for PageResult<T>. Must also add the Microsoft.AspNet.WebApi.OData // package to your project. ////#define Handle_PageResultOfT using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using ...
C#
Chapter 08/8-7/Apress.WebApi.Recipes/Apress.WebApi.Recipes/Areas/HelpPage/App_Start/HelpPageConfig.cs
modulexcite/apress-recipes-webapi
apache-2.0
6,513
113
codeparrot/github-code
0e599336abcadec56c26c624b5efad14ed972c2e67fd0bcf14be72ac1dfaede5
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/codedeploy/model/DeploymentReadyAction.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace A...
C++
aws-cpp-sdk-codedeploy/source/model/DeploymentReadyAction.cpp
awslabs/aws-sdk-cpp
apache-2.0
2,181
71
codeparrot/github-code
eccce52a99356e40c3bee19cefd1f71c791684d6fa405226f9308b0065955392
/* * 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
enhanced/java/classlib/modules/imageio/src/main/java/javax/imageio/event/IIOReadUpdateListener.java
freeVM/freeVM
apache-2.0
1,989
52
codeparrot/github-code
812f8aa6caea3ff62222ca6bbb3b92511fd90c09598d36f04c40d66c5abd0e44
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
modules/core/src/main/java/org/apache/ignite/internal/binary/BinaryObjectExImpl.java
pperalta/ignite
apache-2.0
9,818
335
codeparrot/github-code
70b2cc5a44754049a4d30428aef4cccef1fd6731af91ab20bb079f96740473bc
package mpnginx import ( "bufio" "flag" "fmt" "io" "errors" "net/http" "regexp" "strconv" "strings" mp "github.com/mackerelio/go-mackerel-plugin-helper" ) var graphdef = map[string]mp.Graphs{ "nginx.connections": { Label: "Nginx Connections", Unit: "integer", Metrics: []mp.Metrics{ {Name: "conn...
GO
mackerel-plugin-nginx/lib/nginx.go
mackerelio/mackerel-agent-plugins
apache-2.0
5,095
201
codeparrot/github-code
54dbdcb6d3e031c7b3eeab9f1d53c117d4ab6e2660ddf8232328e53ce86a04e3
/* * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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...
Java
tools/ppaas-migration/4.0.0/src/main/java/org/wso2/ppaas/rest/endpoint/bean/autoscaler/policy/autoscale/AutoscalePolicy.java
liurl3/product-private-paas
apache-2.0
1,652
66
codeparrot/github-code
09a4615cb0057f0d665029445ed4935a2882bcec47465ff2d56bd3ce9a1cf403
package nl.tno.stormcv.model; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import backtype.storm.tuple.Tuple; /** * This {@link CVParticle} implementation represents a single feature calculated for {@link Frame} and has the following fields: * <ul> * <li>name: the name of the featur...
Java
stormcv/src/main/java/nl/tno/stormcv/model/Feature.java
todotobe1/StormCV
apache-2.0
3,179
96
codeparrot/github-code
c20cd48b32f0582cbf629968bdaeeae090f5dcbd7739c1e6971aa0e536be1b3d
/* Copyright 2016 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
federation/pkg/kubefed/init/init.go
rkouj/kubernetes
apache-2.0
23,239
758
codeparrot/github-code
3191993e6a4ee2822e40405f0b3479969fd1569ce0265a7782412d6222779af2
<?php /** * THE CODE IN THIS FILE WAS GENERATED FROM THE EBAY WSDL USING THE PROJECT: * * https://github.com/davidtsadler/ebay-api-sdk-php * * Copyright 2014 David T. Sadler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
PHP
src/DTS/eBaySDK/Trading/Types/TimeZoneDetailsType.php
davidtsadler/ebay-sdk-trading
apache-2.0
3,548
111
codeparrot/github-code
d8c657eae72b7f3e955900bbddae35edb83b7c27fa690024ab617f3da50943df
/******************************************************************************** File Information: FileName: usb_function_phdc.c Dependencies: See INCLUDES section Processor: PIC18 or PIC24 USB Microcontrollers Hardware: The code is natively intended to be used on the following ...
C
Pic32Firmware/USB/PHDC Device Driver/usb_function_phdc.c
pic32mcu/pic32accessory-iot
apache-2.0
21,144
658
codeparrot/github-code
5185d63e86f30211ae526b156909273684c4c94435fe67787d77d2fb0cf8d1dc
module ManageIQ::Providers::Vmware::InfraManager::Provision::Configuration::Container def build_config_spec VimHash.new("VirtualMachineConfigSpec") do |vmcs| vmcs.annotation = build_vm_notes ##################################################################################################### # ...
Ruby
app/models/manageiq/providers/vmware/infra_manager/provision/configuration/container.rb
maas-ufcg/manageiq
apache-2.0
4,769
124
codeparrot/github-code
4aaa2b03ae7bc5e482cd556d4d0605b1364312e377da04b5662610655ae786fc
############################################################################### ## ## Copyright (C) 2014 Tavendo GmbH ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. ## You may obtain a copy of the License at ## ## http:/...
Python
examples/twisted/wamp/basic/rpc/complex/backend.py
robtandy/AutobahnPython
apache-2.0
1,506
49
codeparrot/github-code
4bcc5ec652e4e0c1e79f0fe1652e1b8ba23511d209ab4881878818e9f8b8049b
package org.wso2.carbon.identity.mgt.endpoint.serviceclient.beans; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @XmlAccessorType(...
Java
components/identity-mgt/org.wso2.carbon.identity.mgt.endpoint/src/main/java/org/wso2/carbon/identity/mgt/endpoint/serviceclient/beans/ConfirmSelfRegistrationRequest.java
PasinduTennage/carbon-identity-framework
apache-2.0
872
36
codeparrot/github-code
332d21bed80826b724c71cb187e300ef47308a7083c64635e7bb10aa5043ec85
/*------------------------------------------------------------------------- * * executor.h * support for the POSTGRES executor module * * * Portions Copyright (c) 2005-2009, Greenplum inc * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the Univ...
C
src/include/executor/executor.h
0x0FFF/gpdb
apache-2.0
20,540
520
codeparrot/github-code
40c096fb08c8efc0fc05e120ecffc8f2bc6678f5856cb0a5bd489df3d4bd2eef
/* * Copyright 2000-2016 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/application/options/SaveSchemeDialog.java
hurricup/intellij-community
apache-2.0
3,369
104
codeparrot/github-code
091306ecff3e5c761a7cd3dac0905cc1bef85737f73721b3986976d2b85364a4
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
core/src/test/java/org/elasticsearch/script/ScriptModesTests.java
camilojd/elasticsearch
apache-2.0
12,174
274
codeparrot/github-code
99664c4d4145f350d2904c0f3c3b864b4cf38a0c4f215fc0149a1a99c0b89969
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/codecommit/CodeCommit_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/codecommit/model/Approval.h> #include <utility> namespace Aws { template<typ...
C
aws-cpp-sdk-codecommit/include/aws/codecommit/model/GetPullRequestApprovalStatesResult.h
awslabs/aws-sdk-cpp
apache-2.0
2,435
79
codeparrot/github-code
ecf8281441f9a9748ea03406addea6d0905cc9118ed966aedc47cef8eb15baee
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/guardduty/model/AdminAccount.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namesp...
C++
aws-cpp-sdk-guardduty/source/model/AdminAccount.cpp
aws/aws-sdk-cpp
apache-2.0
1,508
76
codeparrot/github-code
c538689a8abd8325cb334131eec6c8d92429e5bd33dd139625dda356e53b4455
$(function() { //搜索框交互 var placeholder = window.INPUT_PLACEHOLDER || '请输入要搜索的关键词', baiduUrl = 'http://www.baidu.com/s?wd=', googleUrl = 'http://www.google.com.hk/search?q=', searchEl = $('#search'); $('.button', searchEl).on('click', function(e) { v...
JavaScript
navigation/js/main.js
27979831/27979831.github.io
apache-2.0
6,862
217
codeparrot/github-code
a96a8963474906adabafcbf0a2253a1deb21e4ea72a4777c137f7c9793798abd
/** * Copyright 2014 @ z3q.net. * name : * author : jarryliu * date : 2013-12-16 19:03 * description : * history : */ package app import ( "fmt" "github.com/jsix/gof" "go2o/src/core" "go2o/src/core/infrastructure" "go2o/src/core/service" "os" "strconv" ) func RunSocket(ctx gof.App, port int, debug, tra...
GO
src/app/socket_server.go
lance2088/go2o
apache-2.0
803
44
codeparrot/github-code
66bf88ccd7d9b491a3159301a2a9be90000732957f8c6461eb2578ba314f72a8
#include <math.h> #include "monster.h" #include "../../engine/graphics/graphics.h" #include "../../engine/input/input.h" #include "../../engine/engine.h" #include "../../engine/common/log.h" CMonster::CMonster() { mTexture = NULL; //LoadTexture(); } CMonster::~CMonster() { if ( mTexture ) { // ...
C++
src/kart/entity/monster.cpp
gregtour/tedge-cpp
apache-2.0
3,675
133
codeparrot/github-code
553179c6bdfc63226d58c7cf78ff1b0452dd0532a5b5e43dac43459af4690146
# Class definition: # NordugridATLASExperiment # This class is the ATLAS experiment class for Nordugrid inheriting from Experiment # Instances are generated with ExperimentFactory via pUtil::getExperiment() # import relevant python/pilot modules from Experiment import Experiment # Main experiment class from...
Python
NordugridATLASExperiment.py
PanDAWMS/pilot
apache-2.0
13,955
336
codeparrot/github-code
77a5ec1b0dcce378cfca683cc634f9c570b97e2c00ccb1e8102bcc37c407dcfa
package org.apache.maven.lifecycle.internal; /* * 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...
Java
maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java
mcculls/maven
apache-2.0
10,814
303
codeparrot/github-code
e15d0b2065d964f9275fcf8b250be22b60c3784aa1f5c964a6ae7787cb4e283c
/* ************************************************************************* * Ralink Tech Inc. * 5F., No.36, Taiyuan St., Jhubei City, * Hsinchu County 302, * Taiwan, R.O.C. * * (c) Copyright 2002-2007, Ralink Technology, Inc. * * This program is free software; you can redistribute it and/or modify * * it ...
C
rtl/wirelessUSBDrivers/Wireless USB Adapter(RT2070,RT3070,RT2770,RT3072,RT3572,RT3370)/Linux/2011_0427_RT3572_Linux_STA_v2.5.0.0.DPO (2)/include/wpa_cmm.h
wallamejorge/WirelessSensorGas
apache-2.0
7,367
240
codeparrot/github-code