max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
678 | <reponame>bzxy/cydia
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/iLifeSlideshow.framework/iLifeSlideshow
*/
#import <iLifeSlideshow/XXUnknownSuperclass.h>
#import <iLifeSlideshow/iLifeSlideshow-Structs.h>
// iOSOpenDev: wrapped with define check (since occurs... | 815 |
1,529 | ### tf-nightly-2.2.0-dev20200502
import tensorflow as tf
import numpy as np
def representative_dataset_gen_kitti():
for image in raw_test_data_hand:
image = tf.image.resize(image.astype(np.float32), (128, 416))
image = image[np.newaxis,:,:,:]
image = image / 255
yield [image]
def representative_data... | 803 |
5,169 | <reponame>Gantios/Specs<gh_stars>1000+
{
"name": "CMYLogger",
"version": "2.0.0",
"summary": "a demo of framework upload.",
"description": "\"a demo of framework upload without source code \"",
"homepage": "https://github.com/zhouyf14/CMYLogger",
"license": {
"type": "Apache 2.0",
"file": "LICENSE"
... | 278 |
11,864 | #include "utils.h"
#include "peripherals/uart.h"
#include "peripherals/gpio.h"
void uart_send ( char c )
{
/* Wait for TX FIFO to not be Full.
* This would work way better if we used the fifo level interrupts :)
*/
while(get32(UART_FR) & (1 << 5)) {}
put32(UART_DR,c);
}
char uart_recv (... | 935 |
2,996 | // Copyright 2021 The Terasology Foundation
// SPDX-License-Identifier: Apache-2.0
package org.terasology.engine.utilities;
import java.io.IOException;
import java.nio.file.DirectoryStream;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.SimpleFileVisit... | 871 |
3,296 | /******************************************************************************
* Copyright (c) 2011, <NAME>. All rights reserved.
* Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that... | 10,693 |
1,338 | /*
* Copyright 2020, <NAME> <<EMAIL>>.
* All rights reserved. Distributed under the terms of the MIT License.
*/
#ifndef RATING_STABILITY_H
#define RATING_STABILITY_H
#include <Referenceable.h>
#include <String.h>
class RatingStability : public BReferenceable {
public:
RatingStability();
RatingSt... | 506 |
322 | <gh_stars>100-1000
/*
* 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 "... | 453 |
1,511 | /*
* Copyright (C) 2006, <NAME> (<EMAIL>)
* Copyright (C) 2008, Nokia (<EMAIL>)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at... | 5,423 |
807 | <filename>Master/x360ce/x360ce/x360ce/SWIP.h
/* SWIP - Simple Windows Ini Parser
*
* Copyright (C) 2013 <NAME>
*
* SWIP 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 Found-
* ation, either version 3 of the Lic... | 5,815 |
348 | {"nom":"Taron-Sadirac-Viellenave","circ":"3ème circonscription","dpt":"Pyrénées-Atlantiques","inscrits":150,"abs":53,"votants":97,"blancs":1,"nuls":4,"exp":92,"res":[{"nuance":"REM","nom":"<NAME>","voix":49},{"nuance":"SOC","nom":"<NAME>","voix":43}]} | 105 |
521 | /* $Id: fwudp.c $ */
/** @file
* NAT Network - UDP port-forwarding.
*/
/*
* Copyright (C) 2013-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the te... | 6,721 |
844 | <gh_stars>100-1000
{
"github-username": "ManojNathIC",
"favourite-emoji": "😊",
"favourite-music": "https://soundcloud.com/edsheeran/photograph",
"favourite-color": "#2611c2"
} | 88 |
506 | <reponame>Ashindustry007/competitive-programming
#!/usr/bin/env python3
# https://codeforces.com/contest/1058/problem/C
n = int(input())
d = [int(x) for x in input()]
s = sum(d)
y = s == 0
for i in range(2,s+1):
if y == True: break
if s%i == 0:
k = s//i
c = 0
ok = True
for x in d... | 301 |
930 | from socket import *
import datetime
import os
import time
import random
import threading
from _thread import *
import shutil # to implement delete method
import csv # used in put and post method to insert data
import base64 # used for decoding autherization header in delete method
import sys
import logging
from con... | 17,844 |
957 | <reponame>OneToolsCollection/tangramdotdev-tangram
from pandas.api.types import CategoricalDtype
from sklearn.metrics import mean_squared_error
import argparse
import numpy as np
import pandas as pd
import json
parser = argparse.ArgumentParser()
parser.add_argument('--library', choices=['h2o', 'lightgbm', 'sklearn', '... | 1,369 |
647 | #ifndef HANDLE_HTTP_GET_HELLO
#define HANDLE_HTTP_GET_HELLO
#ifndef SWIG
void handle_HTTP_GET_hello(struct mg_connection *nc, void *hm);
#endif
#endif | 65 |
4,184 | /**
* Copyright (c) 2007-2012, <NAME>
*
* 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 conditi... | 2,976 |
5,903 | <reponame>zhouguangping/pentaho-kettle<gh_stars>1000+
/*
* This file is part of PaloKettlePlugin.
*
* PaloKettlePlugin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of th... | 6,891 |
6,851 | <filename>tests/requests/valid/099.py<gh_stars>1000+
request = {
"method": "POST",
"uri": uri("/test-form"),
"version": (1, 1),
"headers": [
("HOST", "0.0.0.0:5000"),
("USER-AGENT", "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0"),
("ACCEPT", "text/html... | 2,979 |
14,425 | <gh_stars>1000+
/**
* 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
*... | 1,030 |
573 | /*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, <NAME> <<EMAIL>>.
* Copyright (c) 2012-2019, <NAME> <<EMAIL>>.
*/
#include "taisei.h"
#include "fileformats.h"
#include "util.h"
#include "util/pngcruft.h"
static const uin... | 3,138 |
5,169 | {
"name": "QuangFramework",
"version": "1.0.0",
"summary": "This is the best framework",
"description": "I have no idea what to write as a description",
"homepage": "https://github.com/quang10296/Quang",
"license": "MIT",
"authors": {
"quang10296": "<EMAIL>"
},
"platforms": {
"ios": "12.1"
}... | 221 |
386 | <gh_stars>100-1000
#include <onnx.h>
union onnx_scalar_t {
uint8_t v_bool;
int8_t v_int8;
int16_t v_int16;
int32_t v_int32;
int64_t v_int64;
uint8_t v_uint8;
uint16_t v_uint16;
uint32_t v_uint32;
uint64_t v_uint64;
uint16_t v_bfloat16;
uint16_t v_float16;
float v_float32;
double v_float64;
struct {
flo... | 2,223 |
302 | package io.github.iamazy.elasticsearch.dsl.sql.parser.delete;
import io.github.iamazy.elasticsearch.dsl.antlr4.ElasticsearchParser;
import io.github.iamazy.elasticsearch.dsl.sql.enums.SqlOperation;
import io.github.iamazy.elasticsearch.dsl.sql.model.ElasticDslContext;
import io.github.iamazy.elasticsearch.dsl.sql.pars... | 1,302 |
2,504 | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PA... | 422 |
324 | /*
* 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 ... | 900 |
677 | <gh_stars>100-1000
/*
* Copyright (C) 2006, 2007 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,... | 1,021 |
2,550 | /*
* Copyright 2014-2021 Sayi
*
* 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... | 7,218 |
1,144 | package de.metas.device.adempiere.impl;
import java.util.List;
import java.util.Set;
import org.adempiere.mm.attributes.AttributeCode;
import org.adempiere.service.ClientId;
import org.adempiere.service.ISysConfigBL;
import org.adempiere.util.net.IHostIdentifier;
import org.adempiere.util.net.NetUtils;
import org.ade... | 1,560 |
423 | <gh_stars>100-1000
// The MIT License (MIT)
// Copyright © 2015 AppsLandia. 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 lim... | 885 |
1,020 | # -*- coding=utf -*-
import unittest
from sqlalchemy import create_engine, MetaData, Table, Integer, String, Column
from cubes import *
from cubes.errors import *
from ..common import CubesTestCaseBase
from json import dumps
def printable(obj):
return dumps(obj, indent=4)
class AggregatesTestCase(CubesTestCaseBa... | 1,151 |
554 | <filename>x-apm-base/src/main/java/github/tornaco/xposedmoduletest/xposed/app/IBackupCallbackAdapter.java
package github.tornaco.xposedmoduletest.xposed.app;
import android.os.RemoteException;
import github.tornaco.xposedmoduletest.IBackupCallback;
/**
* Created by Tornaco on 2018/5/29 13:53.
* This file i... | 321 |
1,738 | <filename>dev/Gems/CloudGemDefectReporter/v1/AWS/lambda-code/ServiceLambda/recent_searches.py<gh_stars>1000+
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "... | 1,234 |
777 | <gh_stars>100-1000
/*
* Artificial Intelligence for Humans
* Volume 3: Deep Learning and Neural Networks
* Java Version
* http://www.aifh.org
* http://www.jeffheaton.com
*
* Code repository:
* https://github.com/jeffheaton/aifh
*
* Copyright 2014-2015 by <NAME>
*
* Licensed under the Apache License, Version... | 552 |
2,341 | <filename>backend/middleware.py
#
# Copyright 2016 Cluster Labs, 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... | 874 |
13,846 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#pragma once
#ifndef _LIST_ENTRY_H
#define _LIST_ENTRY_H
//
// Doubly-linked list manipulation routines.
//
#define InitializeListHead32(ListHead) (\
(ListHead)->Flink = (ListHead)->Blink = PtrToUlong((ListHead)))
... | 1,148 |
1,127 | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "transformations/common_optimizations/relu_fake_quantize_fusion.hpp"
#include <memory>
#include <ngraph/opsets/opset5.hpp>
#include <ngraph/pattern/op/wrap_type.hpp>
#include <ngraph/rt_info.hpp>
#include <vector>
#includ... | 1,601 |
313 | <reponame>vishalbelsare/RedisGraph
/*
* Copyright 2018-2022 Redis Labs Ltd. and Contributors
*
* This file is available under the Redis Labs Source Available License Agreement
*/
#include "op_skip.h"
#include "../../RG.h"
#include "../../errors.h"
#include "../../arithmetic/arithmetic_expression.h"
/* Forward dec... | 982 |
768 | <gh_stars>100-1000
# Copyright (c) 2020. JetBrains s.r.o.
# Use of this source code is governed by the MIT license that can be found in the LICENSE file.
import json
from .geo_data import get_data_meta, get_map_data_meta
from geopandas import GeoDataFrame
from shapely.geometry import MultiPolygon, Polygon, LinearRi... | 869 |
5,079 | #------------------------------------------------------------------------------
# Copyright 2016, 2017, Oracle and/or its affiliates. All rights reserved.
#
# Portions Copyright 2007-2015, <NAME>. All rights reserved.
#
# Portions Copyright 2001-2007, Computronix (Canada) Ltd., Edmonton, Alberta,
# Canada. All rights r... | 5,236 |
7,892 | /**********************************************************************
Audacity: A Digital Audio Editor
AVFormatContextWrapper.h
<NAME>
**********************************************************************/
#pragma once
#include <cstdint>
#include <vector>
#include <memory>
#include "FFmpegTypes.h"
#incl... | 2,113 |
1,199 | Fix with Qt5-5.14
Obtained from:
https://github.com/quassel/quassel/commit/579e559a6322209df7cd51c34801fecff5fe734b
--- src/common/types.h.orig 2020-04-04 10:50:56 UTC
+++ src/common/types.h
@@ -140,6 +140,7 @@ Q_DECLARE_METATYPE(QHostAddress)
typedef QList<MsgId> MsgIdList;
typedef QList<BufferId> BufferIdList;
... | 250 |
602 | <reponame>the1042/cookiecutter-django
import datetime as dt
import os
import re
from pathlib import Path
from typing import Iterable
import git
import github.PullRequest
import github.Repository
from github import Github
from jinja2 import Template
CURRENT_FILE = Path(__file__)
ROOT = CURRENT_FILE.parents[1]
GITHUB_T... | 2,065 |
1,443 | {
"copyright": "<NAME>",
"url": "https://github.com/DamonOehlman",
"email": "<EMAIL>"
}
| 42 |
586 | <filename>tests/test_ipv4.py
# -*- coding: utf-8 -*-
import pytest
from validators import ipv4, ipv6, ValidationFailure
@pytest.mark.parametrize(('address',), [
('127.0.0.1',),
('192.168.127.12',),
('12.12.12.12',),
])
def test_returns_true_on_valid_ipv4_address(address):
assert ipv4(address)
ass... | 274 |
764 | {"symbol": "DOOH","address": "0x18C525cce3ad9A48D82F91B874754be78E9d0F85","overview":{"en": ""},"email": "<EMAIL>","website": "https://bidooh.io/","state": "NORMAL","links": {"blog": "","twitter": "","telegram": "https://t.me/bidoohio","github": "https://github.com/Bidooh"}} | 114 |
1,848 | <reponame>pcwalton/rust-bindgen
// bindgen-flags: --bitfield-enum "Foo" --rust-target 1.28 -- -std=c++11
enum Foo {
Bar = 1 << 1,
Baz = 1 << 2,
Duplicated = 1 << 2,
Negative = -3,
};
| 84 |
413 | <reponame>DaanDeMeyer/cpp-process-library<gh_stars>100-1000
#include <reproc/run.h>
#include "assert.h"
int main(void)
{
const char *argv[] = { RESOURCE_DIRECTORY "/overflow", NULL };
char *output = NULL;
reproc_sink sink = reproc_sink_string(&output);
int r = -1;
r = reproc_run_ex(argv, (reproc_options){ ... | 167 |
3,070 | from dataclasses import dataclass
import multiprocessing
from io import StringIO
from unittest import mock
from typing import List
from pytest_cov.embed import cleanup_on_sigterm
import pytest
from outrun.rpc import Client, Encoding, InvalidTokenError, Server
def start_server_process(server: Server) -> multiprocess... | 3,530 |
351 | <filename>src/network/time.hpp
/**
* > Author: UncP
* > Github: www.github.com/UncP/Mushroom
* > License: BSD-3
* > Time: 2017-05-14 21:19:07
**/
#ifndef _TIME_HPP_
#define _TIME_HPP_
#include <sys/time.h>
namespace Mushroom {
class Time
{
public:
static int64_t Now() {
return No... | 251 |
3,262 | /*
* Tencent is pleased to support the open source community by making Angel available.
*
* Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. 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 ma... | 619 |
770 | // Copyright (C) 2014 The Regents of the University of California (Regents).
// 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... | 944 |
317 | <gh_stars>100-1000
#include "base.hpp"
VkResult gl_base::createInstance(bool enableValidation)
{
this->enableValidation = enableValidation;
VkApplicationInfo appInfo = {};
appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
appInfo.pApplicationName = name.c_str();
appInfo.pEngineName = name.c_str();
appInfo.api... | 9,990 |
373 | <filename>bundle/src/main/java/com/adobe/acs/commons/util/datadefinitions/impl/LowercaseWithDashesDefinitionBuilderImpl.java
/*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2015 Adobe
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wi... | 832 |
401 | <reponame>JSY1988/tcpkit
/*
* pcap-dag.c: Packet capture interface for Endace DAG cards.
*
* The functionality of this code attempts to mimic that of pcap-linux as much
* as possible. This code is compiled in several different ways depending on
* whether DAG_ONLY and HAVE_DAG_API are defined. If HAVE_DAG_API is ... | 16,758 |
3,227 | <reponame>ffteja/cgal<filename>Mesh_3/doc/Mesh_3/Concepts/MeshPolyline_3.h
/*!
\ingroup PkgMesh3SecondaryConcepts
\cgalConcept
The concept `MeshPolyline_3` implements a container of points designed to represent a polyline (i.e.\ a sequence of points).
Types and functions provided in this concept are such as standard t... | 358 |
519 | <filename>include/cpp-sort/detail/ska_sort.h
/*
* Copyright (c) 2017-2021 Morwenn
* SPDX-License-Identifier: MIT
*/
// Copyright <NAME> 2016.
// Distributed under the Boost Software License, Version 1.0.
// (See http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef CPPSORT_DETAIL_SKA_SORT_H_
#define CPPSORT_... | 18,348 |
884 | <reponame>rt112000/CDM
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
package com.microsoft.commondatamodel.objectmodel.persistence.cdmfolder;
import com.fasterxml.jackson.databind.JsonNode;
import com.micros... | 1,123 |
1,162 | package io.digdag.core.schedule;
import java.time.Instant;
import com.google.common.base.*;
import com.google.common.collect.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.immutables.value.Value;
import io.digdag.client.co... | 256 |
1,467 | <gh_stars>1000+
/**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include <gtest/gtest.h>
#include "common/blob.hpp"
#include "cryptography/ed25519_sha3_impl/internal/ed25519_impl.hpp"
#include "model/generators/query_generator.hpp"
#include "model/generators/transa... | 689 |
852 | <reponame>ckamtsikis/cmssw<filename>DataFormats/JetReco/interface/CaloJet.h
#ifndef JetReco_CaloJet_h
#define JetReco_CaloJet_h
/** \class reco::CaloJet
*
* \short Jets made from CaloTowers
*
* CaloJet represents Jets made from CaloTowers
* Provide energy contributions from different subdetectors
* in addition t... | 2,181 |
1,561 | /*
* Copyright (c) 2019 Cossack Labs Limited
*
* 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... | 3,869 |
2,151 | <gh_stars>1000+
// 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 "chrome/browser/chromeos/policy/component_active_directory_policy_retriever.h"
#include "base/bind.h"
#include "base/test/scoped... | 1,829 |
1,006 | <gh_stars>1000+
/****************************************************************************
* include/nuttx/rf/ioctl.h
*
* 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://... | 337 |
315 | <reponame>g-r-a-n-t/py-libp2p
import pytest
import trio
from libp2p.host.exceptions import StreamFailure
from libp2p.peer.peerinfo import info_from_p2p_addr
from libp2p.tools.factories import HostFactory
from libp2p.tools.utils import MAX_READ_LEN
PROTOCOL_ID = "/chat/1.0.0"
async def hello_world(host_a, host_b):
... | 1,329 |
854 | <reponame>rakhi2001/ecom7<gh_stars>100-1000
__________________________________________________________________________________________________
sample 48 ms submission
class Solution:
def findMin(self, nums: List[int]) -> int:
l, r = 0, len(nums)-1
while l+1 < r:
mid = (l+r)//2
... | 748 |
575 | // 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 "components/exo/text_input.h"
#include <memory>
#include <string>
#include "base/strings/utf_string_conversions.h"
#include "components/exo/buf... | 4,733 |
1,927 | <reponame>alimy/scene
/*
* Copyright (C) 2019 ByteDance 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... | 1,395 |
348 | <gh_stars>100-1000
{"nom":"Pierrefitte-Nestalas","dpt":"Hautes-Pyrénées","inscrits":973,"abs":232,"votants":741,"blancs":105,"nuls":33,"exp":603,"res":[{"panneau":"1","voix":418},{"panneau":"2","voix":185}]} | 90 |
14,668 | // Copyright 2019 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/svg/svg_path_query.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/... | 669 |
607 | <reponame>kirill-grouchnikov/radiance<gh_stars>100-1000
package org.pushingpixels.radiance.demo.component.svg.tango.transcoded;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.BufferedImage;
import java.io.*;
import java.lang.ref.WeakReference;
import java.util.Base64;
import java.util.Stack;
import j... | 6,986 |
5,169 | <filename>Specs/COPeoplePickerViewController/0.0.1/COPeoplePickerViewController.podspec.json
{
"name": "COPeoplePickerViewController",
"version": "0.0.1",
"platforms": {
"ios": null
},
"license": "MIT",
"summary": "Tokenized People Picker. Re-implementation of the email address picker of iCal (work in p... | 291 |
13,885 | #include "draco/io/file_writer_factory.h"
#include <vector>
namespace draco {
namespace {
#define FILEWRITER_LOG_ERROR(error_string) \
do { \
fprintf(stderr, "%s:%d (%s): %s.\n", __FILE__, __LINE__, __func__, \
... | 571 |
1,056 | /*
* 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 ... | 6,170 |
5,279 | <filename>runners/samza/src/main/java/org/apache/beam/runners/samza/translation/TransformTranslator.java
/*
* 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 owners... | 582 |
335 | # *****************************************************************************
#
# Copyright (c) 2020, the pyEX authors.
#
# This file is part of the pyEX library, distributed under the terms of
# the Apache License 2.0. The full license can be found in the LICENSE file.
#
from functools import wraps
import pandas a... | 678 |
3,227 |
namespace CGAL {
/*!
\ingroup PkgSegmentDelaunayGraph2Ref
The class `Segment_Delaunay_graph_storage_site_2` is a model for the concept
`SegmentDelaunayGraphStorageSite_2`.
\tparam Gt must be a model of the `SegmentDelaunayGraphStorageTraits_2` concept.
\cgalModels `SegmentDelaunayGraphStorageSite_2`
\sa `CGAL::Se... | 281 |
1,150 | # -*- coding: utf-8 -*-
from django.core.signing import JSONSerializer as BaseJSONSerializer
JSONSerializer = BaseJSONSerializer | 42 |
1,056 | <filename>ide/subversion/src/org/netbeans/modules/subversion/ui/copy/SwitchToAction.java
/*
* 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 li... | 4,445 |
709 | <filename>runtime/basis/Posix/Process/termSig.c
#include "platform.h"
C_Signal_t Posix_Process_termSig (C_Status_t s) {
return WTERMSIG (s);
}
| 64 |
866 | <reponame>Miouge1/cli
{"format_version":"0.1","terraform_version":"0.12.18","variables":{"servicebus_queue_list":{"value":["something","somethingelse","somethingdifferent"]}},"planned_values":{"root_module":{"resources":[{"address":"azurerm_servicebus_queue.sb[\"something\"]","mode":"managed","type":"azurerm_servicebus... | 1,438 |
379 | <reponame>Ahzed11/mozart2<gh_stars>100-1000
// Copyright © 2013, Université catholique de Louvain
// 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 r... | 1,820 |
1,603 | <filename>metadata-integration/java/datahub-protobuf/src/test/java/datahub/protobuf/visitors/dataset/DomainVisitorTest.java
package datahub.protobuf.visitors.dataset;
import com.linkedin.common.urn.Urn;
import datahub.protobuf.model.ProtobufGraph;
import org.junit.Test;
import java.io.IOException;
import java.util.Li... | 370 |
12,700 | <gh_stars>1000+
#ifndef _ASM_BARRIER_H_
#define _ASM_BARRIER_H_
/*
* asm-generic/barrier.h
*
* Copyright (C) 2016, Red Hat Inc, <NAME> <<EMAIL>>
*
* This work is licensed under the terms of the GNU LGPL, version 2.
*/
#ifndef mb
#define mb() asm volatile("":::"memory")
#endif
#ifndef rmb
#define rmb() asm volati... | 293 |
399 | /*
* Copyright(c) 2019 Intel Corporation
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at https://www.aomedia.org/license/soft... | 29,621 |
370 | #define DINT
#include <../Source/umf_realloc.c>
| 20 |
965 | <filename>docs/atl/codesnippet/CPP/specifying-property-pages_1.h
class ATL_NO_VTABLE CMyCtrl :
OtherInterfaces
public ISpecifyPropertyPagesImpl<CMyCtrl>
{
public:
BEGIN_COM_MAP(CMyCtrl)
OtherComMapEntries
COM_INTERFACE_ENTRY(ISpecifyPropertyPages)
END_COM_MAP()
BEGIN_PROP_MAP(CMyCtrl)
OtherPropMapEntri... | 182 |
1,947 | <gh_stars>1000+
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*-----------------------------------------------... | 137 |
337 | <filename>j2k/testData/fileOrElement/class/emptyClass.java
//class
final class A {} | 28 |
5,169 | <filename>Specs/1/9/4/iiwi/0.1.1/iiwi.podspec.json
{
"name": "iiwi",
"version": "0.1.1",
"summary": "iiwi simplifies usage of Core Data",
"description": "iiwi is a simple library which helps set up Core Data in application. It relies on NSPersistentContainer and provides implementation of base repositories. Rep... | 321 |
743 | <gh_stars>100-1000
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": ... | 257 |
816 | <gh_stars>100-1000
package geb.textmatching;
import java.util.Arrays;
class AnyTextMatcher extends CompositeTextMatcher {
public AnyTextMatcher(TextMatcher[] matchers) {
super(matchers);
}
@Override
public boolean matches(String text) {
return Arrays.stream(matchers).anyMatch(m -> m.... | 131 |
434 | <reponame>Hidden-black/jishaku
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
MIT License
Copyright (c) 2021 <NAME>
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, inclu... | 557 |
2,989 | <reponame>tb-soft/databus
package com.linkedin.databus.util;
import com.linkedin.databus2.test.TestUtil;
import java.io.File;
import java.util.List;
import org.apache.log4j.Level;
import org.jboss.netty.logging.InternalLoggerFactory;
import org.jboss.netty.logging.Log4JLoggerFactory;
import org.testng.Assert;
import ... | 4,073 |
2,350 | #pragma once
#include "GameFramework/HUD.h"
#include "UnrealEnginePython.h"
#include "PyHUD.generated.h"
UCLASS(BlueprintType, Blueprintable)
class UNREALENGINEPYTHON_API APyHUD : public AHUD
{
GENERATED_BODY()
public:
// Sets default values for this component's properties
APyHUD();
~APyHUD();
// Called whe... | 408 |
809 | {
"js": [
"src/paste.js",
"src/wordpastehandler.js",
"src/oembedpastehandler.js",
"src/genericpastehandler.js"
]
} | 60 |
397 | #pragma once
#define DESKTOP_ALL (DESKTOP_CREATEMENU | DESKTOP_CREATEWINDOW | \
DESKTOP_ENUMERATE | DESKTOP_HOOKCONTROL | \
DESKTOP_JOURNALPLAYBACK | DESKTOP_JOURNALRECORD | \
DESKTOP_READOBJECTS | DESKTOP_SWITCHDESKTOP | \
DESKTOP_WRITEOBJECTS | DELETE | \
READ_CONTROL | WRITE_DAC |\
WRITE_OWNER)
#define WINSTA... | 323 |
2,082 | from typing import Type
from auto_labeling_pipeline.labels import (
ClassificationLabels,
Labels,
Seq2seqLabels,
SequenceLabels,
)
from auto_labeling_pipeline.mappings import MappingTemplate
from auto_labeling_pipeline.models import RequestModelFactory
from auto_labeling_pipeline.pipeline import pipeli... | 374 |
801 | <gh_stars>100-1000
//
// MPVariant.h
// HelloMixpanel
//
// Created by <NAME> on 28/4/14.
// Copyright (c) 2014 Mixpanel. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface MPVariant : NSObject <NSCoding>
@property (nonatomic) NSUInteger ID;
@property (nonatomic) NSUInteger experimentID;
/*!
... | 636 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.