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
e1e04c5136a714a440b69ee3cfb753bccad101a72ec840fca68d38ac6e211161
/* * ! JSRT JavaScript Library 0.1.1 lico.atom@gmail.com * * Copyright 2008, 2014 Atom Union, Inc. Released under the MIT license * * Date: Feb 11, 2014 */ Class.forName({ name: "class js.util.Iterator extends Object", "private _element": null, "private _cursor": 0, "private _lastRet": -1, Iterator: ...
JavaScript
tars/surface/static/jre/src/main/js/js/util/Iterator.js
ctripcorp/tars
apache-2.0
1,103
45
codeparrot/github-code
032e906ec07179f89a6ddd48652cf268c7fb3e13c52d3b3de82243d303342d9a
/* * Copyright 2017 StreamSets 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...
Java
hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/HdfsTargetConfigBean.java
kunickiaj/datacollector
apache-2.0
33,764
974
codeparrot/github-code
7d54620223fb3200b1b13f0f8e48dafe33998484187397e443fdda8ff0c640fb
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
platform/lang-impl/src/com/intellij/application/options/colors/OptionsPanelImpl.java
jexp/idea2
apache-2.0
6,502
196
codeparrot/github-code
2ece72debb2e5cb1b04b682759a3ab8e81a4fc82369db5b33f2568903b601647
//simple GUI for the Matching program package compare; //importing requird libraries import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFileChooser; ...
Java
src/compare/FilePicker.java
nowshad-sust/ImageMatching-RGB
apache-2.0
2,982
100
codeparrot/github-code
5283cbce4833f92756f0a2b209755f70bb35d48797aa5cbcee5ea7075294b7db
/** * Copyright 2013 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 ...
Java
core/src/main/java/com/bushstar/htmlcoinj/jni/NativeWalletEventListener.java
machado-rev/htmlcoinj
apache-2.0
1,933
57
codeparrot/github-code
6e817f8176ab3c87a551a5f0b6fbefed52a933959e71eee56d6e42421771f0f8
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } body { font-family: Helvetica Neue for IBM, Helvetica Neue, Helvetica, Arial, sans-serif; margin: 0; padding: 0; } div { word-wrap: break-word; line-height: 1.25rem; } #view-change-button { display: inline-bl...
CSS
public/css/app.css
gvitiello/weather1
apache-2.0
9,445
431
codeparrot/github-code
e6dceb17fa5a44fe87302edc93c9c8940559a6dadcde3e140f24ac42f001e778
import React from 'react'; import { within, userEvent } from '@storybook/testing-library'; import { action } from '@storybook/addon-actions'; import { Badge } from '@talend/react-components'; import { useTranslation } from 'react-i18next'; import set from 'lodash/set'; import cloneDeep from 'lodash/cloneDeep'; import t...
JavaScript
packages/faceted-search/stories/facetedSearch.stories.js
Talend/ui
apache-2.0
11,370
442
codeparrot/github-code
6a47f9d28dbfd355e6d4ce9347c92979ac8850b1650ab08fcbcec3ffc51aa823
// Copyright (c) 2014 ikawaha. // 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
token.go
sidestepism/kagome
apache-2.0
1,434
51
codeparrot/github-code
7de2680c038c30c3589597c0779ebf737a1efc8730352fbc665be24ab3e7ed8d
/* * (c)2016-2017, Cris Luengo. * Based on original DIPlib code: (c)1995-2014, Delft University of Technology. * * 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...
C++
src/statistics/statistics.cpp
DIPlib/diplib
apache-2.0
31,998
818
codeparrot/github-code
9187df8f0837a11932518f47f57dd0fb3d575d440b3f8e859cd6a1634d883f95
/*! * ${copyright} */ // Provides control sap.ui.commons.Tree. sap.ui.define(['jquery.sap.global', './library', 'sap/ui/core/Control'], function(jQuery, library, Control) { "use strict"; /** * Constructor for a new Tree. * * @param {string} [sId] id for the new control, generated automatically if no id i...
JavaScript
src/sap.ui.commons/src/sap/ui/commons/Tree.js
olirogers/openui5
apache-2.0
31,259
1,030
codeparrot/github-code
db67a26df106bcd5f7162b9585f92e7c8265f4d488f3624a960d43bca8843a4f
/* * Copyright 2015-2102 RonCoo(http://www.roncoo.com) Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
Java
roncoo-pay-service/src/main/java/com/roncoo/pay/reconciliation/service/impl/RpAccountCheckBatchServiceImpl.java
roncoo/roncoo-pay
apache-2.0
2,130
72
codeparrot/github-code
366181b4d6eaeff6330da51cb3ae1e0650ee65d6a9b8a1a44f836e1342d0d24f
package config import ( "fmt" "strconv" "strings" "github.com/dnephin/configtf" pth "github.com/dnephin/configtf/path" ) // ComposeConfig A **compose** resource runs ``docker-compose`` to create an // isolated environment. The **compose** resource keeps containers running // until **dobi** exits so the containe...
GO
config/compose.go
dnephin/dobi
apache-2.0
2,255
81
codeparrot/github-code
644486c357539e8401822f7336e8ea9f51c69a357e7b1c29468390e9e0a43db0
typedef void (TestPrototype) (void); typedef struct { int x[30]; } TestClass; void test1(void) { int *x = ((TestClass *) pointcut_ptr())->x; int i; for (i = 1; i <= 10; i += 1) { x[2 * i] = x[2 * i + 1] + 2; } } void test2(void) { int *x = ((TestClass *) pointcut_ptr())->x; int i; for (i = 1; i <= 10; i ...
C
t/scripts/pointcut5.rose.c
quenette/COMPASS-I
apache-2.0
922
56
codeparrot/github-code
bfc6668b30d8f76a1c9a430cd76527ff33a83443c27b25333da5b1cf6249cccb
using DNTBreadCrumb.Core; using DNTCommon.Web.Core; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace ASPNETCoreIdentitySample.Controllers; [BreadCrumb(Title = "خانه", UseDefaultRouteUrl = true, Order = 0)] public class HomeController : Controller { [BreadCrumb(Title = "ایندکس",...
C#
src/ASPNETCoreIdentitySample/Controllers/HomeController.cs
VahidN/DNTIdentity
apache-2.0
1,009
33
codeparrot/github-code
7e49b159da611a56c3b3981371c00fe630d0b3dd787fc39e2079f0fa001a68a9
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrRenderTargetPriv_DEFINED #define GrRenderTargetPriv_DEFINED #include "GrRenderTarget.h" #include "GrGpu.h" class GrStencilSettings; /** Class that adds methods to...
C
src/gpu/GrRenderTargetPriv.h
qrealka/skia-hc
apache-2.0
1,925
56
codeparrot/github-code
87d5341cd6f60ffa8aeea3ab76e95c28c37914285a4d39f3c900e1aba9c2e8dd
/* Copyright (c) 2013, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of source code must retain the above copyright * notice, this list of c...
C
msm8916_lk_mpp2_adc_test/pm8x41_adc.c
eliot-shao/qcom
apache-2.0
11,236
435
codeparrot/github-code
423356bf4196ed2d354ae123cd85b3d717d83a28b6920f36b70f61940ada101a
/* Copyright 2014-2016 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 law or agreed to in writing, s...
Java
moe.apple/moe.platform.ios/src/main/java/apple/homekit/HMHomeManager.java
multi-os-engine/moe-core
apache-2.0
9,411
282
codeparrot/github-code
d57f0d27c7afd424ec16151b71988ad519215a699007724548ab1cc4655cd1a0
/* * 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
common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/ExternalShuffleClient.java
actuaryzhang/spark
apache-2.0
7,360
198
codeparrot/github-code
adbebcfc10431718092bd69df3c94d4883534633d607479ba1434452c5dd7157
/* Copyright 2017 Ahmed Zaher Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distrib...
GO
config.go
adzr/rego
apache-2.0
6,782
144
codeparrot/github-code
968e2577c335866fb8b5afe7b1b9f60b3f9bbc26e2231dc4a7c3c41b54bff881
/* * Copyright 2017 Google * * 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...
C
Firebase/Auth/Source/RPCs/FIRVerifyPhoneNumberRequest.h
ulukaya/firebase-ios-sdk
apache-2.0
2,972
79
codeparrot/github-code
80ef096aa7bd55cee06b2f76d4de3f52121e83ab6aa6e2dc1a62a3d43a2abd6a
/* * Copyright 2012-2013 Stephane Godbillon (@sgodbillon) and Zenexity * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
Scala
driver/src/main/scala/api/collections/bson/bsoncollection.scala
charleskubicek/ReactiveMongo
apache-2.0
3,065
73
codeparrot/github-code
e148b423cfacbd7adb759d837103698bd11a7a80e12745bc279f2aa21e8065b4
// Copyright (c) 2017 Uber Technologies, 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...
GO
rules/validator/options.go
m3db/m3metrics
apache-2.0
13,478
363
codeparrot/github-code
028ffa00e9f1ca3ad07e4fc2bd372ba55689d020993f9fb92ac510c9315eabee
/* * ************************************************************************************************* * Copyright 2016 Universum Studios * ************************************************************************************************* * Licensed under the Apache L...
Java
library-base/src/test/java/universum/studios/android/fragment/annotation/handler/BaseAnnotationHandlersTest.java
universum-studios/android_fragments
apache-2.0
2,753
71
codeparrot/github-code
66f74e02af44b110fa87cb1f54cb7ded016f04c56c914cc886d848722385342b
package com.github.davidmoten.rtree; import static com.github.davidmoten.rtree.geometry.Geometries.rectangle; import static java.util.Optional.of; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Optional; import com.github.davidmoten.guav...
Java
src/main/java/com/github/davidmoten/rtree/RTree.java
davidmoten/rtree
apache-2.0
34,613
967
codeparrot/github-code
7884b2816df0ee59ad03511ecdba4f1eabdd5101994178f0e1833111658c081a
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
modules/flowable-dmn-engine/src/main/java/org/flowable/dmn/engine/impl/cmd/ExecuteDecisionWithAuditTrailCmd.java
stephraleigh/flowable-engine
apache-2.0
2,903
67
codeparrot/github-code
5fd672d5ba4f67fa1d0885d487a04d3735187deb63ec0c9858f24fe21792f873
#!/usr/bin/env ruby # Encoding: utf-8 # # Copyright:: Copyright 2015, Google Inc. All Rights Reserved. # # License:: 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 # # ...
Ruby
adwords_api/examples/v201605/reporting/stream_criteria_report_results.rb
kjvarga/google-api-ads-ruby
apache-2.0
3,619
98
codeparrot/github-code
0fb6dd186a6d58df3c98bc551e1d26e3f57be08edf2a04f07e397b9c85f48a14
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/quicksight/QuickSight_EXPORTS.h> #include <aws/quicksight/model/ThemeAlias.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { template<t...
C
aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateThemeAliasResult.h
jt70471/aws-sdk-cpp
apache-2.0
3,326
125
codeparrot/github-code
a76d89801e1a5f0b77d586a815c571512b41bc2775782f99c624eacbe8e6df37
/* * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Java
google-cloud-clients/google-cloud-dns/src/test/java/com/google/cloud/dns/it/ITDnsTest.java
vam-google/google-cloud-java
apache-2.0
88,484
2,070
codeparrot/github-code
b222c3ee89addcb0a7ede3aebe0b42093935ba525f7ff1d5b1fad53302ea8652
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "sw/device/lib/crypto/drivers/otbn.h" #include <assert.h> #include <stddef.h> #include <stdint.h> #include "sw/device/lib/base/bitfield.h" #include "sw/device...
C
sw/device/lib/crypto/drivers/otbn.c
lowRISC/opentitan
apache-2.0
4,988
144
codeparrot/github-code
b897f89f99c2683318fa99dcccbfe047ee0d4224a954473f487a7e35a67dafb0
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
lang/java/reef-io/src/main/java/org/apache/reef/io/network/group/impl/driver/TopologyUpdateWaitHandler.java
taegeonum/incubator-reef
apache-2.0
4,136
98
codeparrot/github-code
a7b10de3be77aeced037383ab9a3f1ba814c9d39770c537aa30648ff123303e5
import java.util.Scanner; /** * @author Oleg Cherednik * @since 04.08.2018 */ public class Solution { static class SinglyLinkedListNode { public int data; public SinglyLinkedListNode next; public SinglyLinkedListNode(int nodeData) { this.data = nodeData; this.n...
Java
Tutorials/Interview Preparation Kit/Linked Lists/Find Merge Point of Two Lists/Solution.java
oleg-cherednik/hackerrank
apache-2.0
3,072
115
codeparrot/github-code
04afab8ff94c2aa62d747a4d9510f5792d6d59bf3a68b44456cebd45289d7ccf
package com.myit.server.service.admin.impl; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.myit.common.beans.PageQueryParam; impo...
Java
code/myit-server/src/main/java/com/myit/server/service/admin/impl/MenuServiceImpl.java
346674058/SuRui
apache-2.0
4,551
155
codeparrot/github-code
265f9b81b0bb55d94b71be5dc41a3439a3124a5106eea10a9d0a82b44973445a
--- title: Fillets --- <p> Fillets are round corners where two paths meet. Maker.js provides two types of fillets: traditional fillets and <a href="#Dogbone%20Fillets">dogbone fillets</a>. </p> <h4>Traditional fillet</h4> <p> Rounding a corner can add strength to your part, as well as make it faster to p...
HTML
docs/_snippets/fillets.html
Microsoft/maker.js
apache-2.0
2,369
99
codeparrot/github-code
eb6cc580e58a49d02d46a0d034c32e8d88c85f57d8b56372a578a308974658b2
/** * Copyright 2004-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
Java
pm/impl/src/test/java/org/kuali/kpme/pm/position/PositionBoTest.java
kuali/kpme
apache-2.0
8,006
177
codeparrot/github-code
baf3fb2b8e1ecd845de313818dfa16a10326eb7ceae8fe503a74af5ff6ea8323
/******************************************************************************* * Copyright 2012 Sevket Seref Arikan, David Ingram * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
Java
Opereffa/src/uk/ac/ucl/chime/web/RandomGroupIdAdapter.java
josealmeida/opereffa
apache-2.0
2,256
60
codeparrot/github-code
045420c072c149831275a8a38bf7cb242424eabd2f1d04c6edc863386c56c483
/* * Copyright 2015 Jerom van der Sar. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
Java
src/test/java/net/pravian/lalparser/LALFileTest.java
Pravian/LALParser
apache-2.0
2,524
80
codeparrot/github-code
8c4e87e8426d4b29071ca03003827a777bb657c35257d735d381fb15d2c6cc46
/* * Copyright 2010-2012 Luca Garulli (l.garulli--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.apache.org/licenses/LICENSE-2.0 ...
Java
core/src/main/java/com/orientechnologies/orient/core/version/ODistributedVersion.java
nengxu/OrientDB
apache-2.0
12,956
403
codeparrot/github-code
c72f60b971a0c3ec71883b00801bc0a433651e8e3d1bd113a5287ebc0ab44461
package org.jetbrains.plugins.scala package components import java.awt.event.MouseEvent import javax.swing.Icon import com.intellij.ide.DataManager import com.intellij.notification._ import com.intellij.openapi.actionSystem.{CommonDataKeys, DataContext} import com.intellij.openapi.components._ import com.intellij.ope...
Scala
src/org/jetbrains/plugins/scala/components/HighlightingAdvisor.scala
loskutov/intellij-scala
apache-2.0
6,242
201
codeparrot/github-code
df44032b8932cb1a6ac85d631762f6ddd08aff02eeea25b024dd04f37136e6d0
/* Copyright 2015 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
JavaScript
src/display/display_utils.js
xavier114fch/pdf.js
apache-2.0
19,246
644
codeparrot/github-code
4226125580d77e9b480920e4bf4dbc2c2ada2d5ede47feb55731f1ddd28aec52
package ca.corefacility.bioinformatics.irida.ria.web.services; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Set; import java.util.stream.Collectors; import javax.validation.ConstraintViolationException; import org.apache.commons.lang3.RandomStringUtils; import org.spring...
Java
src/main/java/ca/corefacility/bioinformatics/irida/ria/web/services/UIClientService.java
phac-nml/irida
apache-2.0
7,213
186
codeparrot/github-code
e8205265a8045d955923c490e32f7f70b5e46d087d8df7d9b46f474c96091318
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C++
aws-cpp-sdk-serverlessrepo/source/ServerlessApplicationRepositoryClient.cpp
cedral/aws-sdk-cpp
apache-2.0
35,526
703
codeparrot/github-code
fff0aad5fd21272e47bc35ab0b564dff51e40ff9795ca69bfe032788bf885f00
/* * Copyright 2014-2019 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 "licen...
Java
aws-java-sdk-managedblockchain/src/main/java/com/amazonaws/services/managedblockchain/model/transform/DeleteMemberRequestProtocolMarshaller.java
jentfoo/aws-sdk-java
apache-2.0
2,674
64
codeparrot/github-code
97a06ce89a45183afbaadeed3bc37b899570794b58dca6b2736fd9febea115f7
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2019 Atif Aziz. 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:...
C#
MoreLinq.Test/AggregateTest.cs
morelinq/MoreLINQ
apache-2.0
9,959
217
codeparrot/github-code
2f4f41474c9242547527a36b1c83056c845d4513cfe954ca5bbae3edb646fc17
package com.ts.util.doctor; import java.util.HashMap; import java.util.Map; public class DoctorConst { public static Map<String,String> rstypeMap = new HashMap<String,String>(); static{ rstypeMap.put("diaginfo","禁"); rstypeMap.put("dosage","法"); rstypeMap.put("ingredien","重"); rstypeMap.put("int...
Java
src/main/java/com/ts/util/doctor/DoctorConst.java
ljcservice/autumnprogram
apache-2.0
1,139
34
codeparrot/github-code
c223626432c61b89c07426863cc45f6d204e7ebbed7fdc71d736b7a307485970
/*- * << * UAVStack * == * Copyright (C) 2016 - 2017 UAVStack * == * 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 r...
Java
com.creditease.uav.agent.heartbeat/src/main/java/com/creditease/agent/feature/hbagent/HeartBeatQueryListenWorker.java
xxxllluuu/uavstack
apache-2.0
1,807
59
codeparrot/github-code
fadb49b11f51eea0125b09cc81b106e742f0dc9796e93888faab93b332e827b3
namespace VisionsInCode.Feature.AppDeeplink.Repositories { using System.Web; using Sitecore.Foundation.SitecoreExtensions.Extensions; using Sitecore.Mvc.Presentation; using Sitecore.Web.UI.WebControls; using VisionsInCode.Feature.AppDeeplink.ViewModels; public class AppDeeplinkViewModelRepository : IAppD...
C#
src/Feature/AppDeeplink/code/Repositories/AppDeeplinkViewModelRepository.cs
GoranHalvarsson/Habitat
apache-2.0
1,869
55
codeparrot/github-code
fd448fb4fb6604e49d57f212a3f524aa42f2a2ca0d8e6809af1d516da031e879
from rest_framework import status from rest_framework.exceptions import APIException, ParseError def json_api_exception_handler(exc, context): """ Custom exception handler that returns errors object as an array """ # Import inside method to avoid errors when the OSF is loaded without Django from rest_fr...
Python
api/base/exceptions.py
arpitar/osf.io
apache-2.0
1,838
48
codeparrot/github-code
d508501d64ebc52f045f426c9c06aa85614dca4a1e97e8ed488673e92f1b7246
/* * Code contributed to the Learning Layers project * http://www.learning-layers.eu * Development is partly funded by the FP7 Programme of the European * Commission under Grant Agreement FP7-ICT-318209. * Copyright (c) 2016, Karlsruhe University of Applied Sciences. * For a list of contributors see the AUT...
Java
ld-etherpad/src/main/java/de/hska/ld/etherpad/service/UserEtherpadInfoService.java
learning-layers/LivingDocumentsServer
apache-2.0
1,589
43
codeparrot/github-code
8be3dd5776e79e56fdcea7c6c3f113dbea4422aa2690d194028d70e7db0f9340
/* * Copyright 2017 StreamSets 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...
Java
container/src/main/java/com/streamsets/datacollector/config/ModelDefinition.java
z123/datacollector
apache-2.0
3,255
102
codeparrot/github-code
e4e2791efaf68340b331fbddffe1d31a3ad7de2a9d95b2593a87afb769efac82
package any.ejbtest; import com.dms.Discriminated; import java.util.List; /** * MoviesImplEjb, 02.03.2015 * * Copyright (c) 2014 Marius Dinu. All rights reserved. * * @author mdinu * @version $Id$ */ //@Named @Discriminated(isResultAggregated = true) public class MoviesImplWrapper implements Movies { pri...
Java
src/test/java/any/ejbtest/MoviesImplWrapper.java
dmarius99/ImplementationDiscriminator
apache-2.0
826
44
codeparrot/github-code
89b3f48c2f346ab55828e590a40d3bc8492de4f4e3b2119ebaf214bf05917b7f
// checking for wcsftime() in <wchar.h> #if defined (_RWSTD_USE_CONFIG) # include "config.h" #endif // _RWSTD_USE_CONFIG #include <stddef.h> // for size_t #include <stdio.h> // for printf() #include <time.h> // for struct tm #ifndef _RWSTD_NO_WCSFTIME # ifndef _RWSTD_NO_WCHAR_H # include <wchar.h> ...
C++
etc/config/src/WCSFTIME_WCHAR_T_FMAT.cpp
apache/stdcxx
apache-2.0
2,337
111
codeparrot/github-code
42c60815a9a8e4fc8ae2af76cbb9eda41d978fba128cc4a29c998639f3dc42f9
/*** * * Copyright 2014 Andrew Hall * * 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
statefulj-persistence/statefulj-persistence-jpa/src/test/java/org/statefulj/persistence/jpa/embedded/EmbeddedJPAPersisterTest.java
statefulj/statefulj
apache-2.0
4,425
133
codeparrot/github-code
d2d091c57dd8e03b9ca2ad6ae17e0d1528a256fe03ad2ec62c6ce7293235349d
/* * Copyright © 2009 HotPads (admin@hotpads.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Java
datarouter-mysql/src/main/java/io/datarouter/client/mysql/ddl/domain/SqlIndex.java
hotpads/datarouter
apache-2.0
1,492
62
codeparrot/github-code
067cc411ef3ac124142086abd7d1b47f474ee47c51d526a4c7323fa55dd6260f
package uk.co.ourfriendirony.medianotifier.clients.tmdb.movie.get; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotatio...
Java
app/src/main/java/uk/co/ourfriendirony/medianotifier/clients/tmdb/movie/get/MovieGet.java
OurFriendIrony/MediaNotifier
apache-2.0
11,616
446
codeparrot/github-code
2e55a7e50ed94f80f15d3cd969b59c185750148c80d3de6447b37a7b9c92391b
// file ExampleInventoryRead // $Id: ExampleInventoryRead.java,v 1.10 2009/01/09 22:10:13 mark Exp $ package je.gettingStarted; import java.io.File; import java.io.IOException; import com.sleepycat.bind.EntryBinding; import com.sleepycat.bind.serial.SerialBinding; import com.sleepycat.bind.tuple.TupleBinding; import...
Java
code/third_party/bdb/examples/je/gettingStarted/ExampleInventoryRead.java
bjorndm/prebake
apache-2.0
7,325
202
codeparrot/github-code
35e3ff43acf4381f574f0001390d1d716a50ca2f0ba9e6602056a616531a7200
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distrib...
Java
client/src/main/java/org/hobsoft/contacts/client/contact/ContactDeleteDriver.java
markhobson/contacts
apache-2.0
2,326
72
codeparrot/github-code
f0c619579a0eec2a7324ec9d6b77411f1bccc8264d0cf75e3033e72511ba96fa
<?php /** * @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com) */ /** * Catalog product weight backend attribute model * * @author Magento Core Team <core@magentocommerce.com> */ namespace Magento\Catalog\Model\Product\Attribute\Backend; class Weight extends \Magento\Eav\Model\E...
PHP
app/code/Magento/Catalog/Model/Product/Attribute/Backend/Weight.php
webadvancedservicescom/magento
apache-2.0
941
32
codeparrot/github-code
c474e83e2f4e3d6cd376ed109f3aec635629346fe7366cccab03f1dd19aa64cc
/* * Copyright 2018 TWO SIGMA OPEN SOURCE, 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 appl...
TypeScript
js/notebook/src/plot/PlotCursor.ts
twosigma/beaker-notebook
apache-2.0
4,974
165
codeparrot/github-code
5b1452b52b6dcd9df9f49559df5e6ef3f8ae39a9d9759bc45b7df97cd902b895
<?php /* * Copyright (C) 2017 Luis Pinto <luis.nestesitio@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ver...
PHP
catrineta/form/Form.php
nestesitio/mvc-catrineta
apache-2.0
2,182
102
codeparrot/github-code
c0b4ee27279f3025088310689e06530e9a008512e6ca285dfefa800765d1a57f
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!--[if !mso]><!--> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <!--<![endif]...
HTML
mrDoors/2016/mrDoors_20161221_v2/mrDoors_20161221_v2.html
wim-agency/wim-agency.github.io
apache-2.0
42,596
546
codeparrot/github-code
280b3532f3b81e85a231e98de1a7832e14c4613a50b0daf4687258bec09f491a
// Copyright 2016 The Draco 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...
C
libs/draco/include/compression/mesh/mesh_encoder.h
satcy/ofxDraco
apache-2.0
2,634
84
codeparrot/github-code
488f03a6312460f532cb85d5b34dc1424ce1cc6f05b9ace503fbd433ab4aa9e1
/* * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Java
rsocket-transport-local/src/main/java/io/rsocket/transport/local/LocalUriHandler.java
qweek/rsocket-java
apache-2.0
1,377
44
codeparrot/github-code
09f24a1bcfe3016c7095c860913d26697a0eafca628396ad4733c616cae1f828
/* * Copyright 2010-2021 James Pether Sörling * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Java
citizen-intelligence-agency/src/test/java/com/hack23/cia/systemintegrationtest/ChartTest.java
Hack23/cia
apache-2.0
3,412
139
codeparrot/github-code
f46033449956bc3f38e7cf9be337ba4e79f09e6d26375de32444d04339caa48a
############################################################################## # Build global options # NOTE: Can be overridden externally. # # Compiler options here. ifeq ($(USE_OPT),) USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16 endif # C specific options here (added to USE_OPT). ifeq ...
Makefile
demos/STM32/RT-STM32F373-STM32373C_EVAL/Makefile
roboknight/chibios-lpc43xx
apache-2.0
5,658
205
codeparrot/github-code
2867853d7ef0cf10ff9a0a446deb68966d6138857fbf63a6c22be55dd195519f
package org.dfhu.thpwa.routing; abstract class RouteAdder<T extends Route> { /** * Get the url pattern for this route */ protected abstract String getPath(); /** * get the HTTP request method */ protected abstract Route.METHOD getMethod(); public void doGet(RouteAdder<T> routeAdder) { Halti...
Java
backspark/src/main/java/org/dfhu/thpwa/routing/RouteAdder.java
Victory/TreasureHuntPWA
apache-2.0
730
37
codeparrot/github-code
bfe2b72f397f1837f6cfd5ca732bba05a377169b09b4319d75a79d95971b0a7a
package com.github.takezoe.xlsbeans; import com.github.takezoe.xlsbeans.annotation.Column; import com.github.takezoe.xlsbeans.annotation.MapColumns; import java.util.Map; public class LanguageIDE { private String name; private Map<String, String> attributes; public Map<String, String> getAttribut...
Java
src/test/java/com/github/takezoe/xlsbeans/LanguageIDE.java
takezoe/xlsbeans
apache-2.0
665
32
codeparrot/github-code
cb47a33b81fed7ccf831af19ff0e2da39a5f037d55090761ca65b7c0396eed8d
package com.ironz.binaryprefs; import com.ironz.binaryprefs.cache.candidates.CacheCandidateProvider; import com.ironz.binaryprefs.cache.provider.CacheProvider; import com.ironz.binaryprefs.event.EventBridge; import com.ironz.binaryprefs.exception.TransactionInvalidatedException; import com.ironz.binaryprefs.file.trans...
Java
library/src/main/java/com/ironz/binaryprefs/BinaryPreferencesEditor.java
iamironz/binaryprefs
apache-2.0
10,537
330
codeparrot/github-code
34188cac143f8423649e5ea26788109330e6ab7d769b6cd37811a14cbe356e35
package org.jrenner.fps.utils; import com.badlogic.gdx.utils.Array; import org.jrenner.fps.Log; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.zip.GZIPInputStream; import java.util.zip.GZIPOutputStream; pub...
Java
core/src/org/jrenner/fps/utils/Compression.java
jrenner/gdx-proto
apache-2.0
1,974
78
codeparrot/github-code
51c1771cac814c1641c10f865d79f224653ff52c0508bd764561d71ab60ba1f2
package demo.hashing; import java.nio.ByteBuffer; public class CassandraHash { private static long getblock(ByteBuffer key, int offset, int index) { int i_8 = index << 3; return ((long) key.get(offset + i_8 + 0) & 0xff) + (((long) key.get(offset + i_8 + 1) & 0xff) << 8) + (((long) key.get(offset + i_...
Java
src/main/scala/demo/hashing/CassandraHash.java
haghard/docker-compose-akka-cluster
apache-2.0
4,268
176
codeparrot/github-code
242150a08161fd23b2e37bde3eaa4bc9a1f1e01b3ac72ca27252dd772ec45f59
/* * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.pricer.swaption; import java.io.Serializable; import java.time.LocalDate; import java.time.ZonedDateTime; import java.util.Map; import java.util.NoSuchEl...
Java
modules/pricer/src/main/java/com/opengamma/strata/pricer/swaption/NormalSwaptionExpiryStrikeVolatilities.java
OpenGamma/Strata
apache-2.0
19,774
538
codeparrot/github-code
b29361d0694128d6ff729b307abd2241b8056eccf4fb694a60a23d53bc5a6028
/* * Copyright © 2015 Lable (info@lable.nl) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Java
src/main/java/org/lable/oss/bitsandbytes/BitMask.java
LableOrg/java-bitsandbytes
apache-2.0
3,927
109
codeparrot/github-code
a129bd23ac31e3c7cf7ddc81167d00edd818773bfd51142eb2656a8e796fdffb
/* * 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
plugin/src/main/java/me/scana/okgradle/internal/dsl/parser/elements/GradleDslLiteral.java
scana/ok-gradle
apache-2.0
5,565
169
codeparrot/github-code
33fb4bf8a392a7b843058aeba8538b7286ecf61558dbd576dfb9fdbab89e1206
package com.myntra.coachmarks.builder; import android.graphics.Rect; import android.os.Parcelable; import com.google.auto.value.AutoValue; @AutoValue public abstract class CoachMarkPixelInfo implements Parcelable { public static CoachMarkPixelInfo.Builder create() { return new AutoValue_CoachMarkPixelIn...
Java
coachmarks/src/main/java/com/myntra/coachmarks/builder/CoachMarkPixelInfo.java
myntra/CoachMarks
apache-2.0
3,163
92
codeparrot/github-code
fc0255514e300d26fc633b5248f04b143f2603b2c604ccffb512caaa7a2d4c17
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not ...
Java
reader-gtfs/src/main/java/com/graphhopper/reader/gtfs/PtFlagEncoder.java
komoot/graphhopper
apache-2.0
3,249
99
codeparrot/github-code
e81bd214485a5e5c1f1135e358cbc5256789f0ba6bafe3ae84be333c765d0274
// <copyright file="BingMainPageElementMap.cs" company="Automate The Planet Ltd."> // Copyright 2021 Automate The Planet 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.apac...
C#
dotnet/Design-Architecture-Series/AdvancedPageObjectPattern/Pages/BingMainPage/BingMainPageElementMap.cs
angelovstanton/AutomateThePlanet
apache-2.0
1,441
45
codeparrot/github-code
81c072932aa15530218b00826c9519f7d6537080f2c3f2b4e4386c3bbe638864
package org.siggd.actor; import org.siggd.ContactHandler; import org.siggd.Convert; import org.siggd.Game; import org.siggd.Level; import org.siggd.StableContact; import org.siggd.Timer; import org.siggd.view.BodySprite; import org.siggd.view.CompositeDrawable; import org.siggd.view.Drawable; import com.b...
Java
BlobGame/src/org/siggd/actor/Cannon.java
underclocker/Blob-Game
apache-2.0
10,975
352
codeparrot/github-code
07157961cd45f9b90dd0d760c46083f97841b616d32623b6472966d12b0291c7
#!/usr/bin/env bash # Copyright 2019 The Knative 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 ...
Shell
hack/generate-yamls.sh
knative/operator
apache-2.0
3,309
88
codeparrot/github-code
539d1966c26117a3fbb61e4476e2339d076eace116e7420318235de0addb049d
/* * 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-core/src/test/java/org/apache/geode/internal/logging/LogServiceIntegrationJUnitTest.java
smanvi-pivotal/geode
apache-2.0
8,584
238
codeparrot/github-code
23e4e17abfd1eaefe11b673fe634edeb4b034b188f4f930ea0b5a409e4d91aa3
package io.quarkus.arc.deployment; import org.jboss.jandex.AnnotationInstance; import org.jboss.jandex.ClassInfo; import org.jboss.jandex.DotName; import org.jboss.jandex.Type; import io.quarkus.arc.processor.BeanInfo; import io.quarkus.deployment.annotations.BuildProducer; import io.quarkus.deployment.annotations.Bu...
Java
extensions/arc/deployment/src/main/java/io/quarkus/arc/deployment/ReflectiveBeanClassesProcessor.java
quarkusio/quarkus
apache-2.0
1,559
36
codeparrot/github-code
cc4035917d2d1cba51ee926f581fce737fff5072e553d2ff3ec835dfa18364fc
/* * Copyright (c) 2008-2021, 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 ...
TypeScript
src/codec/MapEvictAllCodec.ts
hazelcast-incubator/hazelcast-nodejs-client
apache-2.0
1,557
44
codeparrot/github-code
0fd2aef0b287a11f64b6464dca3562cf41995a8c7589a6417afbbf33454c1cd3
// +build matcha package bridge // Go support functions for Objective-C. Note that this // file is copied into and compiled with the generated // bindings. /* #include <stdbool.h> #include <stdint.h> #include <stdlib.h> #include "go-foreign.h" */ import "C" import ( "bytes" "encoding/binary" "fmt" "math" "refl...
GO
bridge/go-foreign.go
gomatcha/matcha
apache-2.0
6,886
337
codeparrot/github-code
7dc3a4d1c0bb276da2a93eb8b49ab9dd5d91d465ef3a89d3c101353f3549ba77
package com.android.potlach.cloud.client; import java.io.IOException; import java.net.Socket; import java.net.UnknownHostException; import java.security.KeyManagementException; import java.security.KeyStore; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException; import java.sec...
Java
src/com/android/potlach/cloud/client/UnsafeHttpsClient.java
diyanfilipov/potlach-client
apache-2.0
4,431
122
codeparrot/github-code
fc1471d12435722f1439d0bc4af844e45e4a48d72c262371aa7aff71f012babd
/* Copyright 2019 The Knative 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, soft...
GO
pkg/junit/junit.go
knative/test-infra
apache-2.0
5,190
172
codeparrot/github-code
b48953923bf9de288bf63273ea381cc065d6dba633a3276c1ee31607697479cb
# Copyright 2011 OpenStack Foundation # Copyright 2011 Nebula, 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/...
Python
keystoneclient/v3/users.py
ging/python-keystoneclient
apache-2.0
6,977
191
codeparrot/github-code
f55de21b3fc35a891b5ff262eff0d3b3c70cc450ec45962d382a4fa7a9743d7e
package cn.six.tutor.table2; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jface.resource.ImageRegistry; import java.net.MalformedURLException; import java.net.URL; /** * Created by songzhw on 2016/3/5. */ public class Table2Util { private static ImageRegistry imgReg; public stati...
Java
IntoJFace/src/cn/six/tutor/table2/Table2Util.java
songzhw/AndroidTestDemo
apache-2.0
1,025
39
codeparrot/github-code
a979d48e9cb372608bebfe7966bbe7b7e4952eb051865078c04c11cee50cbfd7
package com.cqs.socket.example; import javax.net.ServerSocketFactory; import javax.net.ssl.SSLServerSocketFactory; import java.io.BufferedInputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.ServerSocket; import java.net.Socket; import java.util...
Java
src/main/java/com.cqs/socket/example/SocketServerEncrypt.java
lixwcqs/funny
apache-2.0
2,461
75
codeparrot/github-code
b68efed9623dae5918180658ccc62e929584e2447bf1b902158d7b4344dc69de
# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under ...
Perl
lib/Source_obj.pm
delphix/dxtoolkit
apache-2.0
7,467
261
codeparrot/github-code
371bef2e7a662cfdb0ca98066c06a47c56d04cec6736c6137f9e3c96bdeee9c6
package net.community.chest.test.gui; import java.io.BufferedReader; import java.io.PrintStream; import net.community.chest.Triplet; import net.community.chest.awt.dom.converter.InsetsValueInstantiator; import net.community.chest.awt.layout.gridbag.ExtendedGridBagConstraints; import net.community.chest.awt.layout.grid...
Java
chest/gui/swing/src/test/java/net/community/chest/test/gui/ResourcesTester.java
lgoldstein/communitychest
apache-2.0
3,969
98
codeparrot/github-code
9965a9080fe8f4e55295bffa468d9e0c450e47a77a8308c585b483f26dbb61e8
/** * 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
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTableScanException.java
HubSpot/hbase
apache-2.0
6,339
182
codeparrot/github-code
e1978effbdd6205df43fa020bf970f07164eee1fe1013e759a36a35a53d2e58c
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/transform/WriteSegmentRequestMarshaller.java
dagnir/aws-sdk-java
apache-2.0
2,302
59
codeparrot/github-code
1936db6f1ed2eb938ca632f6748a66884e13b7180926455a57578c24b0c57fc9
package com.focusit.jitloganalyzer.tty.model; /** * Created by doki on 08.11.16. * <writer thread='139821162608384'/> */ public class WriterEvent extends AbstractTTYEvent implements TTYEvent, HasThreadId { private final static String START_TOKEN = "<writer"; private long threadId; @Override public...
Java
analyzer/src/main/java/com/focusit/jitloganalyzer/tty/model/WriterEvent.java
d0k1/jitloganalyzer
apache-2.0
637
35
codeparrot/github-code
d880a02b5136a4e8c51429f0073808679895c0dd6ae66ff6da74961f58a6e85d
@extends('portalz::layout') @section('content') @section('breadcrumbs', Breadcrumbs::render('file-management-form',$data)) <div class="row"> <div class="col-md-12"> {!! Form::open(['url' => 'management/file/store','files' => true,'id'=>'storeForm','class'=>'form-horizontal']) !!} {!! Form::hidden('id', isset($data...
PHP
resources/views/files/form Copy.blade.php
suhe/bdoportal
apache-2.0
6,981
165
codeparrot/github-code
1470d3381da6f1bf3e3a92a9c13d76b43f39be8c32c1bf7ca08b8a69ac98cfd3
/// This is a simple implementation of support for Windows Dark Mode, /// which is inspired by the solution in https://github.com/ysc3839/win32-darkmode use std::ffi::OsStr; use std::os::windows::ffi::OsStrExt; use winapi::{ shared::{ basetsd::SIZE_T, minwindef::{BOOL, DWORD, FALSE, UINT, ULONG, WO...
Rust
src/platform_impl/windows/dark_mode.rs
tomaka/winit
apache-2.0
6,667
222
codeparrot/github-code
61069a2d18e3d154ba7f622e0d49e67e9299c74394a38d66599107221edbc528
<% var headContent = { include("/pages/template/head.html"){} }; var bodyContent = { %> <form name="form1" action="" method="post" class="form-horizontal" role="form"> <!-- 数据列表 --> <table class="table"> <% // 列表头部 %> <tr> <td>相册名称</td> <td>${model.album_name}</td> <td>图片名称</td> <td>${model.n...
HTML
src/main/webapp/pages/admin/image/image_view.html
jflyfox/jfinal_cms
apache-2.0
2,544
111
codeparrot/github-code
c41ba7b98cf0d01bfe7ff758f85077012aad78dd144d07aac21357faf7f432ea
# Copyright 2015-2017 Capital One Services, 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 ...
Python
c7n/filters/offhours.py
sixfeetup/cloud-custodian
apache-2.0
21,487
609
codeparrot/github-code
d908486873738c1d67dfeb71b35469cced8c9f8fdb2a859fd619f7f8b758f4bc
/******************************************************************************* * Copyright (c) 2019 Intuit * * 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/...
Java
payments-api/src/test/java/com/intuit/payment/services/ChargeServiceTest.java
intuit/QuickBooks-V3-Java-SDK
apache-2.0
19,665
451
codeparrot/github-code
47f1768b575cc7b06b0c304950c24cdc1ef63289f8acd1ee69b2f0e1af3f2f52
package com.example.fraud; import static org.springframework.web.bind.annotation.RequestMethod.PUT; import java.math.BigDecimal; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; i...
Java
samples/standalone/pact/pact-http-server/src/main/java/com/example/fraud/FraudDetectionController.java
pfrank13/spring-cloud-contract
apache-2.0
1,348
40
codeparrot/github-code
c7932477088a3af16fb3406266fb5cfa9ccaebcbba03b6ed129b0a9a719d1d9f
package annotationInteraction; import java.awt.geom.Rectangle2D; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.TreeMap; public class QueryGenerator { private long worksheet_id; ...
Java
Metatation files/src/annotationInteraction/QueryGenerator.java
pony-boy/AdamBradleyThesis
apache-2.0
29,678
841
codeparrot/github-code
c854ad72fb5eb8b00497cad891ef992328f597d97cbedc0b1f0310ace730b3b3
package com.sva.model; import java.math.BigDecimal; public class LocationModel { private String idType; private BigDecimal timestamp; private String dataType; private BigDecimal x; private BigDecimal y; private BigDecimal z; private String userID; private String path; priva...
Java
model/com/sva/model/LocationModel.java
SVADemoAPP/Server
apache-2.0
1,944
140
codeparrot/github-code
03577a1ab2319f94b9625c4e2fbf6b4de0c4862db75616ccefec5422f1a2abec
/** * Copyright 2013 @ S1N1 Team. * name : * author : jarryliu * date : 2014-02-03 23:18 * description : * history : */ package ols import ( "bytes" "fmt" "github.com/atnet/gof" "go2o/src/core/domain/interface/enum" "go2o/src/core/service/dps" "html/template" "net/http" "runtime/debug" "strings" ) // ...
GO
src/app/front/shop/ols/util.go
IveWong/go2o
apache-2.0
1,842
72
codeparrot/github-code