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
4d72c6229d20b27e1c06c1e44434c54dfbd61121a7fd2023ba4dedcde38a0701
/** * 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
tseenliu/FedHDFS-hadoop-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSLeafQueue.java
tseen/Federated-HDFS
apache-2.0
10,600
332
codeparrot/github-code
0bffeafe41c09224975281a1ec952b6d6ae78c026d8a7a8626fff6866e215317
/* * Copyright 2013 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 ...
Java
governator-legacy/src/test/java/com/netflix/governator/lifecycle/warmup/Flat.java
skinzer/governator
apache-2.0
1,291
52
codeparrot/github-code
266d5a9c530b7b414d5bac835f540cc51713beef8ed55eb759c59717061cf07e
/* 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-idm-engine/src/main/java/org/flowable/idm/engine/impl/cmd/SetUserPictureCmd.java
zwets/flowable-engine
apache-2.0
2,022
59
codeparrot/github-code
d9195978050ac0a8d7bb82379de49e5fb86cda464ebfa4e4aa56056e7af2777e
/* Copyright 2016 Goldman Sachs. 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...
Java
reladomo/src/test/java/com/gs/fw/common/mithra/test/tax/FormRoleList.java
goldmansachs/reladomo
apache-2.0
1,001
43
codeparrot/github-code
8ba769f18e34972847b84b6878cf1613812bbe0ed18a54b78df43a0a2130e4a3
//////////////////////////////////////////////////////////////////////////////// /// @brief associative array implementation /// /// @file /// /// DISCLAIMER /// /// Copyright 2014 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version ...
C
lib/Basics/associative.h
kkdd/arangodb
apache-2.0
23,212
490
codeparrot/github-code
1136e0e7fa6eaffe3dc20a30d5b30d97d60aecfde718a050f996904a0e6f5480
/* Copyright 2014 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
test/e2e/framework/statefulset_utils.go
caesarxuchao/kubernetes
apache-2.0
23,045
616
codeparrot/github-code
380e8e17c9a8a9055c8753f0e0a8668dbe95127fece891307421dce73791915d
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
tensorflow/compiler/xla/service/cpu/layout_assignment.cc
horance-liu/tensorflow
apache-2.0
7,084
165
codeparrot/github-code
f2adf51d1d5ded671c3ea3c0ce910dac598f38ed41dcfda6ed815f10df8c47a4
/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ /* eslint-env node */ /* vim: set ts=2 ft=javascript: */ /// <reference types="../node_modules/@types/node/" /> const n = "xlsx"; import X = require("xlsx"); import 'exit-on-epipe'; import * as fs from 'fs'; import program = require('commander'); program .v...
TypeScript
types/bin_xlsx.ts
SheetJS/js-xlsx
apache-2.0
8,728
245
codeparrot/github-code
ba0284778563ca3428fd8d9f5b583868a0448be38ee423da2c5e0e7024ab6fe2
package org.apereo.cas.ticket.registry; import org.apereo.cas.ticket.Ticket; import org.infinispan.Cache; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Collection; import java.util.concurrent.TimeUnit; /** * This is {@link InfinispanTicketRegistry}. Infinispan is a distributed in-memory ...
Java
support/cas-server-support-infinispan-ticket-registry/src/main/java/org/apereo/cas/ticket/registry/InfinispanTicketRegistry.java
petracvv/cas
apache-2.0
2,994
93
codeparrot/github-code
4d7062bccee0c700a40b2b56258d69fe2b2c3e2433ea390dc23dab982878fb9f
//===--- TaskStatusRecord.h - Structures to track task status --*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LI...
C
include/swift/ABI/TaskStatus.h
glessard/swift
apache-2.0
10,787
313
codeparrot/github-code
4ab7dda79dd87b3183952a3e4a299c1c54c6c1e36205304bb46b2f8f2da87f99
'use strict'; module.exports = function (math) { var util = require('../../util/index'), BigNumber = math.type.BigNumber, collection = require('../../type/collection'), isNumber = util.number.isNumber, isBoolean = util['boolean'].isBoolean, isInteger = util.number.isInteger, isC...
JavaScript
lib/function/probability/factorial.js
wyom/mathjs
apache-2.0
2,388
103
codeparrot/github-code
d13fa10b50db685b824eb2bcae36b0ee3d93080caec693bd1bc0edebec1be1b0
/* * Copyright 2010-2012 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
src/main/java/com/amazonaws/services/ec2/model/transform/DescribeTagsResultStaxUnmarshaller.java
XidongHuang/aws-sdk-for-java
apache-2.0
2,423
67
codeparrot/github-code
fb43b54ddff5bc14275845f3cac1237d05a63045af8af7554a5db457133d10ba
/* * 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")...
Java
core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/properties/property/disabled/DisabledFacetForPropertyAnnotation.java
howepeng/isis
apache-2.0
2,470
63
codeparrot/github-code
7f80472b63e05e7008787a98ecd41c7fa82361a101a54033dfc272c163852a74
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
Java
src/com/facebook/buck/infer/InferConfig.java
facebook/buck
apache-2.0
4,497
129
codeparrot/github-code
fa6a372e6f485328c4428318392d3aa748c967a571a2cd6344f90c3f498f0812
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
C
Modules/Filtering/QuadEdgeMeshFiltering/include/itkSquaredEdgeLengthDecimationQuadEdgeMeshFilter.h
paulnovo/ITK
apache-2.0
4,147
108
codeparrot/github-code
7ca5026cbfbd76a04fe1fb0750d76ae1b821314197b1dd37e4fd4984b569dd1f
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.security.authc.support.mapper; import org.apa...
Java
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/support/mapper/NativeRoleMappingStore.java
coding0011/elasticsearch
apache-2.0
18,616
383
codeparrot/github-code
b0c7c0bb931077e23c2b584b52db4298322aaff677f12bbbf2e2a060e643c458
/* * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * Copyright 2004,2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except ...
Java
src_en/com/sun/org/apache/xerces/internal/impl/dv/xs/YearMonthDurationDV.java
shun634501730/java_source_cn
apache-2.0
2,247
65
codeparrot/github-code
51d865587bcd629572089e0cbd87af30dc5152cf02fc8ac9ce6ec20e4bc61bd1
package depends import ( "fmt" "sync" logutil "github.com/docker/infrakit/pkg/log" "github.com/docker/infrakit/pkg/types" ) var log = logutil.New("module", "run/depends") // ParseDependsFunc returns a list of dependencies of this spec. type ParseDependsFunc func(types.Spec) (Runnables, error) var ( parsers = ...
GO
pkg/run/depends/depends.go
kaufers/infrakit
apache-2.0
1,571
60
codeparrot/github-code
85a34d0c1f76fe65c5064078f9c73b01907e1d481938e64ebc25163295bdddac
/* * Copyright 2014 Space Dynamics Laboratory - Utah State University Research 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/LICEN...
Java
server/openstorefront/openstorefront-web/src/main/java/edu/usu/sdl/openstorefront/web/test/system/AsyncProxyTest.java
tyler-travis/openstorefront
apache-2.0
2,955
94
codeparrot/github-code
1ca4002d9e8a4ef45372d3f1f1b5be3c1c978c83bf6f682b313d55dbc6bfef36
/* * 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/test/java/org/apache/ignite/internal/processors/cache/transactions/AtomicVolatilePartitionCounterStateConsistencyTest.java
samaitra/ignite
apache-2.0
2,030
60
codeparrot/github-code
feb0a994f61068db305e3776665612a15d68a9d532e5555a8b88c7b10f5c7416
/* * Copyright (c) 2010-2012 Grid Dynamics Consulting Services, Inc, All Rights Reserved * http://www.griddynamics.com * * This library is free software; you can redistribute it and/or modify it under the terms of * the Apache License; either * version 2.0 of the License, or any later version. * * THIS SOFTWARE...
Java
dbapi/src/main/java/com/griddynamics/jagger/dbapi/parameter/GroupKey.java
Nmishin/jagger
apache-2.0
2,536
75
codeparrot/github-code
3f6cbd9c564912125ea310697677269452791d41ebbb95b037da7ea86ed1c363
# 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 use ...
Python
flume-ng-doc/sphinx/conf.py
tmgstevens/flume
apache-2.0
3,274
109
codeparrot/github-code
32ad4a37f0010e4b4224c0a741226ae8cab7b878881ee32dd9ccb0cacaabcfae
require 'chef/knife/base_sync' require 'chef/knife/core/object_loader' class Chef class Knife class PackSync < Chef::Knife include ::BaseSync VISIBILITY_ALT_NS_TAG = 'enableForOrg' banner "Loads packs into OneOps.\nUsage:\n circuit pack [OPTIONS] [PACKS...]" option :all, ...
Ruby
oneops-admin/lib/chef/knife/pack_sync.rb
oneops/OneOps
apache-2.0
40,395
891
codeparrot/github-code
d4a90f597e9a7c194bfd59b2bcbe081bb0f2a0c6e849282ba981b43a0fb0dfd0
/* * Copyright 2014 Avanza Bank AB * * 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
astrix-context/src/main/java/com/avanza/astrix/beans/ft/FaultToleranceServiceBeanProxyFactory.java
jensim/astrix
apache-2.0
1,277
45
codeparrot/github-code
e03b352b7f47296f1874bf0eccc352c9e6409ff32d5afe594a09e5a331f90ee1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Form Validation : CodeIgniter User Guide</tit...
HTML
user_guide/libraries/validation.html
prashants/webzash-v1-defunct
apache-2.0
26,145
740
codeparrot/github-code
71f080d3da6ffe587488f5ed291b4e10be79a3d85173b8ef1b038230908425c1
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Scala
core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala
ajaysaini725/spark
apache-2.0
32,894
804
codeparrot/github-code
58eec735233b5ef97c7999751f41f2c104ec61014e72bdc03ed78d8b6d85f32a
/* * Copyright (C) 2010 Toni Menzel * * 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
containers/pax-exam-container-remote/src/main/java/org/ops4j/pax/exam/container/remote/Parser.java
ops4j/org.ops4j.pax.exam2
apache-2.0
1,966
72
codeparrot/github-code
bf55dabea04f2e58f7ee460de5d88491b0b6cc31f6669be0e36aa513a2459f5c
/* * Copyright (c) 2012, salesforce.com, inc. * All rights reserved. * Redistribution and use of this software 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...
Java
libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/IndexSpec.java
huminzhi/SalesforceMobileSDK-Android
apache-2.0
5,296
172
codeparrot/github-code
bf8dc608ad5aa1a8e619b9e673a54e209eb6b2a47aea57a90b96dc8c106188ae
/* * author: the5fire * blog: the5fire.com * date: 2014-03-16 * */ $(function(){ WEB_SOCKET_SWF_LOCATION = "/static/WebSocketMain.swf"; WEB_SOCKET_DEBUG = true; var socket = io.connect(); socket.on('connect', function(){ console.log('connected'); }); $(window).bind("beforeunload",...
JavaScript
src/static/js/chat.js
yhbyun/wechat-1
apache-2.0
10,456
362
codeparrot/github-code
c1864721ae5cfadb424b368977846e38c7f12ce78611c3339af5cdc2ea14a709
/* Copyright 2016-present the Material Components for iOS authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requ...
C
demos/Codelabs/BuildingBeautifulApps/ObjectiveC/Starter/Pods/MaterialComponents/components/Buttons/src/MDCFloatingButton.h
chriscox/material-components-ios
apache-2.0
2,578
88
codeparrot/github-code
1c8517dd3826592b069b036e7d29ec40190765ff08babad94a9d3af7690fb52c
/* * 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
nifi-registry/nifi-registry-core/nifi-registry-web-ui/src/test/java/org/apache/nifi/registry/ui/ITCreateDuplicateBucket.java
MikeThomsen/nifi
apache-2.0
9,295
211
codeparrot/github-code
0d581c53c57718c5a540ad3dbd6c972fb48213a67fb0c1bbaf9428257fc3e2de
/* * Copyright (c) 2015, 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 * * U...
Java
modules/siddhi-core/src/main/java/org/wso2/siddhi/core/util/extension/holder/WindowProcessorExtensionHolder.java
keizer619/siddhi
apache-2.0
1,383
35
codeparrot/github-code
25745b93ba6a7ca99c8c310aadfdc7e24b8a77568857e1fe321047de068aec9b
/* * Copyright 2017-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Java
src/com/facebook/buck/rules/query/QueryCache.java
dsyang/buck
apache-2.0
2,062
55
codeparrot/github-code
493cd02956dce2f8b8270c1ee61695d946e12b15b5bd3cea9bb10aa397c6aa39
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
Java
modules/andes-core/broker/src/main/java/org/wso2/andes/server/management/MBeanInvocationHandlerImpl.java
akalankapagoda/andes
apache-2.0
11,273
321
codeparrot/github-code
a8503f788fa270de9f5abc5245e59c6c7281a5102ef112c8cd0dfaaf0d0fd0e0
// // UriSection.cs // // Authors: // Gonzalo Paniagua Javier (gonzalo@novell.com) // // (c) 2009 Novell, Inc. (http://www.novell.com) // // // 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...
C#
lib/mono/mcs/class/System/System.Configuration/UriSection.cs
symplified/Symplified.Auth
apache-2.0
2,389
83
codeparrot/github-code
39ae27715944d2b844f74a9d5992a0310c591758a6d23bcd65702af369cf042b
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
Python
python/mxnet/gluon/probability/distributions/cauchy.py
szha/mxnet
apache-2.0
2,935
91
codeparrot/github-code
7eb10f68fb28a04b796b75464eab40dc0f34892426fd5dd1bd996717b302bc76
package client import ( "runtime" "text/template" "time" "github.com/docker/docker/api" "github.com/docker/docker/api/types" Cli "github.com/docker/docker/cli" "github.com/docker/docker/dockerversion" flag "github.com/docker/docker/pkg/mflag" "github.com/docker/docker/utils" ) var versionTemplate = `Client:...
GO
api/client/version.go
mauidev/docker
apache-2.0
2,847
94
codeparrot/github-code
f7380e877656e3275a8cc856e74f9f276fdcffd3c050d3b0617b89b6fbc1f305
/* */ "format cjs"; /** * Determines whether two sequences are equal by comparing the elements pairwise using a specified equality comparer. * * @example * var res = res = source.sequenceEqual([1,2,3]); * var res = res = source.sequenceEqual([{ value: 42 }], function (x, y) { return x.value === y.val...
JavaScript
jspm_packages/npm/rx@2.5.3/src/core/linq/observable/sequenceequal.js
cfraz89/moonrock-js-starter
apache-2.0
3,046
90
codeparrot/github-code
faa74a1cfdda69ec1f469bd20fb89aaa762583850d904a82534ee53194a1be61
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
asterixdb/asterix-external-data/src/test/java/org/apache/asterix/external/classad/Util.java
ty1er/incubator-asterixdb
apache-2.0
8,750
250
codeparrot/github-code
b34951632cc1948d0738829a42e92fd549763a43d1ef2d541644177e6b7791ed
# # 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...
Python
airflow/operators/dummy_operator.py
wileeam/airflow
apache-2.0
1,203
37
codeparrot/github-code
e028b4210fd9122d61d52ca99db8aa9efc1cda6930f160a3975aab434d83e4b8
/* * Copyright (c) 2016, 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/entitlement/org.wso2.carbon.identity.entitlement.common/src/main/java/org/wso2/carbon/identity/entitlement/common/dto/ElementCountDTO.java
dharshanaw/carbon-identity-framework
apache-2.0
1,931
63
codeparrot/github-code
61f335942f39dc7fc5a1e18f51beb3b2c59e244797f7d635a6284c9e58310648
/** * 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
stream/distributedlog/common/src/main/java/org/apache/distributedlog/common/concurrent/AsyncSemaphore.java
sijie/bookkeeper
apache-2.0
5,678
162
codeparrot/github-code
81de75662a8e99667ae3ac81ced39983f9a08e18db08a9fd684e9f281917d7a5
/* * * Copyright 2015, Google Inc. * 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 condi...
C++
third_party/grpc/test/cpp/qps/client_sync.cc
shishaochen/TensorFlow-0.8-Win
apache-2.0
5,893
174
codeparrot/github-code
c394f55382d24b7c4d45868af0c0895cd0f60cb4c12fb14020ac89c8e4956be6
/* * 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
platform/platform-impl/src/com/intellij/openapi/vfs/encoding/EncodingUtil.java
idea4bsd/idea4bsd
apache-2.0
11,775
263
codeparrot/github-code
ebfc4db887ff1e5879bbb3088a63c1e0c13916fd9ae3ea0910f78c0820f4586b
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" /> <meta name="description" content="Star bur...
HTML
Apps/Sandcastle/gallery/Star Burst.html
likangning93/cesium
apache-2.0
13,915
420
codeparrot/github-code
bdff7e07f7031a46a7a1c689ae6eff8aa8b7e85e2410a368c91f705675316ace
/* * 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
OpenSOC-Topologies/src/main/java/com/opensoc/topology/runner/TopologyRunner.java
OpenSOC/opensoc-streaming
apache-2.0
36,860
1,049
codeparrot/github-code
5d7b2a713e5a3f49a4cf70b21010a9486236209ea29f616cb01a74db6dc35582
/*** Wrapper/Helper Class for datagrid based on jQuery Datatable Plugin ***/ var Datatable = function () { var tableOptions; // main options var dataTable; // datatable object var table; // actual table jquery object var tableContainer; // actual table container object var tableWr...
JavaScript
static/global/scripts/datatable.js
zeickan/Infected-Engine
apache-2.0
11,607
249
codeparrot/github-code
fd3f6aed5f765c5382a4c29aac9264ce14d5637420c1a2b5c9079e5bb59cb052
"""Support for the Foobot indoor air quality monitor.""" import asyncio from datetime import timedelta import logging import aiohttp from foobot_async import FoobotClient import voluptuous as vol from homeassistant.const import ( ATTR_TEMPERATURE, ATTR_TIME, CONF_TOKEN, CONF_USERNAME, TEMP_CELSIUS...
Python
homeassistant/components/foobot/sensor.py
leppa/home-assistant
apache-2.0
4,893
158
codeparrot/github-code
2104edc3df0fa753577154f2f5ba1a361ea36b2bdac0a1e15fad91dd9c275704
import six from hamcrest.core.base_matcher import Matcher from hamcrest.core.core.isequal import equal_to __author__ = "Jon Reid" __copyright__ = "Copyright 2011 hamcrest.org" __license__ = "BSD, see License.txt" import types def wrap_matcher(x): """Wraps argument in a matcher, if necessary. :returns: the ...
Python
sdks/python/.tox/py27gcp/lib/python2.7/site-packages/hamcrest/core/helpers/wrap_matcher.py
axbaretto/beam
apache-2.0
880
37
codeparrot/github-code
a9b087bdcbdf3f16c4d362a8128d0f7f87caa15e7887f239afbe5e2d13a1f822
// Copyright 2012 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/parsing/rewriter.h" #include "src/ast/ast.h" #include "src/ast/scopes.h" #include "src/parsing/parse-info.h" #include "src/parsing/parser...
C++
v8_5_7/src/parsing/rewriter.cc
zero-rp/miniblink49
apache-2.0
13,412
420
codeparrot/github-code
a57d17d52bcd10b775e727f634802362075637b0a231b37c0d0d80ecbc5cd2e4
/* * Copyright © 2014 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Java
cdap-cli/src/main/java/co/cask/cdap/cli/completer/element/HttpMethodPrefixCompleter.java
chtyim/cdap
apache-2.0
3,086
84
codeparrot/github-code
46172e664f1e2451c2e61737088b0616792804bfd016ee44da3f49c03beed7f4
/* * Copyright 2000-2013 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/javaFX/src/org/jetbrains/plugins/javaFX/fxml/refs/JavaFxControllerFieldSearcher.java
hurricup/intellij-community
apache-2.0
4,457
101
codeparrot/github-code
73e58e0959cf38eb064f6fc088f46c1e0d984db88b289a7d907df13739e30bc9
// RUN: %clang_cc1 -verify -std=c++2a -fsyntax-only -triple x86_64-apple-macosx10.14.0 %s // RUN: %clang_cc1 -verify -std=c++2a -fsyntax-only -triple x86_64-apple-macosx10.14.0 %s -fno-signed-char // RUN: %clang_cc1 -verify -std=c++2a -fsyntax-only -triple aarch64_be-linux-gnu %s #if __BYTE_ORDER__ == __ORDER_LITTLE_E...
C++
clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp
google/llvm-propeller
apache-2.0
14,744
466
codeparrot/github-code
abc7fe40de59ea4ea75e11690c90269a693c143ea585c9a1c7b0c0092c614cb2
/* * Copyright (c) 2008-2018, 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/map/impl/querycache/subscriber/NodeQueryCacheConfigurator.java
Donnerbart/hazelcast
apache-2.0
3,996
106
codeparrot/github-code
6446a7081c73ef09684e8f6ef22aeb4a876e9a8bd40adb553b2bbc3415942360
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
presto-hive/src/main/java/com/facebook/presto/hive/HiveWriteUtils.java
gh351135612/presto
apache-2.0
42,741
1,056
codeparrot/github-code
14f6377e1bf75c937fe6236fbfde0f9479554bbce82dff08268e20979a594716
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.siyeh.ig.logging; import com.intellij.codeInspection.CommonQuickFixBundle; import com.intellij.codeInspection.ProblemDescriptor; import com.intellij.codeInspection.ui...
Java
plugins/InspectionGadgets/src/com/siyeh/ig/logging/LoggerInitializedWithForeignClassInspection.java
dahlstrom-g/intellij-community
apache-2.0
9,735
249
codeparrot/github-code
18cdc66b0080964f47a5be24113c866cd2d5639fe132e8c4d8ab315c3c7d69ec
package com.cedarsoftware.util; import org.junit.Assert; import org.junit.Test; import java.lang.reflect.Constructor; import java.lang.reflect.Modifier; import java.net.InetAddress; /** * useful InetAddress Utilities * * @author Kenneth Partlow * <br> * Copyright (c) Cedar Software LLC * ...
Java
src/test/java/com/cedarsoftware/util/TestInetAddressUtilities.java
pluto-build/java-util
apache-2.0
1,810
55
codeparrot/github-code
3c58cbfa8b87592bb5271aa4ee79dec9864b81ad9662cf1506d95e987b488e95
#pragma once #include "indexer/index.hpp" #include "geometry/point2d.hpp" #include "geometry/rect2d.hpp" #include "geometry/tree4d.hpp" #include "std/set.hpp" class Index; namespace search { struct LocalityItem { m2::RectD m_rect; string m_name; uint32_t m_population; typedef uint32_t ID; ID m_id; ...
C++
search/locality_finder.hpp
programming086/omim
apache-2.0
1,775
86
codeparrot/github-code
c7b9a80bbb8771abcff2f893256b286c22a3fa5b873ab7d0cc10981b9015d0d9
/*========================================================================= Library: CTK Copyright (c) Kitware 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.ap...
C
Libs/Widgets/ctkDoubleRangeSliderEventPlayer.h
SINTEFMedtek/CTK
apache-2.0
1,490
52
codeparrot/github-code
51b5695cdd9bbba67f2c8f3c6ef302626bb9212b09ce17891d0d4f523ff54fbc
// std imports use std::mem; // external imports use num::traits::Num; // local imports use algebra::structure::MagmaBase; use super::eo_traits::{ERO, ECO}; use matrix::view::MatrixView; use matrix::traits::{Shape, MatrixBuffer, Strided}; /// Implementation of Elementary row operations. impl<'a, T:MagmaBase + Nu...
Rust
src/matrix/eo/eo_view.rs
daniel-vainsencher/scirust
apache-2.0
3,596
130
codeparrot/github-code
97ccda5d910f10d55965f2babe3a4b1577927ed729781619257df5adaad27edc
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //Serial Peripheral Interface namespace Spi1Mcr{ ///<Module Configuration Register using Addr = Register::Address<0x4002d000,0x02e000fe,0x00000000,unsigned>; ///Halt enum class HaltVal { v0=0x00000000, ///<St...
C++
Lib/Chip/CM4/Freescale/MK21DA5/SPI1.hpp
porkybrain/Kvasir
apache-2.0
40,340
660
codeparrot/github-code
5a61a0d672a52bf997642df9c7ea27b960c31c75fc370f5f59f6cbf2d3df974b
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
C#
modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/CacheConfiguration.cs
shroman/ignite
apache-2.0
42,846
937
codeparrot/github-code
54b0cc2d9ee9729e8e4ec009b81be2054bb880811de58b93d22bff7ed57868ae
/* * Copyright 2016 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless...
Java
handler/src/test/java/io/netty/handler/ssl/PemEncodedTest.java
zer0se7en/netty
apache-2.0
3,656
118
codeparrot/github-code
9912341d2ef693292655c1192e59ce450850377bcbc6e1d8ab2c95b3a30c0061
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
Java
processing/src/main/java/io/druid/query/filter/SelectorDimFilter.java
zhihuij/druid
apache-2.0
6,989
250
codeparrot/github-code
1b7b42254a41f0f5861825eeb4e4edc989022232cacb753a6ae4ae3bdab5b5cb
/* * Copyright (C) 2014 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
location/lib/java/com/android/location/provider/ActivityRecognitionProviderWatcher.java
Ant-Droid/android_frameworks_base_OLD
apache-2.0
3,055
90
codeparrot/github-code
a20d51242c6b34cb9b2d6c767907f52caeb471dda4b8c9ccc4f2db2485e946b7
/* * 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/test/java/com/hazelcast/internal/adapter/ICacheReplaceEntryProcessor.java
tombujok/hazelcast
apache-2.0
1,482
42
codeparrot/github-code
967f4e632ba2936f7233d1e5360c41c74827712347335ee118f5f83b0a5219bd
/*<license> Copyright 2005 - $Date$ by PeopleWare n.v.. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
Java
java/vernacular/persistence/dev/d20081014-1359/src/main/java/org/ppwcode/vernacular/persistence_III/AbstractPersistentBean.java
jandppw/ppwcode-recovered-from-google-code
apache-2.0
2,465
72
codeparrot/github-code
2ed5ea59d5038484a22b8a9535d7737c0e2fb22826ade309a8600aafbb50b97f
/* * Copyright Terracotta, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
impl/src/main/java/org/ehcache/config/builders/CacheManagerBuilder.java
aurbroszniowski/ehcache3
apache-2.0
17,637
407
codeparrot/github-code
7b71268107fde65ee61ceba69e3a1a3fcdad98e57420f1bfbde0528e825e765a
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.core.ml.datafeed; import org.elast...
Java
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/DelayedDataCheckConfigTests.java
ern/elasticsearch
apache-2.0
4,017
97
codeparrot/github-code
b2bcc22451c99bc5563383ed615890afc5f60cb5f354f9a2d9663be98089a280
class ArgpStandalone < Formula desc "Standalone version of arguments parsing functions from GLIBC" homepage "https://www.lysator.liu.se/~nisse/misc/" url "https://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz" sha256 "dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be" livecheck do ...
Ruby
Formula/argp-standalone.rb
jabenninghoff/homebrew-core
bsd-2-clause
1,832
51
codeparrot/github-code
4f14c2c9daee5bbde6e49ada192fa611fd83baea47ae78b7969ad3208da4b57f
class Travis < Formula desc "Command-line client for Travis CI" homepage "https://github.com/travis-ci/travis.rb/" url "https://github.com/travis-ci/travis.rb/archive/v1.8.9.tar.gz" sha256 "7a143bd0eb90e825370c808d38b70cca8c399c68bea8138442f40f09b6bbafc4" revision 3 bottle do sha256 "d695085c0886f6db8d...
Ruby
Formula/travis.rb
adamliter/homebrew-core
bsd-2-clause
4,429
133
codeparrot/github-code
93f6137d3320b0f8bc090c80f5ef965a15da163643d312c797c938d0ba830dc8
/* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. */ #include <boot/stage2.h> #include <boot/shared/openfirmware.h> #include <kernel/kernel.h> #include <arch/cpu.h> #include <libc/string.h> #include "stage2_priv.h" static unsigned int primary_hash(unsi...
C
boot/ppc/stage2_mmu.c
dioptre/newos
bsd-3-clause
16,217
578
codeparrot/github-code
62274f535d593a20d151be1c70f814567d6848bd5bc6c6e480e4c275fb757575
/* * FFV1 encoder template * * Copyright (c) 2003-2016 Michael Niedermayer <michaelni@gmx.at> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either ...
C
third_party/ffmpeg/libavcodec/ffv1enc_template.c
endlessm/chromium-browser
bsd-3-clause
7,075
203
codeparrot/github-code
d9a33c12ee8d79b293819dad74c99e793c9a6a85e74d6dcbead3bce82069b065
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime import "unsafe" // The calls to nop are to keep these functions from being inlined. // If they are inlined we have no guarantee that later rew...
GO
src/runtime/atomic_386.go
frobware/go
bsd-3-clause
1,585
74
codeparrot/github-code
d091e839994b0f85bd73001f4f410ac49a64277b48480e8a0ae3c08838ee7a8a
/** * License and Terms of Use * * Copyright (c) 2011 SignpostMarv * * 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, cop...
JavaScript
www/worldmap/javascripts/mapapi.shape.js
aurora-sim/Aurora-WebUI
bsd-3-clause
12,790
484
codeparrot/github-code
62e01ee996ca7d64491892fafd9373ed7983ed440a1118ec2c78764e1d416d7a
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ #include "base/basictypes.h" #include "...
C
content/public/renderer/render_frame_observer.h
Pluto-tv/chromium-crosswalk
bsd-3-clause
5,187
135
codeparrot/github-code
74d01d34c5ba0b8e1362186cc5f4b2a0dadc30e135fb6020f6a4abafb951faff
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict-local */ 'use strict'; import type {Node} from 'React'; import {ActivityIndicator, StyleSheet, View} fr...
JavaScript
packages/rn-tester/js/examples/ActivityIndicator/ActivityIndicatorExample.js
hoangpham95/react-native
bsd-3-clause
3,613
165
codeparrot/github-code
8faaaf64d2f1b7d55752a06717728dd13cfaca25669947ce4351b3b7cf7a3c70
""" This module contains some assorted functions used in tests """ from __future__ import absolute_import import os from importlib import import_module from twisted.trial.unittest import SkipTest from scrapy.exceptions import NotConfigured from scrapy.utils.boto import is_botocore def assert_aws_environ(): """...
Python
scrapy/utils/test.py
umrashrf/scrapy
bsd-3-clause
3,020
93
codeparrot/github-code
f38f4754adbba22d37956aadfce6fd04fff89679170b2e314777be087e6961f3
/* * Copyright (c) 2015, Texas Instruments Incorporated - http://www.ti.com/ * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copy...
C
cpu/cc26xx-cc13xx/rf-core/smartrf-settings.c
MohamedSeliem/contiki
bsd-3-clause
6,889
206
codeparrot/github-code
e2bf6648e772e753e0a5d463c73b7d07a9858483bdb5ab1789df61fe663eb974
(function($, window, document) { var pluginName = 'fatNav', defaults = {}; function Plugin(options) { this.settings = $.extend({}, defaults, options); this._defaults = defaults; this._name = pluginName; this.init(); } $.extend(Plugin.prototype, { ...
JavaScript
frontend/plugin/include/extensions/fullscren.choices/src/js/jquery.fatNav.js
wangrunxinyes/sby
bsd-3-clause
2,044
77
codeparrot/github-code
6b6b2820ac560b08f1ee3975865a5da57e194edac0278a729455f5446b2aa0ea
#!/usr/bin/env python # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Tests for jni_generator.py. This test suite contains various tests for the JNI generator. It exercises the low-level parser all...
Python
base/android/jni_generator/jni_generator_tests.py
heke123/chromium-crosswalk
bsd-3-clause
39,812
1,065
codeparrot/github-code
4335371a83e38a619cdab1821688e4a93c8c5f36e783eda81b85c9d7aa515e50
/* * zClip :: jQuery ZeroClipboard v1.1.1 * http://steamdev.com/zclip * * Copyright 2011, SteamDev * Released under the MIT license. * http://www.opensource.org/licenses/mit-license.php * * Date: Wed Jun 01, 2011 */ (function ($) { $.fn.zclip = function (params) { if (typeof par...
JavaScript
vilya/static/js/lib/jquery.zclip.js
xantage/code
bsd-3-clause
16,750
496
codeparrot/github-code
e161776ca4efc44f52550613bc32e1681c7d368b7e0932bbb2a60231b545d420
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using OrchardCore.Environment.Shell.Descriptor.Models; namespace OrchardCore.Environment.Shell.Descriptor.Settings { /// <summary> /// Implements <see cref="IShellDescriptorManager"/> by returning a single tenant with a specifie...
C#
src/OrchardCore/OrchardCore/Shell/Descriptor/Settings/SetFeaturesShellDescriptorManager.cs
OrchardCMS/Brochard
bsd-3-clause
1,381
41
codeparrot/github-code
173d24ae0da5e4a2c71956711dc4fecd11259ea0e358371fac4bef6b0279c426
<!DOCTYPE html> <title>drag &amp; drop - event sequence for draggable elements</title> <script type="text/javascript" src="/resources/testharness.js"></script> <style type="text/css"> /* use margins instead of padding to make sure the body begins at the top of the page */ html, body { margin: 0; } body { ...
HTML
core/standards/dnd/events/events-suite.html
frivoal/presto-testo
bsd-3-clause
24,906
372
codeparrot/github-code
ed1ab217ceea150c8053ca841478b565f61bc5a9c06cbf894f6492fa02a3f796
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/chrome_render_frame_observer.h" #include "base/test/histogram_tester.h" #include "chrome/test/base/chrome_render_view_test.h" #...
C++
chrome/renderer/chrome_render_frame_observer_browsertest.cc
axinging/chromium-crosswalk
bsd-3-clause
1,787
39
codeparrot/github-code
c10d582e03692d488ce83f64c102b9011910c639eaff1efc7ff3a5cc0c301d4b
package org.buildmlearn.toolkit.flashcardtemplate.data; import org.w3c.dom.Document; import org.xml.sax.SAXException; import java.io.File; import java.io.IOException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; /**...
Java
source-code/app/src/main/java/org/buildmlearn/toolkit/flashcardtemplate/data/DataUtils.java
opticod/BuildmLearn-Toolkit-Android
bsd-3-clause
1,360
48
codeparrot/github-code
21af824ed4d3408bad849a10f3995be1fb072bf60629fc6a6692110e4305f489
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_GFX_IMAGE_SKIA_OPERATIONS_H_ #define UI_GFX_IMAGE_SKIA_OPERATIONS_H_ #include "base/gtest_prod_util.h" #include "skia/ext/image_operations...
C
ui/gfx/image/image_skia_operations.h
leighpauls/k2cro4
bsd-3-clause
4,370
97
codeparrot/github-code
cce693a9ad365fe01156910c5fd57d2b31c1d56e9943b8d92fef2f9752c4be14
/* jshint multistr:true */ /* jshint -W040 */ 'use strict'; var envify = require('envify/custom'); var es3ify = require('es3ify'); var grunt = require('grunt'); var UglifyJS = require('uglify-js'); var uglifyify = require('uglifyify'); var derequire = require('derequire'); var collapser = require('bundle-collapser/pl...
JavaScript
grunt/config/browserify.js
kchia/react
bsd-3-clause
3,473
138
codeparrot/github-code
305e0e20fd3f0ca6e2a7b97d7b1781cdf8846ca3ee4b6220d3f641e4bd604899
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C++
third_party/webrtc/modules/utility/test/testAPI.cc
leighpauls/k2cro4
bsd-3-clause
13,298
371
codeparrot/github-code
36d6efd9fa4e5d66de6dd650c2ca59cc27000a1a2f4a79aea3198afa4512c59e
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_ANDROID_BUILD_INFO_H_ #define BASE_ANDROID_BUILD_INFO_H_ #include <jni.h> #include <string> #include "base/base_export.h" #include "ba...
C
base/android/build_info.h
TheTypoMaster/chromium-crosswalk
bsd-3-clause
3,897
147
codeparrot/github-code
c549f29747a4e259944cd82d606377f64cfec7a3339296d0e82516a1d5f1646c
/* Copyright (C) 2014, The University of Texas at Austin This file is part of libflame and is available under the 3-Clause BSD license, which can be found in the LICENSE file at the top-level directory, or at http://opensource.org/licenses/BSD-3-Clause */ #include "FLAME.h" FLA_Error FLA_Bsvd_find_...
C
src/lapack/dec/bsvd/v/flamec/old/FLA_Bsvd_find_split.c
yaowee/libflame
bsd-3-clause
1,885
93
codeparrot/github-code
a8c1717fa459ba119c57d4985d1aa5798da2d1854684a50ac9db626ad033b796
/* * libjingle * Copyright 2004--2005, Google Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions a...
C
xmpp/jid.h
Omegaphora/external_chromium_org_third_party_libjingle_source_talk
bsd-3-clause
3,740
99
codeparrot/github-code
7c0be5f74da4767d5fcab2e960774d75c6a9d60aaa51b0b680a819c675e682c1
#!/usr/bin/python # encoding: utf-8 # Jan 2011 (markus kossner) Cleaned up the code, added some documentation # somwhere around Aug 2008 (markus kossner) created # # This script extracts the molecular framework for a database of molecules. # You can use two modes (hard coded): # - Scaff: The molecular fr...
Python
Contrib/M_Kossner/Frames.py
soerendip42/rdkit
bsd-3-clause
6,124
180
codeparrot/github-code
17fc4b452398fdc1254b7ab8f1e60379695323f7f9c388a496972d57818177d5
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ ...
C
chrome/browser/browsing_data/browsing_data_local_storage_helper.h
leiferikb/bitpop-private
bsd-3-clause
3,884
118
codeparrot/github-code
7213876d719bc04c65bd907991a80fdee3994f5ec4a51ebb86e35639ff598ad8
/* The latency monitor allows to easily observe the sources of latency * in a Redis instance using the LATENCY command. Different latency * sources are monitored, like disk I/O, execution of commands, fork * system call, and so forth. * * ----------------------------------------------------------------------------...
C
src/latency.c
Zheaoli/redis_read
bsd-3-clause
27,309
624
codeparrot/github-code
c1057161eb342616599fd8d3559c6cb619923648a5cf38acc4f0dee363d98834
/* Copyright (c) 2003-2014, Arvid Norberg 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 conditions and ...
C++
include/libtorrent/bencode.hpp
mirror/libtorrent
bsd-3-clause
12,312
466
codeparrot/github-code
9f25d74551575e1ca1e5fe3c6d45d14eed9d9dc92e11527151d7797fc7bf2e24
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
C#
OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs
TomDataworks/opensim
bsd-3-clause
9,856
258
codeparrot/github-code
4b7becf9ff10816a2e1025f49c99560e3cdb7bea987a8d81a25f84879eeeb811
// Copyright 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/layers/tiled_layer.h" #include <algorithm> #include <vector> #include "base/auto_reset.h" #include "base/basictypes.h" #include "build/buil...
C++
cc/layers/tiled_layer.cc
sencha/chromium-spacewalk
bsd-3-clause
32,370
901
codeparrot/github-code
a9d7088467fc57551ca13120cbb3b7f988a768a3be03077066ac3981803fa278
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Text; using System.Windows; using System.Windows.Data; namespace Microsoft.Management.UI.Internal { /// <summar...
C#
src/Microsoft.Management.UI.Internal/ManagementList/Common/IntegralConverter.cs
JamesWTruher/PowerShell-1
mit
2,970
87
codeparrot/github-code
172a011af25d5b225d3ff84e81dc1e43a40465fecf31b3fda89142e24a9729d9
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // MIT License. See license.txt $.extend(frappe.model, { docinfo: {}, sync: function(r) { /* docs: extract docs, docinfo (attachments, comments, assignments) from incoming request and set in `locals` and `frappe.model.docinfo` */ var i...
JavaScript
frappe/public/js/frappe/model/sync.js
bcornwellmott/frappe
mit
2,359
103
codeparrot/github-code