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 |
|---|---|---|---|---|---|---|---|---|
3ad286d1d0f9e8112cf662c59decbf4470866911f89b1754bde411eeb1233976 | #ifndef platformer_font_h
#define platformer_font_h
#include <string>
#include <map>
#include <cstdarg>
#include "util/pointer.h"
class Token;
namespace Graphics{
class Bitmap;
}
namespace Platformer{
namespace Font{
class Character{
public:
Character(char character, Util::ReferenceCount<Graphics::Bitmap>);
... | C | src/platformer/resources/font.h | boyjimeking/paintown | bsd-3-clause | 1,690 | 75 | codeparrot/github-code |
7d10b1a5b5a769164e4d6d8b852353ee2454c36c8b10a267b224d27f35804ea3 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE806_char_alloca_memmove_06.c
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE806.label.xml
Template File: sources-sink-06.tmpl.c
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Initial... | C | xcc/test/juliet/testcases/CWE121_Stack_Based_Buffer_Overflow/s06/CWE121_Stack_Based_Buffer_Overflow__CWE806_char_alloca_memmove_06.c | JianpingZeng/xcc | bsd-3-clause | 4,312 | 132 | codeparrot/github-code |
4feb3c6cde572705071cc93918218c1421ffa84cff00ceffb21cc5487bd93b1a | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | C | Modules/Core/include/mitkPlaneOperation.h | RabadanLab/MITKats | bsd-3-clause | 1,356 | 54 | codeparrot/github-code |
4b8c50356c2ad6514824aefd2fa8bf9751a4f85c5c0c5728e4d03bceb2f20ebe | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__wchar_t_console_open_12.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-12.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: console Read input from the conso... | C++ | xcc/test/juliet/testcases/CWE36_Absolute_Path_Traversal/s03/CWE36_Absolute_Path_Traversal__wchar_t_console_open_12.cpp | JianpingZeng/xcc | bsd-3-clause | 4,529 | 169 | codeparrot/github-code |
8615502f80efefaf064f127411298271560daead8f802069b8a586c9262f6073 | // Copyright 2018 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 "third_party/blink/renderer/core/html/lazy_load_image_observer.h"
#include <limits>
#include "base/metrics/histogram_macros.h"
#include "build/... | C++ | third_party/blink/renderer/core/html/lazy_load_image_observer.cc | nwjs/chromium.src | bsd-3-clause | 14,119 | 350 | codeparrot/github-code |
6c5a8a97df895ac1e2a5f88b007a1be06b56c6769d78a22df71a666c24269a44 | /*-
* Copyright (C) 2013 Emulex
* 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 copyright notice,
* this list of conditions a... | C | sys/dev/oce/oce_util.c | jhbsz/OSI-OS | bsd-3-clause | 6,184 | 270 | codeparrot/github-code |
475eb43ac3287d38be1473153783b2007be2549811bbb4af4fbc642411c023c8 | /*
* This file is part of Pebble.
* <p>
* Copyright (c) 2014 by Mitchell Bösecke
* <p>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
package com.mitchellbosecke.pebble.parser;
import com.mitchellbosecke.pebble.lexer.TokenStream;
i... | Java | pebble/src/main/java/com/mitchellbosecke/pebble/parser/Parser.java | mbosecke/pebble | bsd-3-clause | 1,134 | 46 | codeparrot/github-code |
aec1a9f0f69e6584209180a0eb88967847f4a0970e5167f497468ff3cec60aa4 | /*
* Copyright (c) 2007-2008, Novell Inc.
*
* This program is licensed under the BSD license, read LICENSE.BSD
* for further information
*/
/*
* repopage.c
*
* Paging and compression functions for the vertical repository data.
* Vertical data is grouped by key, normal data is grouped by solvable.
* This make... | C | src/repopage.c | ryppl/sat-solver | bsd-3-clause | 27,619 | 1,030 | codeparrot/github-code |
a7ae876b0b49b2e18432c84fd559d03f6e8c14e9e4b51b0d55e443e4e9a017bd | // -*- C++ -*-
//===------------------------------ span ---------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===--------------------------... | C++ | third_party/llvm-project/libcxx/test/std/containers/views/span.cons/stdarray.pass.cpp | youtube/cobalt | bsd-3-clause | 3,614 | 115 | codeparrot/github-code |
f58703ff98b9c895d6576a5b93b3dee030ad7438bd9ed31e07ebfd1457ea04eb | /* +---------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| ... | C | libs/hwdrivers/src/xSens_MT4/xcommunication/include/xsens/serialinterface.h | samuelpfchoi/mrpt | bsd-3-clause | 3,144 | 83 | codeparrot/github-code |
5da46693e7702ebe9d9dac23c022bf01d9487e9212d9ef4d56004d8c80cf5935 | // 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 CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
#define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
#include <string>
#include "base/basic... | C | content/browser/download/download_item_impl.h | patrickm/chromium.src | bsd-3-clause | 22,263 | 561 | codeparrot/github-code |
cec531f757a90d6a2ea4c12411a8aaebde8d2753b17f50bb64c97bd643b9866e | package org.hisp.dhis.dxf2.metadata.objectbundle;
/*
* Copyright (c) 2004-2016, University of Oslo
* 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 reta... | Java | dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/objectbundle/ObjectBundle.java | uonafya/jphes-core | bsd-3-clause | 11,918 | 377 | codeparrot/github-code |
6fba4acc7c149ed46447bcda75910363e1c62e133aec618771b14918c0c0dbd3 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_delete_array_struct_10.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_delete_array.label.xml
Template File: sources-sinks-10.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory M... | C++ | xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s06/CWE762_Mismatched_Memory_Management_Routines__new_delete_array_struct_10.cpp | JianpingZeng/xcc | bsd-3-clause | 4,626 | 170 | codeparrot/github-code |
1a098414568626b85b1dec9ecf9e288f2c47f927f45c39b4d7d9d251bcd3f6c7 | // cmd/9l/noop.c, cmd/9l/pass.c, cmd/9l/span.c from Vita Nuova.
//
// Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved.
// Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net)
// Portions Copyright © 1997-1999 Vita Nuova Limited
// Portions Copyright © 2000-2008 Vita Nuova Holdings Limi... | GO | src/cmd/internal/obj/mips/obj0.go | momchil-velikov/go | bsd-3-clause | 27,969 | 1,480 | codeparrot/github-code |
b878ff1349795aeab78af3221a48868c3b1e2283bedf5d867661e9013f6272e6 | //! \file examples/Arrangement_on_surface_2/consolidated_curve_data.cpp
// Associating a color attribute with segments using the consolidated
// curve-data traits.
#include <CGAL/Cartesian.h>
#include <CGAL/Exact_rational.h>
#include <CGAL/Arr_segment_traits_2.h>
#include <CGAL/Arr_consolidated_curve_data_traits_2.h>
... | C++ | graphics/cgal/Arrangement_on_surface_2/examples/Arrangement_on_surface_2/consolidated_curve_data.cpp | hlzz/dotfiles | bsd-3-clause | 3,815 | 114 | codeparrot/github-code |
1aff244f24106f28aa811d710b71e123bfe65708de179dbc0b593a6f4df054ff | /*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... | C++ | Modules/ModelFit/src/Common/mitkModelFitParameterValueExtraction.cpp | fmilano/mitk | bsd-3-clause | 5,870 | 197 | codeparrot/github-code |
07bb6f207e98e154d8b0d8f629f8d26d3a0cd95dee008dac6e66a7b85a280db9 | package org.caleydo.view.dynamicpathway.layout;
public class GLFruchtermanReingoldLayoutBuilder {
private static final int MAX_ITERATIONS = 700;
private int maxIterations = MAX_ITERATIONS;
private double temperature = -1.0;
private double cooldown = -1.0;
private double repulsionMultiplier = 1.0;
private d... | Java | src/main/java/org/caleydo/view/dynamicpathway/layout/GLFruchtermanReingoldLayoutBuilder.java | chaoscause/org.caleydo.view.dynamicpathway | bsd-3-clause | 1,420 | 45 | codeparrot/github-code |
2a1732038e798cea85c561f12e908a0a5fbc45a147c96555eb2c8277a7fdf162 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_open_10.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-10.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: listen_socket Read data usi... | C++ | xcc/test/juliet/testcases/CWE36_Absolute_Path_Traversal/s05/CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_open_10.cpp | JianpingZeng/xcc | bsd-3-clause | 7,103 | 255 | codeparrot/github-code |
91a0710cdd3735e41d9ab0031d43a30ff4a6baf8f94ccdee874c5af80a8ebb52 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_listen_socket_vprintf_16.c
Label Definition File: CWE134_Uncontrolled_Format_String.vasinks.label.xml
Template File: sources-vasinks-16.tmpl.c
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: listen_s... | C | xcc/test/juliet/testcases/CWE134_Uncontrolled_Format_String/s03/CWE134_Uncontrolled_Format_String__char_listen_socket_vprintf_16.c | JianpingZeng/xcc | bsd-3-clause | 9,495 | 328 | codeparrot/github-code |
1d914040fc676f5d8472a6eb86919ede46f460245b0c597297600b101c09ad2a | /*
* Copyright (C) 2010 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 conditio... | C++ | chromium/src/third_party/WebKit/Source/WebKit/chromium/src/AsyncFileSystemChromium.cpp | espadrine/opera | bsd-3-clause | 7,118 | 181 | codeparrot/github-code |
a4bee2833c60616c79d86ae2af27973ad0fdcacce259d65cf8e67c81863b5e77 | /*================================================================================
Copyright (c) 2013 Steve Jin. 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 re... | Java | src/main/java/com/vmware/vim25/NetIpStackInfo.java | patrickianwilson/vijava-contrib | bsd-3-clause | 2,326 | 57 | codeparrot/github-code |
86e32583cb300b19859ce97cd1a3844d6430dede7258598f0417cfa601a909ca | #
# $Id: sphinxapi.py 2970 2011-09-23 16:50:22Z klirichek $
#
# Python version of Sphinx searchd client (Python API)
#
# Copyright (c) 2006, Mike Osadnik
# Copyright (c) 2006-2011, Andrew Aksyonoff
# Copyright (c) 2008-2011, Sphinx Technologies Inc
# All rights reserved
#
# This program is free software; you can redist... | Python | djangosphinx/apis/api281/__init__.py | apahomov/django-sphinx | bsd-3-clause | 30,427 | 1,116 | codeparrot/github-code |
15c7e83c4ccf9f57116914d72964c30c01ee038278bb7e498b1c5d49d27ace44 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_char_fscanf_54d.c
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml
Template File: sources-sinks-54d.tmpl.c
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: fscanf Read data fro... | C | xcc/test/juliet/testcases/CWE789_Uncontrolled_Mem_Alloc/s01/CWE789_Uncontrolled_Mem_Alloc__malloc_char_fscanf_54d.c | JianpingZeng/xcc | bsd-3-clause | 1,879 | 57 | codeparrot/github-code |
18347b9aa6e509b20dd927bd4519c4d432eae11b054a94b9ad3ff8e9577a35a0 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | elasticsearch-master/core/src/test/java/org/elasticsearch/recovery/TruncatedRecoveryIT.java | strahanjen/strahanjen.github.io | bsd-3-clause | 8,393 | 156 | codeparrot/github-code |
2499aa4487f274407085baa3b14bac6df9ba92ca68b16cb28bf7f7253e2baa12 | //===-- FileAction.cpp ------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | third_party/llvm-project/lldb/source/Target/FileAction.cpp | youtube/cobalt | bsd-3-clause | 2,347 | 92 | codeparrot/github-code |
175095490deab3ae978e33edd6814787647f96fa0a204438b959e2ccff094ed6 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="nl">
<context>
<name>AppDialog</name>
<message>
<location filename="../AppDialog.ui" line="14"/>
<source>Select Application</source>
<translation>Selecteer applicatie</translation>
</message>
<messag... | TypeScript | src-qt5/core-utils/lumina-config/i18n/lumina-config_nl.ts | cpforbes/lumina | bsd-3-clause | 85,294 | 2,132 | codeparrot/github-code |
d779c0088bf9a8c7a923d3cc6762a5a872fc61d0ddb422426f6ac1a163bad45f | // 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.
#ifndef FLUTTER_CONTENT_HANDLER_APPLICATION_IMPL_H_
#define FLUTTER_CONTENT_HANDLER_APPLICATION_IMPL_H_
#include <memory>
#include "apps/mozart/services... | C | content_handler/application_impl.h | mpcomplete/engine | bsd-3-clause | 2,496 | 71 | codeparrot/github-code |
b89654900a058dbdb007b6e64538e15cd989124dca0683505f33430eebb3fe8e | <?php
/*=========================================================================
MIDAS Server
Copyright (c) Kitware SAS. 20 rue de la Villette. All rights reserved.
69328 Lyon, FRANCE.
See Copyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILIT... | PHP | core/GlobalController.php | mgrauer/qibench | bsd-3-clause | 8,845 | 300 | codeparrot/github-code |
0a87fd85e9222288ac1ec0f017ee09ea6a68af5fd13ebf46e17bde77cdff1aa6 | // Copyright (c) 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.
#ifndef NET_URL_REQUEST_URL_REQUEST_JOB_FACTORY_IMPL_H_
#define NET_URL_REQUEST_URL_REQUEST_JOB_FACTORY_IMPL_H_
#include <map>
#include <memory>
#inc... | C | net/url_request/url_request_job_factory_impl.h | youtube/cobalt | bsd-3-clause | 2,373 | 72 | codeparrot/github-code |
a847ec1281c204a0ea2188b987530883b8bd8b6326c41811d618e2b4217c4a8b | /*
* Copyright (C) 2008 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | C | src/webkit/Source/JavaScriptCore/assembler/MacroAssemblerX86Common.h | klim-iv/phantomjs-qt5 | bsd-3-clause | 49,841 | 1,588 | codeparrot/github-code |
d09ac14567c154542af43710c05a29913673cc58dacecd91c68d2d6d449b97e3 | /*
* Copyright (C) 2007, 2014 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
* Created on 12. September 2007 by Joerg Schaible
*/
package c... | Java | xstream/src/test/com/thoughtworks/acceptance/XmlFriendlyDollarOnlyTest.java | jenkinsci/xstream | bsd-3-clause | 1,530 | 45 | codeparrot/github-code |
64dd9399870533a9347b8f169e72db058af410abc4d395ee4d3135950a47885b | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE680_Integer_Overflow_to_Buffer_Overflow__new_fscanf_11.cpp
Label Definition File: CWE680_Integer_Overflow_to_Buffer_Overflow__new.label.xml
Template File: sources-sink-11.tmpl.cpp
*/
/*
* @description
* CWE: 680 Integer Overflow to Buffer Overflow
* BadSource:... | C++ | xcc/test/juliet/testcases/CWE680_Integer_Overflow_to_Buffer_Overflow/CWE680_Integer_Overflow_to_Buffer_Overflow__new_fscanf_11.cpp | JianpingZeng/xcc | bsd-3-clause | 4,282 | 147 | codeparrot/github-code |
769ca6cef24e0b58c3677e75df0f80d58708cf5adc2614699ad092ad00df0161 | #! /usr/bin/python
# Copyright (c) 2015, Matthew P. Grosvenor
# 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
# ... | Python | table1/do_hist.py | camsas/qjump-nsdi15-plotting | bsd-3-clause | 2,737 | 84 | codeparrot/github-code |
c11400304f065080deb14656e50f6819c3a7685778d9bfaea846fc5e6d32227c | /*
* Copyright (C) 2008, 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 con... | Java | org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevCommitParseTest.java | imyousuf/jgit | bsd-3-clause | 12,704 | 316 | codeparrot/github-code |
11f0077aaba4acf36514c377295e52c81457921f8f6003e0b61b2cf9c38b2830 | /*
* How to write shader builtin function.
*
*
* - Types
*
* All vector type is replaced with float4.
* Matrix type is replaced with float16.
* float -> float.
*
* - Naming rule
*
* float length(vector V) -> length_fv
*
* (void type is ignored)
*
* - ABI
*
* Return type is the first argu... | C | rnd/ShaderEngine/jittest/shaderlib.c | chiyama/lucille | bsd-3-clause | 9,647 | 576 | codeparrot/github-code |
8a650d853c19c7745dcb6dd8ee08ade15dab120f71946a1a635b8af9ee596824 | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/Cashier for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
... | PHP | module/Cashier/src/Cashier/Controller/IndexController.php | jackyzonewen/easypay-1 | bsd-3-clause | 7,124 | 202 | codeparrot/github-code |
0a5557276ff65670bae4b4b477c8049332186bdf11d2a8a80997d4636ce7e7ed | /*
* Copyright (c) 2004-2022, University of Oslo
* 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 cond... | Java | dhis-2/dhis-services/dhis-service-tracker/src/test/java/org/hisp/dhis/tracker/validation/hooks/PreCheckUpdatableFieldsValidationHookTest.java | msf-oca-his/dhis2-core | bsd-3-clause | 10,707 | 290 | codeparrot/github-code |
b51504353dbfb187a0ee6f3e074298d9373e33ffd4b327454be08aaba27b2733 | <?php
/**
* ALIPAY API: alipay.commerce.cityfacilitator.deposit.confirm request
*
* @author auto create
* @since 1.0, 2015-12-18 21:36:24
*/
class AlipayCommerceCityfacilitatorDepositConfirmRequest
{
/**
* 合作渠道可通过该接口补登单笔圈存确认扣款请求,以帮助支付宝将用户的资金结算给指定的渠道,不支持单笔拆分
**/
private $bizContent;
private $apiParas = arr... | PHP | web/alipay/aop/request/AlipayCommerceCityfacilitatorDepositConfirmRequest.php | black-tangyang/basic | bsd-3-clause | 1,602 | 95 | codeparrot/github-code |
fce99ccea736db1ddc4dfb43ca16ce99e5c8eb473ee0e27a2847b495c3fec10c | import * as GL from 'expo-gl';
import mat4 from 'gl-mat4';
import hsv2rgb from 'hsv2rgb';
import React from 'react';
import { ActivityIndicator, InteractionManager, StyleSheet, View } from 'react-native';
import REGL from 'regl';
const NUM_POINTS = 1e4;
const VERT_SIZE = 4 * (4 + 4 + 3);
export default class BasicSce... | TypeScript | apps/native-component-list/src/screens/GL/GLViewScreen.tsx | exponent/exponent | bsd-3-clause | 3,461 | 145 | codeparrot/github-code |
485a80402e3ae53f0ebcd3ee48bd52626f0a5625c726309a7b5e6b68810d5285 | /*
* Copyright (c) 2012 The WebM 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 contributin... | C | test/acm_random.h | jmvalin/aom | bsd-3-clause | 1,736 | 65 | codeparrot/github-code |
01b59b7ea7182ebac23cf2b8123e954058eb7647fd6851684e642e5214075934 | import Quill from '../quill';
import extend from 'extend';
import * as platform from '../lib/platform';
class Toolbar {
constructor(quill, options = {}) {
this.quill = quill;
this.options = extend({}, Toolbar.DEFAULTS, options)
if (typeof this.options.container === 'string') {
this.options.contain... | JavaScript | src/modules/toolbar.js | jcppman/quill | bsd-3-clause | 1,923 | 64 | codeparrot/github-code |
315b1af6f90db91fcb948b1be24c5c7a0d5b328ac2fa6bdaad82d18e709b9c6b | <?php
/**
* This is the model class for table "history_contact".
*
* The followings are the available columns in table 'history_contact':
* @property integer $history_contact_id
* @property integer $history_id
* @property integer $contact_id
* @property string $history_contact_hoten
* @property integer $histor... | PHP | protected/models/HistoryContact.php | thongnv90/bluesms | bsd-3-clause | 5,093 | 128 | codeparrot/github-code |
0a1c7d8f30e2163ac82b7d3ae24f4c601f08e497e9f3b404f8c4fefbc4993ee2 | // 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.
#include "chrome/browser/file_select_helper.h"
#include <stddef.h>
#include <memory>
#include <string>
#include <utility>
#include "base/bind.h"
#i... | C++ | chromium/chrome/browser/file_select_helper.cc | ric2b/Vivaldi-browser | bsd-3-clause | 28,333 | 818 | codeparrot/github-code |
d7e822a9f9f51057562b89eabc0d5e12fd8948d4a4c8890df0153adee6f84c9d | var $ = require('jquery');
var CategoryItemsView = require('./items-view');
var WidgetSearchCategoryItemView = require('./item/search-item-view');
var placeholder = require('./search-items-no-results-template.tpl');
/**
* Category list view
*/
module.exports = CategoryItemsView.extend({
className: 'CDB-Widget-list... | JavaScript | src/widgets/category/list/search-items-view.js | splashblot/deep-insights.js | bsd-3-clause | 2,308 | 82 | codeparrot/github-code |
2193d3a932db70eb048bffa3ed57136feca0a8a268de94229cb4e0cfe72a5c92 | <?php if (!defined('IDIR')) { die; }
/*======================================================================*\
|| ####################################################################
|| # vBulletin Impex
|| # ----------------------------------------------------------------
|| # All PHP code in this file is Copyright 2... | PHP | systems/simpleboard/006.php | vBZachery/vbimpex | bsd-3-clause | 8,650 | 217 | codeparrot/github-code |
6ed8f3f1680bca9f59b65bc6994f8b6bb36ef9805399b4303d36013f5b053ba1 | // Version: $Id$
//
//
// Commentary:
//
//
// Change Log:
//
//
// Code:
#include "dtkComposerNodeControlForEach.h"
#include "dtkComposerNodeMetaData.h"
#include "dtkComposerNodeComposite.h"
#include "dtkComposerNodeProxy.h"
#include "dtkComposerTransmitter.h"
#include "dtkComposerTransmitterEmitter.h"
#i... | C++ | src/dtkComposer/dtkComposerNodeControlForEach.cpp | rdebroiz/dtk | bsd-3-clause | 5,131 | 198 | codeparrot/github-code |
b3085b88f5d7401b4f1d0de3683d317e873561bf366d5d26d5c16764c5f54960 | // 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.
#include "net/dns/host_resolver_impl.h"
#include <algorithm>
#include <string>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/... | C++ | net/dns/host_resolver_impl_unittest.cc | cvsuser-chromium/chromium | bsd-3-clause | 76,321 | 2,057 | codeparrot/github-code |
d674cafe3e16b777ded2275c2734ea2e39c7f1386184404e2c0ec917e9eba3b1 | =pod
=head1 NAME
SSL_CTX_set_options, SSL_set_options, SSL_CTX_clear_options,
SSL_clear_options, SSL_CTX_get_options, SSL_get_options,
SSL_get_secure_renegotiation_support - manipulate SSL options
=head1 SYNOPSIS
#include <openssl/ssl.h>
long SSL_CTX_set_options(SSL_CTX *ctx, long options);
long SSL_set_options... | Perl | worker/deps/openssl/openssl/doc/man3/SSL_CTX_set_options.pod | ibc/MediaSoup | isc | 13,860 | 379 | codeparrot/github-code |
19ea680cd2e1bf68aaf14b893a10366ec26deb5095609547af70afc8c6ed0b83 | require "luaScript/CocoStudioTest/CocoStudioGUITest/CocoStudioGUITest"
require "luaScript/CocoStudioTest/CocoStudioSceneTest/CocoStudioSceneTest"
require "luaScript/CocoStudioTest/CocoStudioArmatureTest/CocoStudioArmatureTest"
local LINE_SPACE = 40
local ITEM_TAG_BASIC = 1000
local cocoStudioTestItemNames =
{
{
... | Lua | samples/Lua/TestLua/Resources/luaScript/CocoStudioTest/CocoStudioTest.lua | arca1n/cocos2d-x_nextpeer_integration | mit | 2,989 | 112 | codeparrot/github-code |
6734414aea345e2d34f53096d79bae24221c075c5243fd1c1584465bcaf6752f | <?xml version="1.0"?>
<!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">
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org" />
<meta name="generator" content="SciTE" />
<me... | HTML | src/scintilla/doc/index.html | azawawi/perl6-gtk-scintilla | mit | 8,781 | 185 | codeparrot/github-code |
d15a7912cf98014c01b33e430fa0f1812532f0628211d93e8603fa95a3ec90c2 | // Copyright (c) Glyn Matthews 2011, 2012.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_NETWORK_URI_DIRECTIVES_USER_INFO_INC__
#define BOOST_NETWORK_URI_DIRECTIVES_USER_IN... | C++ | ds4/code/0_cppnetlib/boost/network/uri/directives/user_info.hpp | demonsaw/Code | mit | 974 | 38 | codeparrot/github-code |
41d2a42217045cf307b2fdab7eacdd3169f5302314c3f870aa8a1d8c29f97a19 | using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Xml.Serialization;
using MultiMiner.Utility.Serialization;
namespace MultiMiner.Engine.Data.Configuration
{
[XmlType(TypeName = "XgminerConfiguration")]
public class Xgminer
{
public class ProxyDescriptor
... | C# | MultiMiner.Engine/Data/Configuration/Xgminer.cs | IWBWbiz/MultiMiner | mit | 3,823 | 113 | codeparrot/github-code |
cb3ed2c355ce618093c78d6ece25df7c77c6825db8d25d5a8fe960beae2e52ae | import * as React from 'react';
import * as assign from 'object-assign';
import * as data from '../data';
export interface IFormDisplayProps {
fields: data.IField[];
registry: data.FieldRegistry;
value: any;
}
export interface IFormDisplayState { }
export class FormDisplay extends React.PureComponent<IF... | TypeScript | src/components/FormDisplay.tsx | niuyunsi/FormBuilder | mit | 1,300 | 48 | codeparrot/github-code |
da38a395178e91e6175ed746dd11753f50b0c71c7404e1bff150210323b56748 | // Copyright © Microsoft Corporation. All Rights Reserved.
// This code released under the terms of the
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)
using System;
using System.Collections.Generic;
namespace Microsoft.TeamFoundation.Migration.Toolkit
{
/// <summary>
/// An ... | C# | IntegrationPlatform/Core/Toolkit/AddinUtilities/LabelFromMigrationAction.cs | adamdriscoll/TfsIntegrationPlatform | mit | 2,510 | 69 | codeparrot/github-code |
d9e19cdd8297e8da0b77731d106dd9b7b4c776314c0c1ee7217ef70755e17d07 | //
// File-system system calls.
// Mostly argument checking, since we don't trust
// user code, and calls into file.c and fs.c.
//
#include "types.h"
#include "defs.h"
#include "param.h"
#include "stat.h"
#include "mmu.h"
#include "proc.h"
#include "fs.h"
#include "file.h"
#include "fcntl.h"
// Fetch the nth word-siz... | C | sysfile.c | shaycobs/OS152_ASS4 | mit | 7,360 | 448 | codeparrot/github-code |
25b67fc25afe46fa65339b9f3115b5ca39853c1f867804e93092ac31546cad6b | <!DOCTYPE html>
<html>
<head>
<title>The Tin Woodman of Oz | L. Frank Baum | Lit2Go ETC</title>
<link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/screenless.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/printless.c... | HTML | lit2go.ok/25/the-tin-woodman-of-oz/index.html | adrianosb/HtmlToText | mit | 17,669 | 342 | codeparrot/github-code |
669e55eb7d85511d0c547004f86e5338b8ab522408ee9dfdbd0b554012490def | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Routing;
using Microsoft.Practices.Unity;
using TerrificNet.Configuration;
using TerrificNet.ViewEngine;
namespace TerrificNet.WebHost
{
public class TerrificHttpApplication : Ht... | C# | TerrificNet.WebHost/TerrificHttpApplication.cs | namics/TerrificNet | mit | 2,024 | 58 | codeparrot/github-code |
341a09727a0751d2139a07a7b73f017b9d1fbbd0992a4d86806853bbc91805b7 | """
Good Points:
1. getNodes
1.1 while q (instead of while len(q) > 0)
1.2 collections.deque (instead of q = [])
Bad Points:
1. another loop to fill mapping instead of doing it in the bfs
"""
# Definition for a Node.
class Node:
def __init__(self, val = 0, neighbors = []):
self.val... | Python | leetcode/133-Clone-Graph/bfs_001_iterative_jiuzhang.py | Chasego/codirit | mit | 1,381 | 49 | codeparrot/github-code |
49bc4a24106464b1b0dd2ace80848993dc493df1a3d98c8eaf760445f72ed071 | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | src/vs/workbench/services/search/node/ripgrepTextSearch.ts | veeramarni/vscode | mit | 16,995 | 537 | codeparrot/github-code |
a08fce823668b87746083b536f9dbf22bb9b5108fd9de4fe4c8a0ad5100bf1b6 | """Assess transcript abundance in RNA-seq experiments using Cufflinks.
http://cufflinks.cbcb.umd.edu/manual.html
"""
import os
import shutil
import tempfile
import pandas as pd
from bcbio import bam
from bcbio.utils import get_in, file_exists, safe_makedir
from bcbio.distributed.transaction import file_transaction
fro... | Python | bcbio/rnaseq/cufflinks.py | vladsaveliev/bcbio-nextgen | mit | 10,844 | 266 | codeparrot/github-code |
1f21b14548045946dbdaa330795bb29ee6621e2ce7362c7f1bae162cab4f1a23 | function a() {
f((HEAPU8[10202] | 0) + 5 | 0);
f(HEAPU8[10202] | 0);
f(347);
f(351);
f(8);
HEAP[1024] = 5;
HEAP[1024] = 5;
whee(12, 13);
whee(12, 13);
f((g = t(), g + g | 0) | 0);
}
function b($this, $__n) {
$this = $this | 0;
$__n = $__n | 0;
var $4 = 0, $5 = 0, $10 = 0, $13 = 0, $14 = 0, $15... | JavaScript | libs/external/emscripten/tools/test-js-optimizer-asm-pre-output.js | qq2588258/floweers | mit | 4,115 | 165 | codeparrot/github-code |
27e2bb4a64b657c20aec1ce1eb5fd33f25eacc58be9ad8e51bd3f87756e4dd34 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.ServiceModel.Channels
{
using System.Collections;
using System.Collections.Generic;
usi... | C# | src/dotnet-svcutil/lib/src/FrameworkFork/System.ServiceModel/System/ServiceModel/Channels/ReliableSessionBindingElementImporter.cs | mconnew/wcf | mit | 22,959 | 539 | codeparrot/github-code |
4aa3c9c6013dc6cc4241a0967cf5372f25373d43f53716c265529c4a1beac767 | #include <algorithm>
#include <cassert>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <exception>
#include <functional>
#include <iostream>
#include <memory>
#include <numeric>
#include <random>
#include <string>
#include "chainerx/array.h"
#include "chainerx/array_index.h"
#include "chainerx/backpr... | C++ | chainerx_cc/examples/mnist/train_mnist.cc | hvy/chainer | mit | 7,752 | 214 | codeparrot/github-code |
9b9b7ecdea202853cc4b55af78ea67f4475c428e3f90f72d151f1c59105f5624 | #include "stdafx.h"
#include "ed.h"
#include "colors.h"
#include "conf.h"
#include "Filer.h"
#include "mainframe.h"
static XCOLORREF xcolors[MC_NCOLORS];
static struct {const char *name, *disp;} xnames[] =
{
{cfgTextColor, "t@C¶F"},
{cfgBackColor, "t@CwiF"},
{"highlightTextColor", "t@CIð... | C++ | src/colors.cc | southly/xyzzy.src | mit | 2,234 | 87 | codeparrot/github-code |
21e95ea0155a346ea7499a79eb387cfb2bbf3bc25e67a56e808dc7470063c7bb | "use strict";
const log = require("npmlog");
const { collectUpdates } = require("@lerna/collect-updates");
const { filterPackages } = require("@lerna/filter-packages");
module.exports.getFilteredPackages = getFilteredPackages;
/**
* @typedef {object} FilterOptions
* @property {string} scope
* @property {string} i... | JavaScript | core/filter-options/lib/get-filtered-packages.js | lerna/lerna | mit | 2,529 | 87 | codeparrot/github-code |
fcc203c89e65b61257fb85f7ffe973334bd6c475af1e4e1d601450415994a061 | /*
This file is part of the Jasmine JSReporter project from Ivan De Marino.
Copyright (C) 2011 Ivan De Marino (aka detro, aka detronizator), http://blog.ivandemarino.me, ivan.de.marino@gmail.com
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the fo... | JavaScript | static/jasmine/jasmine-jsreporter.js | sguha-work/examples | mit | 5,343 | 135 | codeparrot/github-code |
b968c9e230f591d1a5e184eb07676d51f3643947a56eb68e1cba9df71fc49047 | /*
* Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved.
*/
package com.maxifier.mxcache.impl.caches.def;
import com.maxifier.mxcache.storage.*;
/**
* ObjectStorageImpl
*
* @author Andrey Yakoushin (andrey.yakoushin@maxifier.com)
* @author Alexander Kochurov (alexander.kochurov@maxifier.com)
... | Java | mxcache-runtime/src/main/java/com/maxifier/mxcache/impl/caches/def/ObjectStorageImpl.java | akochurov/mxcache | mit | 853 | 41 | codeparrot/github-code |
20d9b9e2fe0eecb732ee43f0dc677424e1cf19f498ffc71c7314adf2355fc334 | declare module "redux-loop" {
declare type Effect = $Subtype<{}>;
declare type Reducer<S, A> = (state: S, action: A) => S | [S, Effect];
declare type ExtractStateType = <S, A>(r: (state: S, action: A) => any) => S;
declare function combineReducers<
Reducers: Object,
State: $ObjMap<Reducers, ExtractSt... | JavaScript | definitions/npm/redux-loop_v2.2.x/flow_v0.33.x-v0.103.x/redux-loop_v2.2.x.js | flowtype/flow-typed | mit | 3,239 | 96 | codeparrot/github-code |
5ab2fdf04eb3b7ab1ee111f12ec711c3f67eca4ec589dd895d4579113abac0e0 | /*******************************************************************************
* Copyright (c) 2013 Ahmed M.Orabi, Mahmoud M.Orabi.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and ... | Java | UmpleToRTCpp/src/cruise/umple/cpp/generator/UmpleStatemachineGenerationPolicy.java | ahmedvc/umple | mit | 16,031 | 403 | codeparrot/github-code |
bab727dc232c814a647a595ced863af3dcbf36ec8cd36e8266bb7c61e7df3b09 | <!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">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Background Jobs and Workers</title>
<link type="text/c... | HTML | doc/WebSite/Background-Jobs-And-Workers.html | Tobyee/aspnetboilerplate | mit | 15,918 | 336 | codeparrot/github-code |
e24ffdd40186705719e489376fd234d1dce30d48d2fbdd9f067de2740304797a | # -*- coding: utf-8 -*-
__all__ = ("S3MainMenuLayout",
"S3AboutMenuLayout",
"MA",
"S3LanguageMenuLayout",
"ML",
"S3PersonalMenuLayout",
"MP",
)
from gluon import current, URL, \
A, FORM, IMG, INPUT, LI, OPTION, SELECT, SPAN,... | Python | modules/templates/CCC/layouts.py | flavour/eden | mit | 10,084 | 276 | codeparrot/github-code |
9bd5f8881a5d3d0481eae200d56e44ba41a5146dfaa95a973c42613a22f01529 | (function(){
'use strict';
// Declare app level module which depends on the 3rd party libraries
angular
.module('DCX', [
'ui.router',
'ngMaterial',
'ngMessages',
'ngAria',
'ngIdle'
])
.config(
function(ENVIRONME... | JavaScript | client/app/app.js | bryanrsolomon1/dcx-ui-angular | mit | 3,788 | 72 | codeparrot/github-code |
2f7c5be576e1c73aa520a7162952f5ace38aabe1fa5fa879c28e15cabcfe4aa2 | package net.glowstone.entity.meta.profile;
/**
* Container for global player properties (such as textures) returned by the auth servers.
*/
public final class PlayerProperty {
/**
* The name of the property.
*/
private final String name;
/**
* The property's value.
*/
private fi... | Java | src/main/java/net/glowstone/entity/meta/profile/PlayerProperty.java | alexp5751/Glowstone | mit | 2,191 | 86 | codeparrot/github-code |
454b98a9b4223c1375e0d6f8e524bd510c329ac32b27ea482728404b84a10979 | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permiss... | C++ | addons/ofxBulletTrial/lib/bullet/BulletDynamics/ConstraintSolver/btContactConstraint.cpp | HellicarAndLewis/ProjectDonk | mit | 14,325 | 430 | codeparrot/github-code |
c28e8cd8b2a945ee9cb53816bdd2580b1edc466690cf8ca95725ae968629ebcf | package com.dao;
import com.core.ConnDB;
import java.util.*;
import java.sql.*;
import com.actionForm.ReaderForm;
public class ReaderDAO {
private ConnDB conn=new ConnDB();
//²éѯÊý¾Ý
public Collection query(String strif){
ReaderForm readerForm=null;
Collection readerColl=new ArrayList();
String sql="... | Java | 实战突击:JavaWeb项目整合开发/12/WebRoot/src/com/dao/ReaderDAO.java | java-scott/java-project | mit | 5,226 | 122 | codeparrot/github-code |
409967d5169d39a5f8e84182fa2f80becdd0ef9ce8c421aaf915b0f3e9f2f984 | <?php
/*
+--------------------------------------------------------------------------+
| Zephir |
| Copyright (c) 2013-present Zephir Team (https://zephir-lang.com/) |
| |... | PHP | Library/Expression/Builder/Statements/StatementsBlock.php | sergeyklay/zephir | mit | 1,858 | 79 | codeparrot/github-code |
b8ec1eccd19ebffc4fecefeb45ffd9d5bc936893019167c89a3daeb200110037 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Stashcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef STASHCOIN_UTIL_H
#define STASHCOIN_UTIL_H
#include "uint256.h"
#include... | C | src/util.h | stashdev/stashcoin | mit | 16,982 | 608 | codeparrot/github-code |
40722655ae47acada7b33f53a288b027957981c6041028fe2454fcac2ae209f0 | /**
* license (MIT) Copyright Nubisa Inc. 2014
*/
package jxm;
import jxm.JWS.FR.Framedata;
import jxm.JWS.HS.ServerHandshake;
import java.net.URI;
public class Socketer extends WebSocketClient
implements PSocket {
private volatile boolean connected = false;
public SocketEvents events = null;
... | Java | JavaClient/Nubisa/jxm/Socketer.java | brunobg/jxm | mit | 1,600 | 61 | codeparrot/github-code |
8a1853451a83d8e796567d73e7122c5945863cbe8abfb62fdf7cb90377733903 | <div class="content-section introduction">
<div>
<span class="feature-title">MenuModel API</span>
<span>PrimeNG menus components share a common api to specify the menuitems and submenus.</span>
</div>
</div>
<div class="content-section documentation">
<h3 class="first">MenuItem</h3>
<p>... | HTML | src/app/showcase/components/menumodel/menumodeldemo.html | aclarktcc/primeng | mit | 6,960 | 215 | codeparrot/github-code |
ce7953a6b5e7f2616dab425ac86495da5e4fb23ad15fbbdb0d36e31e08362bdc | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="PolygonAnnotation.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// This is a WPF wrapper of OxyPlot.PolygonAnnotation
// </sum... | C# | Source/OxyPlot.Wpf/Annotations/PolygonAnnotation.cs | rahulpatil2009/OxyPlot | mit | 4,206 | 127 | codeparrot/github-code |
f0f8edbe92f3ed6e6aaecfed3ee89f2080d031e94fae2f427826cd2bac01610c | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>The PostgreSQL Type System</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="P... | HTML | postgresql/html/extend-type-system.html | jeremymcwilliams/pubcom | mit | 9,722 | 462 | codeparrot/github-code |
7656392c6b4c42e0455fd91f88aab7cde74e9f72958dd96939aca4ba7b8c249b | /*
* Copyright (c) 2013 - present Adobe Systems Incorporated. All rights reserved.
*
* 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
* ... | JavaScript | src/editor/EditorStatusBar.js | adobe/brackets | mit | 22,743 | 573 | codeparrot/github-code |
d37dea57d0a40c3bcca52007bf75578862637f1732654ec04d07df0c3bc887ea | // Copyright (c) 2009-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_NETADDRESS_H
#define BITCOIN_NETADDRESS_H
#if defined(HAVE_CONFIG_H)
#include <config/bitcoin-config.h>
#end... | C | src/netaddress.h | joshrabinowitz/bitcoin | mit | 6,253 | 176 | codeparrot/github-code |
aca1f75515594adbf57466a0a636ac1e44ae65ed576e00473f0484ff9a6b1c8c | /* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2021 Intel Corporation
*/
#include "qat_device.h"
#include "qat_qp.h"
#include "adf_transport_access_macros.h"
#include "qat_dev_gens.h"
#include <stdint.h>
#define ADF_ARB_REG_SLOT 0x1000
#define WRITE_CSR_ARB_RINGSRVARBEN(csr_addr, index, value) \
ADF_C... | C | drivers/common/qat/dev/qat_dev_gen1.c | john-mcnamara-intel/dpdk | mit | 6,573 | 258 | codeparrot/github-code |
7a991198c99c92f1b3988f97cd65bedb3e575397de25be9f36167b3a09c34b8f | package net.spy.memcached;
/**
* This test assumes a binary server is running on localhost:11211.
*/
public class BinaryClientTest extends ProtocolBaseCase {
@Override
protected void initClient() throws Exception {
initClient(new BinaryConnectionFactory() {
@Override
public long getOperationTimeout() {
... | Java | src/test/java/net/spy/memcached/BinaryClientTest.java | zjjxxl/java-memcached-client | mit | 1,600 | 56 | codeparrot/github-code |
1482fe038a4fe03c4d48291e2cacdb15b24ca45f2e6df4e25bae3394c4c88592 | <!DOCTYPE html>
<html>
<head>
<title>“The Cake” | Fairy Tales and Other Traditional Stories | Laura Richards | Lit2Go ETC</title>
<link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/screenless.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="http://... | HTML | lit2go.ok/68/fairy-tales-and-other-traditional-stories/4861/the-cake/index.html | adrianosb/HtmlToText | mit | 12,585 | 265 | codeparrot/github-code |
4978edf1c637722c99d4023acdb5a21d97070dd524baf9a068e5841dd50af1ec | /**
Copyright (c) 2012-2014 Microsoft Corporation
Module Name:
AST.java
Abstract:
Author:
@author Christoph Wintersteiger (cwinter) 2012-03-15
Notes:
**/
package com.microsoft.z3;
import com.microsoft.z3.enumerations.Z3_ast_kind;
/**
* The abstract syntax tree (AST) class.
**/
public class AS... | Java | src/api/java/AST.java | seahorn/z3 | mit | 5,513 | 246 | codeparrot/github-code |
accc98cb83f24af8724a98cdf7759852d6dffc96d3f5961865280f67cffdfc25 | /*
Copyright (c) 2010, Jonathan Wayne Parrott
Please see the license.txt file included with this source
distribution for more information.
*/
#include "ResourceManager.h"
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/thread/thread.hpp>
using namespace phoenix;
/*!----------... | C++ | source/ResourceManager.cpp | shaobozi/PhoenixCore | mit | 1,806 | 74 | codeparrot/github-code |
5dac386f9040917e97d6dbcaf04c019470c28e5cd9602aec8173453c7fec9f05 | /*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 2006-2015 The PHP Group |
+--------------... | C | usr/php-7.0.1/include/php/ext/mysqlnd/mysqlnd_enum_n_def.h | elmoke/openshift-cartridge-php | mit | 20,132 | 680 | codeparrot/github-code |
524bdbe0f4484a4241c82c2f365318f48eaab1b41914cf20792c38150852a770 | 'use strict';
// to enable these logs set `DEBUG=boot:03-load-content` or `DEBUG=boot:*`
var log = require('debug')('boot:03-load-content');
module.exports = function (app) {
if (app.dataSources.db.name !== 'Memory' && !process.env.INITDB) {
return;
}
log('Creating categories and products');
var Catego... | JavaScript | server/boot/03-load-content.js | shalkam/loopback-angular-admin | mit | 2,476 | 89 | codeparrot/github-code |
68e40ce599506baf9d52c19c6f83401d883e0627e1aec67a77c189184eac35cc | <?php
namespace code\Token;
use Sstalle\php7cc\Token\Token;
class TokenTest extends \PHPUnit_Framework_TestCase
{
/**
* @expectedException \InvalidArgumentException
* @dataProvider throwsExceptionOnArrayTokenWithNotEnoughElementsProvider
*/
public function testThrowsExceptionOnArrayTokenWithNo... | PHP | test/code/Token/TokenTest.php | hason/php7cc | mit | 2,022 | 85 | codeparrot/github-code |
49a36efb23bc2f29e4427ad92c17c376a9ab41dc58166e2bb7ff3b0ebecab5f1 | (function(root, factory) {
if(typeof exports === 'object') {
module.exports = factory();
}
else if(typeof define === 'function' && define.amd) {
define('GMaps', [], factory);
}
root.GMaps = factory();
}(this, function() {
/*!
* GMaps.js v0.4.9
* http://hpneo.github.com/gmaps/
*
* Copyright 2013... | JavaScript | assets/js/frontend/plugins/gmaps.js | fajarnugrohoid/mlm_portal | mit | 55,030 | 2,065 | codeparrot/github-code |
3054717435951748a49968edc92386709ccf6e3f51f246e6632d0cfbad117105 | <!DOCTYPE html>
<html>
<head>
<title>“Cypresses” | Songs of the Wind on a Southern Shore, and other Poems of Florida | George E. Merrick | Lit2Go ETC</title>
<link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/screenless.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link re... | HTML | lit2go.ok/202/songs-of-the-wind-on-a-southern-shore-and-other-poems-of-florida/4394/cypresses/index.html | adrianosb/HtmlToText | mit | 12,697 | 253 | codeparrot/github-code |
964313478910f8150e51a8f3a1c39dae11f8ee7f8706071b6bcc7c2dd445ff04 | <?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Bundle\FlowBundle\Process\Builder;
use Sylius\Bundle\FlowBundle\Process\Process;
use... | PHP | src/Sylius/Bundle/FlowBundle/Process/Builder/ProcessBuilder.php | fatihi-achraf/weshop | mit | 5,051 | 241 | codeparrot/github-code |
5260901ce0f89ef3459c99326f65bf2c1e09c7c527119a9c48fa68c1b1d5d74d | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Routing;
using FluentBootstrap.Forms;
using System.Linq.Expressions;
using System.Globalization;
using FluentBootstrap.Internals;
namespace FluentBootstrap
{
public static class For... | C# | FluentBootstrap/Forms/FormExtensions.cs | tareq-s/FluentBootstrap | mit | 27,261 | 579 | codeparrot/github-code |
ed99672e52dff21491f3fc4c49ba8c63c20fc6e412ad93c82ad495aa480c1b0a | # Makefile for Sphinx LaTeX output
ALLDOCS = $(basename $(wildcard *.tex))
ALLPDF = $(addsuffix .pdf,$(ALLDOCS))
ALLDVI = $(addsuffix .dvi,$(ALLDOCS))
ALLPS = $(addsuffix .ps,$(ALLDOCS))
# Prefix for archive names
ARCHIVEPREFIX =
# Additional LaTeX options
LATEXOPTS =
# format: pdf or dvi
FMT = pdf
LATEX = latex
PD... | Makefile | manual/latex/Makefile | KNMI/VERCE | mit | 2,325 | 82 | codeparrot/github-code |
0aba4520b356b1337e6231e11084e5fcfbcc20d257aa42c658b7d6c70dc70d15 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using NHibernate.AspNet.Identity.Properties;
using NHibernate.Linq;
namespace NHibernate.AspNet.Ide... | C# | source/NHibernate.AspNet.Identity/UserStore`1.cs | smallkid/NHibernate.AspNet.Identity | mit | 20,238 | 619 | codeparrot/github-code |
4bf5be3302d427d94e11c0da8886edf52a26e73a10ba647a1ec6a7b864c013b3 | <?php
namespace Haven\Bundle\PersonaBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class PersonType extends AbstractType {
public function buildForm(FormBuilderInterface $builder, array $optio... | PHP | src/Haven/Bundle/PersonaBundle/Form/PersonType.php | havenlib/haven-standard | mit | 2,444 | 62 | codeparrot/github-code |
fb8a4bfbb5c9fe663481684ef6d253f383f13aafc6fb7c4d3fe9b6167d5cbe3e | /**
* Handles the display of reveal.js' optional slide number.
*/
export default class SlideNumber {
constructor( Reveal ) {
this.Reveal = Reveal;
}
render() {
this.element = document.createElement( 'div' );
this.element.className = 'slide-number';
this.Reveal.getRevealElement().appendChild( this.elem... | JavaScript | js/controllers/slidenumber.js | kenkunz/js-crash-course | mit | 3,350 | 132 | codeparrot/github-code |
fe0bc24cdaf6ccef80c10c4ef13d0d2446361ac1671755d24a8835379c8968af | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Release 8.4.4</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="PostgreSQL 9.0... | HTML | postgresql/html/release-8-4-4.html | jeremymcwilliams/pubcom | mit | 10,880 | 572 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.