max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
335 | {
"word": "Roast",
"definitions": [
"Cook (food, especially meat) by prolonged exposure to heat in an oven or over a fire.",
"(of food) be cooked by roasting.",
"Process (a foodstuff, metal ore, etc.) by subjecting it to intense heat.",
"Make or become very warm, especially throu... | 180 |
682 | #include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "blifparse.hpp"
#include "blif_pretty_print.hpp"
using namespace blifparse;
int exit_code = 0;
class NoOpCallback : public Callback {
//A No-op version of the callback
public:
void start_parse() override {}
void filename(std... | 832 |
778 | <reponame>lkusch/Kratos<filename>kratos/utilities/delaunator_utilities.h
// | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
... | 1,042 |
571 | package me.devsaki.hentoid.parsers.content;
import androidx.annotation.NonNull;
import javax.annotation.Nonnull;
import me.devsaki.hentoid.database.domains.Content;
import pl.droidsonroids.jspoon.annotation.Selector;
public abstract class BaseContentParser implements ContentParser {
protected static final Stri... | 247 |
787 | <filename>src/main/java/org/spongepowered/api/scoreboard/objective/Objective.java
/*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person ... | 2,835 |
416 | <gh_stars>100-1000
//
// INStartCallContactResolutionResult.h
// Intents
//
// Copyright (c) 2016-2020 Apple Inc. All rights reserved.
//
#import <Intents/INPersonResolutionResult.h>
typedef NS_ENUM(NSInteger, INStartCallContactUnsupportedReason) {
INStartCallContactUnsupportedReasonNoContactFound = 1,
INS... | 428 |
8,747 | /*
* Crypto wrapper for internal crypto implementation
* Copyright (c) 2006-2011, <NAME> <<EMAIL>>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "crypto.h"
#include "sha256_i.h"
#include "sha1_i.h"
#i... | 3,464 |
1,489 | <reponame>slated/django-activity-stream
default_app_config = 'testapp_nested.apps.TestappNestedConfig'
| 37 |
751 | <reponame>amithbraj/vpp
/*
* Copyright (c) 2016 Cisco and/or 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
*
* Unle... | 4,814 |
879 | package org.zstack.header.tag;
import org.springframework.http.HttpMethod;
import org.zstack.header.identity.Action;
import org.zstack.header.query.APIQueryMessage;
import org.zstack.header.query.AutoQuery;
import org.zstack.header.rest.RestRequest;
import java.util.List;
import static java.util.Arrays.asList;
/**
... | 299 |
852 | <reponame>ckamtsikis/cmssw
#include <iostream>
#include <vector>
#include <memory>
#include "RecoEgamma/EgammaPhotonAlgos/interface/ConversionTrackPairFinder.h"
// Framework
#include "FWCore/MessageLogger/interface/MessageLogger.h"
//
//
#include <vector>
#include <map>
//using namespace std;
ConversionTrackPairFind... | 6,598 |
935 | <gh_stars>100-1000
#include <thor-internal/coroutine.hpp>
#include <thor-internal/fiber.hpp>
#include <thor-internal/main.hpp>
#include <thor-internal/memory-view.hpp>
#include <thor-internal/physical.hpp>
#include <thor-internal/timer.hpp>
namespace thor {
namespace {
constexpr bool logUsage = false;
constexpr boo... | 21,524 |
435 | {
"copyright_text": "Standard YouTube License",
"description": "En CartoDB usamos torque (https://github.com/cartodb/torque) para la generaci\u00f3n de visualizaciones en el navegador de millones de puntos. Para que sea posible es necesario hacer un procesado de los datos en el servidor. En esta charla se tratar\u0... | 462 |
772 | {
"danceFeedbackNeedNewDancer": "Musíš vytvoriť tanečníka.",
"danceFeedbackNoDancers": "Nemáš žiadnych tanečníkov.",
"danceFeedbackNoBackground": "Potrebuješ pridať efekt v pozadí.",
"danceFeedbackTooManyDancers": "Buď opatrný! Ak vložíš blok `vytvor` dovnútra bloku `každé 2 takty`, tak vytvoriš veľa tanečníkov... | 1,009 |
394 | <reponame>jjochen/DTFoundation
//
// ZipNodeViewController.m
// Zippo
//
// Created by <NAME> on 4/12/13.
// Copyright (c) 2013 Cocoanetics. All rights reserved
//
#import <Foundation/Foundation.h>
#import "DTZipArchiveNode.h"
#import "DTZipArchive.h"
#import <QuickLook/QLPreviewItem.h>
@interface ZipNodeViewContr... | 165 |
358 | /*
* Copyright 2018 The Ripple 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 ag... | 1,528 |
2,635 | <filename>library/src/main/java/com/cjj/sva/anim/controller/JJCircleToBarController.java<gh_stars>1000+
package com.cjj.sva.anim.controller;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import com.cjj.sva.anim.JJBaseController;
/**
* 这是... | 3,172 |
411 | /*
* 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 ... | 1,214 |
1,442 | <filename>delta/data/task/kws_cls_task.py
# Copyright (C) 2017 Beijing Didi Infinity Technology and Development Co.,Ltd.
# 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... | 2,442 |
396 | #
#
# Copyright (C) 2014 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:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and ... | 1,187 |
323 | #ifndef _ROS_baxter_core_msgs_EndpointState_h
#define _ROS_baxter_core_msgs_EndpointState_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "std_msgs/Header.h"
#include "geometry_msgs/Pose.h"
#include "geometry_msgs/Twist.h"
#include "geometry_msgs/Wrench.h"
namespace baxter_... | 675 |
6,958 | //
// CPUOneHot.hpp
// MNN
//
// Created by MNN on 2019/11/29.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef CPUOneHot_hpp
#define CPUOneHot_hpp
#include "core/Execution.hpp"
namespace MNN {
class CPUOneHot : public Execution{
public:
CPUOneHot(Backend* b, int axis):Execution(b), mAxis(axis)... | 213 |
190,993 | /* Copyright 2016 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... | 1,047 |
4,625 | // Copyright 2021 JanusGraph Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 1,036 |
1,555 | <gh_stars>1000+
int main () {
int i = 23;
unsigned char c = 3;
return (unsigned char) (~i + ~c) != 228;
}
| 46 |
7,883 | // Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "Carla.h"
#include "Carla/Sensor/SemanticSegmentationCamera.h"
#include "Carla/Sensor... | 351 |
636 | import time
from indy import did, crypto, wallet
import json
import logging
from indy import pool
from src.utils import run_coroutine, PROTOCOL_VERSION
logger = logging.getLogger(__name__)
async def demo():
logger.info("Crypto sample -> started")
signer = {
'wallet_config': json.dumps({'id': 'si... | 1,098 |
453 | <reponame>kanishkan/tce
#ifdef __SPE__
#include <_ansi.h>
#include <limits.h>
#include <errno.h>
#include <stdlib.h>
#include <reent.h>
#include "vfieeefp.h"
/*
* Convert a string to a fixed-point 32-bit value.
*
* Ignores `locale' stuff.
*/
__uint32_t
_DEFUN (_strtoufix32_r, (rptr, nptr, endptr),
struct _reent... | 939 |
590 | /*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#include "MyGUI_Precompiled.h"
#include "MyGUI_Gui.h"
#include "MyGUI_Widget.h"
#include "MyGUI_InputManage... | 3,884 |
573 | /**
* Defines the `ZydisInstructionCategory` enum.
*/
typedef enum ZydisInstructionCategory_
{
ZYDIS_CATEGORY_INVALID,
ZYDIS_CATEGORY_ADOX_ADCX,
ZYDIS_CATEGORY_AES,
ZYDIS_CATEGORY_AMD3DNOW,
ZYDIS_CATEGORY_AMX_TILE,
ZYDIS_CATEGORY_AVX,
ZYDIS_CATEGORY_AVX2,
ZYDIS_CATEGORY_AVX2GATHER,
... | 1,932 |
665 | /*
* 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")... | 558 |
681 | <reponame>Siddhesh-Ghadi/airline
package io.airlift.airline;
public interface CommandFactory<T>
{
T createInstance(Class<?> type);
}
| 52 |
14,425 | /**
* 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... | 744 |
1,700 | // Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#include "../../../external/catch.hpp"
#include "../common/algorithms/parallel_filter.h"
#include <map>
#include <vector>
using namespace embree;
namespace parallel_filter_unit_test {
TEST_CASE("Test parallel_filter", "[parallel_filter... | 567 |
348 | {"nom":"Cadaujac","circ":"9ème circonscription","dpt":"Gironde","inscrits":4331,"abs":2751,"votants":1580,"blancs":169,"nuls":89,"exp":1322,"res":[{"nuance":"MDM","nom":"<NAME>","voix":717},{"nuance":"SOC","nom":"<NAME>","voix":605}]} | 97 |
317 | package test.swig;
import java.util.Random;
import java.util.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
public class swigtest {
static {
System.loadLibrary("swigtest");
}
public static String FILE__() {
return Thread.currentThread().getStackTrace()[2].getFileName();
}
pu... | 978 |
1,244 | <reponame>afeng11/tomato-arm
/*
version 20080912
<NAME>
Public domain.
*/
#include <stdint.h>
#include <stdlib.h>
#include "crypto_core_hsalsa20.h"
#include "private/common.h"
#define ROUNDS 20
#define U32C(v) (v##U)
static uint32_t rotate(uint32_t u,int c)
{
return (u << c) | (u >> (32 - c));
}
int crypto_core_... | 1,337 |
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 ... | 1,641 |
1,127 | <filename>docs/template_plugin/tests/functional/op_reference/hswish.cpp
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <gtest/gtest.h>
#include "openvino/op/hswish.hpp"
#include "base_reference_test.hpp"
using namespace reference_tests;
using namespace ov;
using names... | 1,554 |
515 | import kivy
from kivy.app import App
from kivy.uix.widget import Widget
from kivy.clock import Clock
from kivy.core.window import Window
from random import randint, choice
import kivent_core
from kivent_core.gameworld import GameWorld
from kivent_core.systems.position_systems import PositionSystem2D
from kivent_core.s... | 1,141 |
363 | <reponame>elizabethking2/UnrealGDK
// Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#pragma once
#include "HAL/PlatformProcess.h"
#include "Interfaces/IPluginManager.h"
/**
* This class ensures that the C API worker library is loaded before it is needed by code.
* This is only required when a platform u... | 714 |
466 | package mu.nu.nullpo.game.subsystem.mode;
import mu.nu.nullpo.game.event.EventReceiver;
import mu.nu.nullpo.game.play.GameEngine;
import mu.nu.nullpo.game.play.GameManager;
import mu.nu.nullpo.util.GeneralUtil;
/**
* NET-VS-LINE RACE mode
*/
public class NetVSLineRaceMode extends NetDummyVSMode {
/** Nu... | 4,795 |
848 | <gh_stars>100-1000
# 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 ... | 5,469 |
429 | #!/usr/bin/python
'''
(C) Copyright 2020-2021 Intel Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
'''
from ior_test_base import IorTestBase
class EcodCellSize(IorTestBase):
# pylint: disable=too-many-ancestors
# pylint: disable=too-few-public-methods
"""EC IOR class to run tests with diffe... | 510 |
521 | <filename>include/retdec/utils/value.h
/**
* @file include/retdec/utils/value.h
* @brief Values and other derived class representation.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#ifndef RETDEC_UTILS_VALUE_H
#define RETDEC_UTILS_VALUE_H
#include <cassert>
#include <ostream>
namespace... | 866 |
21,382 | /*
* 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 ... | 1,008 |
6,159 | package com.juns.wechat.common;
import java.util.Comparator;
import com.juns.wechat.bean.User;
public class PinyinComparator implements Comparator {
@Override
public int compare(Object arg0, Object arg1) {
// 按照名字排序
User user0 = (User) arg0;
User user1 = (User) arg1;
String catalog0 = "";
... | 354 |
728 | <filename>bundles/sirix-saxon/src/test/java/org/sirix/saxon/wrapper/TestNodeWrapper.java
/**
* Copyright (c) 2011, University of Konstanz, Distributed Systems Group
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followi... | 3,596 |
1,145 | // Copyright 2014 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 1,258 |
3,212 | <filename>nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/anonymous/NiFiAnonymousAuthenticationProvider.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distri... | 750 |
441 | <filename>Source/Urho3D/Glow/LightmapUVGenerator.cpp
//
// Copyright (c) 2017-2020 the rbfx project.
//
// 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 witho... | 2,053 |
1,008 | /*
* Copyright (C) 2019 The Turms Project
* https://github.com/turms-im/turms
*
* 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
*
*... | 1,536 |
353 | <filename>ceph_deploy/tests/unit/util/test_system.py<gh_stars>100-1000
from mock import Mock
from pytest import raises
from ceph_deploy.util import system
from ceph_deploy import exc
class TestExecutablePath(object):
def test_returns_path(self):
fake_conn = Mock()
fake_conn.remote_module.which = ... | 928 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-6gh6-8c4x-5346",
"modified": "2022-05-13T01:43:47Z",
"published": "2022-05-13T01:43:47Z",
"aliases": [
"CVE-2017-15536"
],
"details": "An issue was discovered in Cloudera Data Science Workbench (CDSW) 1.x before 1.2.0. Several web application vulnerabilities al... | 515 |
1,219 | import numpy as np
from sklearn.grid_search import GridSearchCV
from sklearn.naive_bayes import MultinomialNB
from sklearn.utils.testing import assert_array_almost_equal
from splearn.grid_search import SparkGridSearchCV
from splearn.naive_bayes import SparkMultinomialNB
from splearn.utils.testing import SplearnTestCase... | 524 |
348 | {"nom":"Beaucaire","circ":"2ème circonscription","dpt":"Gers","inscrits":225,"abs":114,"votants":111,"blancs":5,"nuls":3,"exp":103,"res":[{"nuance":"REM","nom":"<NAME>","voix":56},{"nuance":"SOC","nom":"<NAME>","voix":47}]} | 90 |
1,104 | <gh_stars>1000+
package org.apache.solr.handler.admin;
import java.io.BufferedReader;
import java.io.File;
import java.io.InputStreamReader;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* linux 下cpu 内存 磁盘 jvm的使用监控
*
* @author peng,.chen
*
*/
public class LinuxOsInfo {
/**
* group1:u... | 3,372 |
1,176 | <reponame>zuzhi/rssant
from typing import List, Dict, Any
import logging
import random
import ipaddress
import ssl
import socket
import asyncio
from urllib.parse import urlparse
from collections import defaultdict, OrderedDict
import yarl
import aiohttp
import requests.adapters
from rssant_config import CONFIG
from r... | 4,913 |
456 | <filename>src/test/java/com/swingfrog/summer/test/ecsgameserver/module/team/TeamManager.java
package com.swingfrog.summer.test.ecsgameserver.module.team;
import com.swingfrog.summer.annotation.Autowired;
import com.swingfrog.summer.annotation.Component;
import com.swingfrog.summer.app.Summer;
import com.swingfrog.summ... | 416 |
628 | /*************************************************************************
* Copyright (c) 2014 <NAME>
* 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
*
* htt... | 709 |
1,968 | <filename>librtt/Rtt_LuaCoronaBaseLib.h<gh_stars>1000+
//////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Cont... | 194 |
335 | <filename>N/Noddy_noun.json
{
"word": "Noddy",
"definitions": [
"A foolish person.",
"A tropical tern with mainly dark-coloured plumage.",
"A brief shot in a filmed interview in which the interviewer nods in agreement or acknowledgement."
],
"parts-of-speech": "Noun"
} | 117 |
866 | <filename>Stephanie/local_libs/pyzomato/core/requester.py
import requests
from Stephanie.local_libs.pyzomato.core.endpoint_manager import EndpointManager
class Requester(EndpointManager):
def __init__(self, API_KEY=""):
super().__init__()
self.API_KEY = API_KEY
self.headers = {'user-key': ... | 576 |
965 | //sa is of type COleSafeArray with 2 dimensions
//Determine upper bounds for both dimensions
long lNumRows;
long lNumCols;
sa.GetUBound(1, &lNumRows);
sa.GetUBound(2, &lNumCols);
//Display the elements in the SAFEARRAY.
long index[2];
VARIANT val;
//Determine lower bounds for both dimensions
long lowRow, lowCol;
sa.... | 431 |
1,338 | /*
* Copyright 2011-2015, <NAME>, <EMAIL>. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include "MemoryView.h"
#include <algorithm>
#include <ctype.h>
#include <stdio.h>
#include <ByteOrder.h>
#include <Clipboard.h>
#include <Looper.h>
#include <MenuItem.h>
#include <MessageRunner.... | 10,374 |
711 | <filename>service-front/src/main/java/com/java110/front/components/businesstype/ListBusinessTypeComponent.java
package com.java110.front.components.businesstype;
import com.java110.core.context.IPageData;
import com.java110.front.smo.ICbusinessTypeServiceSMO;
import org.springframework.beans.factory.annotation.Autowir... | 340 |
382 | /*
* Copyright 2020 Coveo, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 494 |
1,056 | <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,884 |
558 | <filename>lib/util/src/rcu.c
/* SPDX-License-Identifier: Apache-2.0 */
/*
* Copyright (C) 2015-2020 Micron Technology, Inc. All rights reserved.
*/
#include <hse_util/rcu.h>
#if !HSE_HAVE_RCU_BARRIER
/* RHEL 7.4 and 7.5 prereq very old urcu implementations that do not include
* rcu_barrier() nor rcu_read_ongoing... | 525 |
5,290 | import os
import re
import shutil
import tempfile
from ..converter import KnowledgePostConverter
class DocxConverter(KnowledgePostConverter):
_registry_keys = ['docx']
@property
def dependencies(self):
# Dependencies required for this converter on top of core knowledge-repo dependencies
... | 639 |
593 | <filename>2015-10_Lecture/Lecture3/code/KerasLayer/FixedEmbedding.py
from __future__ import absolute_import
import theano
import theano.tensor as T
import keras
from keras import activations, initializations, regularizers, constraints
from keras.layers.core import Layer, MaskedLayer
from keras.utils.theano_utils impor... | 1,498 |
374 | <reponame>amanzan/android-oauth-client<gh_stars>100-1000
package com.wuman.android.auth.oauth2.store;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Build;
import android.text.TextUtils;
import com.google.api.client.auth.oauth2.Credent... | 985 |
510 | <gh_stars>100-1000
#include "../include/GuiLite.h"
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <stdio.h>
#include "database.h"
#include "sqlite3.h"
//#define DATA_BASE_PATH "/data/monitor.db"
#define DATA_BASE_PATH ":memory:"
static char sql_create_real_data_table[] =
"create table table_real... | 1,569 |
1,160 | """
Original code by <NAME>: http://www.bryceboe.com/2010/09/01/submitting-binaries-to-virustotal/
Modified by <NAME> <elias at hex-rays.com>
"""
from __future__ import print_function
import hashlib, httplib, mimetypes, os, pprint, simplejson, sys, urlparse
# --------------------------------------------------------... | 1,903 |
385 | <reponame>ceball/nbval
def test_b():
raise AssertionError
def test_c():
assert 1 == 2
| 41 |
1,085 | /*
* Copyright (C) 2017-2019 Dremio Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 1,129 |
306 | <gh_stars>100-1000
/*
* Copyright (c) 2007-present, <NAME> & <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 ... | 13,100 |
1,583 | import helper_addressbook
from bitmessageqt.support import createAddressIfNeeded
from main import TestBase
class TestAddressbook(TestBase):
"""Test case for addressbook"""
def test_add_own_address_to_addressbook(self):
"""Checking own address adding in addressbook"""
try:
address... | 200 |
1,538 | <filename>src/kudu/ranger/mini_ranger.h
// 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,... | 2,313 |
9,782 | /*
* 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... | 5,556 |
348 | {"nom":"Villers-Vermont","circ":"2ème circonscription","dpt":"Oise","inscrits":96,"abs":42,"votants":54,"blancs":10,"nuls":0,"exp":44,"res":[{"nuance":"REM","nom":"<NAME>","voix":25},{"nuance":"FN","nom":"<NAME>","voix":19}]} | 91 |
466 | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2014 Pivotal, Inc.
//
// @filename:
// CParseHandlerPhysicalBitmapTableScan.cpp
//
// @doc:
// SAX parse handler class for parsing bitmap table scan operator nodes
//-----------------------------------... | 414 |
435 | <reponame>allen91wu/data
{
"description": "DjangoCon 2019 - Creating a containerized Django + React + PostgreSQL development environment by <NAME>\n\nThere are many reasons to develop with containers, but getting your developer tools to work with containers can be a big challenge. In this talk we'll show how you can ... | 431 |
311 | package com.bitlove.fetlife.model.pojos.fetlife.db;
import com.bitlove.fetlife.model.db.FetLifeDatabase;
import com.bitlove.fetlife.model.pojos.fetlife.FriendRequestScreenModelObject;
import com.bitlove.fetlife.model.pojos.fetlife.dbjson.Member;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs... | 408 |
521 | <filename>src/elle/serialization/SerializerIn.cc
#include <elle/serialization/SerializerIn.hh>
namespace elle
{
namespace serialization
{
SerializerIn::SerializerIn(bool versioned)
: Super(versioned)
{}
SerializerIn::SerializerIn(Versions versions,
bool versioned)
... | 193 |
14,668 | // Copyright 2021 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 "ui/ozone/platform/flatland/flatland_connection.h"
#include <fuchsia/scenic/scheduling/cpp/fidl.h>
#include <fuchsia/ui/composition/cpp/fidl.h>
... | 2,038 |
27,296 | // Copyright (c) 2014 Intel Corp
// Copyright (c) 2014 The Chromium Authors
//
// 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
... | 1,361 |
1,144 | <gh_stars>1000+
//
// Copyright (C) 2015 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | 511 |
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 ... | 4,529 |
4,283 | /*
* Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 625 |
457 | <gh_stars>100-1000
package io.purplejs.core.exception;
import io.purplejs.core.resource.ResourcePath;
/**
* This exception indicates that a resource was not found or could not be resolved.
*/
public final class NotFoundException
extends RuntimeException
{
/**
* Constructs the exception with a message.
... | 261 |
30,023 | <gh_stars>1000+
"""The Geocaching integration."""
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant
from homeassistant.helpers.config_entry_oauth2_flow import (
OAuth2Session,
async_get_config_entry_implementation,
)
from... | 452 |
3,263 | /*
Copyright 2018 Immutables Authors and Contributors
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... | 337 |
1,444 |
package mage.cards.f;
import java.util.UUID;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DamageTargetEffect;
import mage.abilities.keyword.BasicLandcyclingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.target.co... | 436 |
530 | {
"manufacturer": "Good Way Technology Co., Ltd.",
"manufacturerId": "0x0068",
"label": "GATEWAY / FG2200",
"description": "FG2200 Z-Wave® Home Gateway",
"devices": [
{
"productType": "0x0002",
"productId": "0x0002",
"zwaveAllianceId": 2633
}
],
"firmwareVersion": {
"min": "0.0",
"max": "255.255... | 445 |
1,444 | <gh_stars>1000+
package mage.cards.t;
import mage.abilities.Mode;
import mage.abilities.effects.common.DamageTargetEffect;
import mage.abilities.effects.common.DestroyTargetEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
im... | 535 |
742 | <gh_stars>100-1000
/*------------------------------------
///\ Plywood C++ Framework
\\\/ https://plywood.arc80.com/
------------------------------------*/
#include <ply-web-cook-docs/Core.h>
#include <ply-cook/CookJob.h>
namespace ply {
namespace docs {
void cook_CopyStatic(cook::CookResult* cookResult, TypedP... | 895 |
5,169 | <reponame>Ray0218/Specs<gh_stars>1000+
{
"name": "ADAppRater",
"version": "1.0.0",
"summary": "An AutoCAD360 component that helps you promote your app and get good reviews on the App Store",
"authors": {
"<NAME>": "<EMAIL>"
},
"social_media_url": "https://twitter.com/ashavit3",
"homepage": "http://www... | 416 |
460 | <filename>kettle-webapp/src/main/java/org/flhy/webapp/trans/steps/scriptvalues_mod/ScriptValuesModController.java<gh_stars>100-1000
package org.flhy.webapp.trans.steps.scriptvalues_mod;
import com.mxgraph.model.mxCell;
import com.mxgraph.model.mxGeometry;
import com.mxgraph.util.mxUtils;
import com.mxgraph.util.mxXmlU... | 12,449 |
22,688 | /******************************************************************************
* Copyright 2021 The Apollo 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
... | 7,444 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.