max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
66,985 | <reponame>techAi007/spring-boot<gh_stars>1000+
/*
* Copyright 2012-2020 the original author or 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
*
* https://www.apache.org/... | 1,089 |
1,030 | <gh_stars>1000+
// Copyright (c) 2012-2013 NetEase Youdao Inc. and other heX contributors. All
// rights reserved. Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.
#include "hex_object.h"
#include "hex_switches_port.h"
#include "hex_shared_win.h"
#include <windowsx.h... | 7,259 |
521 | <gh_stars>100-1000
/* $Id: DBGPlugInDarwin.cpp $ */
/** @file
* DBGPlugInDarwin - Debugger and Guest OS Digger Plugin For Darwin / OS X.
*/
/*
* Copyright (C) 2008-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is fr... | 20,128 |
1,106 | /* measure the throughput of encoding and decoding 3D blocks of doubles */
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "zfp.h"
/* example 3D block of (reinterpreted) doubles */
static const uint64 block[] = {
0xbf7c3a7bb8495ca9ull,
0xbf79f9d9058ffdafull,
0xbf77c7abd0b61999ull... | 1,732 |
12,940 | <filename>quickstarts/microsoft.compute/vm-sql-existing-keyvault-update/azuredeploy.json
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"existingVirtualMachineName": {
"type": "string",
"metadata": {
... | 996 |
461 | /*******************************************************************************
* 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... | 2,293 |
3,024 | <reponame>NathanHowell/sqlfluff<filename>src/sqlfluff/core/parser/segments/raw.py<gh_stars>1000+
"""Raw segment definitions.
This is designed to be the root segment, without
any children, and the output of the lexer.
"""
from typing import Optional, Tuple
from sqlfluff.core.parser.segments.base import BaseSegment
fr... | 3,413 |
1,056 | package test;
public class Test {
public void op() {
}
}
| 26 |
852 | <gh_stars>100-1000
import FWCore.ParameterSet.Config as cms
def custom_geometry_decentralized_V11(process, links='signaldriven',implementation=1):
if links=='signaldriven':
links_mapping = 'L1Trigger/L1THGCal/data/links_mapping_V11_decentralized_signaldriven_0.txt'
elif links=='pudriven':
link... | 1,120 |
2,813 | <reponame>fernandes-natanael/jabref
package org.jabref.gui.integrity;
import java.util.List;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import org.jabref.gui.AbstractViewModel;
import org.jabref.logic.integrity.IntegrityMessage;
public class IntegrityCheckDialogViewModel exte... | 215 |
348 | <filename>docs/data/t2/065/65105.json<gh_stars>100-1000
{"nom":"Bourg-de-Bigorre","dpt":"Hautes-Pyrénées","inscrits":158,"abs":39,"votants":119,"blancs":15,"nuls":5,"exp":99,"res":[{"panneau":"1","voix":79},{"panneau":"2","voix":20}]} | 105 |
6,717 | <reponame>crossmob/WinObjC<filename>include/UIKit/UITableViewDataSource.h
//******************************************************************************
//
// Copyright (c) 2016 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS",... | 652 |
687 | <reponame>mbattista/stream-m<gh_stars>100-1000
/*
* Copyright 2018 <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, including without limitation the
* rights t... | 1,008 |
987 | import pytest
from asyncio import Future
from unittest import mock
import tornado.testing
import tornado.web
from tornado.httpclient import HTTPResponse
from tornado.escape import json_decode
from mopidy_iris import handlers
from mopidy_iris import core
from mopidy_iris.mem import iris
def async_return_helper(resul... | 1,389 |
1,288 | <reponame>JPeMu/shaka-packager<gh_stars>1000+
// Copyright 2014 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 "packager/media/formats/webm/webm_cluster_parser.h"
#include <algorithm>
#include <vector>
#inclu... | 9,232 |
1,457 | <filename>flash/core/optimizers/schedulers.py
import inspect
from typing import Callable, List
from torch.optim import lr_scheduler
from torch.optim.lr_scheduler import (
_LRScheduler,
CosineAnnealingLR,
CosineAnnealingWarmRestarts,
CyclicLR,
MultiStepLR,
ReduceLROnPlateau,
StepLR,
)
from ... | 661 |
488 | <filename>tests/CompileTests/ElsaTestCases/t0149.cc
// t0149.cc
// operator%
struct A {
operator int& ();
};
struct Av {
operator int volatile & ();
};
struct B {
operator float& ();
};
struct Bad {
operator char (); // RHS instantiation: int
operator unsigned char (); // RHS instantiation: ... | 205 |
386 | <gh_stars>100-1000
/* Copyright 2018-2018 University Corporation for Atmospheric
Research/Unidata. */
/**
* @file
* @internal Includes prototypes for libzarr dispatch functions.
*
* @author <NAME>, <NAME>
*/
#ifndef ZDISPATCH_H
#define ZDISPATCH_H
#include "zincludes.h"
#if defined(__cplusplus)
extern "C" {
... | 2,675 |
5,169 | <filename>Specs/4/1/c/viper-base/2.1.1/viper-base.podspec.json
{
"name": "viper-base",
"module_name": "VIPERBase",
"version": "2.1.1",
"summary": "Implementation of VIPER architecture for using in iOS platform",
"homepage": "https://github.com/rafaelrsilva/viper-base-ios.git",
"license": "MIT",
"authors":... | 340 |
2,727 | <gh_stars>1000+
/*
* Copyright 2016 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 req... | 7,039 |
10,225 | package io.quarkus.spring.web.deployment;
import java.lang.annotation.Annotation;
import java.lang.reflect.Modifier;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax... | 4,934 |
1,720 | #pragma once
#include <vector>
#include <unordered_map>
#include "Stream.h"
class CGameTestSheet
{
public:
enum ENVIRONMENT_ACTION_TYPE
{
ENVIRONMENT_ACTION_NONE,
ENVIRONMENT_ACTION_CREATE_DIRECTORY,
ENVIRONMENT_ACTION_CREATE_FILE,
};
struct ENVIRONMENT_ACTION
{
ENVIRONMENT_ACTION_TYPE type = ENVIRONMEN... | 419 |
1,538 | // Lean compiler output
// Module: Lean.Elab.Exception
// Imports: Init Lean.InternalExceptionId Lean.Meta.Basic
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GC... | 13,921 |
318 | <gh_stars>100-1000
from flask import jsonify, request
from flask_login import current_user
from app.models import *
from app.util.case_change.core import HarParser
from . import api, login_required
from ..util.http_run import RunCase
from ..util.utils import *
@api.route('/apiMsg/add', methods=['POST'])
@login_requir... | 5,194 |
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 ... | 9,413 |
328 | <reponame>vanvught/rpidmx512
#if !defined(ORANGE_PI)
/**
* @file slushengine.cpp
*
*/
/*
* Based on https://github.com/Roboteurs/slushengine/tree/master/Slush
*/
/* Copyright (C) 2017-2020 by <NAME> mailto:<EMAIL>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softwar... | 1,758 |
3,262 | <filename>angel-ps/core/src/main/java/com/tencent/angel/ps/server/data/request/UpdateOp.java
/*
* 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.... | 439 |
507 | package top.lrshuai.security.config.security;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import java.util.Collection;
import java.util.Set;
@Dat... | 817 |
511 | /*
* Copyright 2011-present <NAME>
*
* 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 i... | 676 |
648 | {"resourceType":"DataElement","id":"Claim.use","meta":{"lastUpdated":"2015-10-24T07:41:03.495+11:00"},"url":"http://hl7.org/fhir/DataElement/Claim.use","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"path":"Claim.use","short":"complete | proposed | exploratory | other","definition":"Com... | 180 |
335 | <reponame>Safal08/Hacktoberfest-1<filename>E/Eldest_adjective.json
{
"word": "Eldest",
"definitions": [
"(of one out of a group of related or otherwise associated people) of the greatest age; oldest."
],
"parts-of-speech": "Adjective"
} | 105 |
460 | /*
* 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... | 4,091 |
5,422 | #include <catch2/catch.hpp>
#include "types.hpp"
TEST_CASE("operation_type json") {
for (uint8_t i = static_cast<uint8_t>(krbn::operation_type::none);
i < static_cast<uint8_t>(krbn::operation_type::end_);
++i) {
auto t = krbn::operation_type(i);
nlohmann::json json = t;
REQUIRE(json.get<k... | 161 |
4,083 | <gh_stars>1000+
import copy
import datetime
import itertools
import multiprocessing as mp
import random
import string
import threading
import time
from collections import defaultdict
import cv2
import numpy as np
from scipy.spatial import distance as dist
from frigate.config import DetectConfig
from frigate.util impo... | 2,608 |
815 | /*=========================================================================
Program: ParaView
Module: vtkSpyPlotFileSeriesReader.cxx
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ... | 538 |
420 | //
// NERConstraint+NERChainable.h
// NerdyUI
//
// Created by nerdycat on 2016/10/10.
// Copyright © 2016 nerdycat. All rights reserved.
//
#import "NERConstraintMaker.h"
#import "NERDefs.h"
/**
* Making Constraints using a Masonry like syntax.
* Usages:
Constraint(view).width.height.equal.constants(100, 2... | 2,868 |
975 | <filename>shieldCore/src/main/java/com/dianping/shield/sectionrecycler/layoutmanager/SmoothScrollEventHelper.java
package com.dianping.shield.sectionrecycler.layoutmanager;
import android.support.v7.widget.RecyclerView;
import com.dianping.agentsdk.sectionrecycler.layoutmanager.OnSmoothScrollListener;
import java.ut... | 1,236 |
338 | package com.camnter.newlife.utils.volley;
import com.android.volley.NetworkResponse;
import com.android.volley.ParseError;
import com.android.volley.Request;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.HttpHeaderParser;
import com.google.gson.Gson;
impor... | 900 |
852 | <reponame>ckamtsikis/cmssw
#ifndef BasicMultiTrajectoryState_H
#define BasicMultiTrajectoryState_H
#include "TrackingTools/TrajectoryState/interface/BasicTrajectoryState.h"
#include "TrackingTools/TrajectoryState/interface/FreeTrajectoryState.h"
#include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurfac... | 679 |
3,172 | # Copyright (c) 2019 PaddlePaddle 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 app... | 1,800 |
582 | /*******************************************************************************
* Copyright (c) 2000, 2010 IBM Corporation and others.
* 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, an... | 839 |
1,389 | <reponame>zbmain/PGL
# Copyright (c) 2019 PaddlePaddle 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
#
# Unle... | 971 |
323 | // 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... | 355 |
6,245 | <gh_stars>1000+
{
"name": "react-final-form-parse-and-format",
"version": "1.0.0",
"description": "Demonstrates how to use parse and format props to control how values are shown in the input and saved into the form state.",
"keywords": [
"parse",
"react",
"react-final-form",
"format",
"final... | 223 |
1,006 | /****************************************************************************
* boards/arm/samd5e5/metro-m4/src/sam_usbhost.c
*
* 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 regardi... | 1,891 |
585 | <filename>src/compiler/ast/quantize.cc
/*!
* Copyright (c) 2017-2021 by Contributors
* \file quantize.cc
* \brief Quantize thresholds in condition nodes
*/
#include <treelite/math.h>
#include <treelite/logging.h>
#include <set>
#include <cmath>
#include "./builder.h"
namespace treelite {
namespace compiler {
temp... | 1,385 |
1,602 | <gh_stars>1000+
#include <zmq.h>
int main (void)
{
int major, minor, patch;
zmq_version (&major, &minor, &patch);
printf ("Current 0MQ version is %d.%d.%d\n", major, minor, patch);
return 0;
}
| 93 |
304 | #pragma once
#include <string>
#include <vector>
class QString;
namespace OsShell
{
QString shellExecutable();
// Pos must be global
bool openShellContextMenuForObjects(const std::vector<std::wstring>& objects, int xPos, int yPos, void * parentWindow);
bool copyObjectsToClipboard(const std::vecto... | 372 |
3,573 | from pathlib import Path
from typing import List
from pipx.constants import ExitCode
from pipx.util import PipxError
from pipx.venv import Venv
def run_pip(
package: str, venv_dir: Path, pip_args: List[str], verbose: bool
) -> ExitCode:
"""Returns pipx exit code."""
venv = Venv(venv_dir, verbose=verbose)... | 226 |
511 | <filename>external/include/libcxx/support/win32/locale_mgmt_win32.h
/****************************************************************************
*
* Copyright 2018 Samsung Electronics All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in com... | 740 |
1,444 | <filename>Mage.Sets/src/mage/cards/g/GrizzledLeotau.java
package mage.cards.g;
import java.util.UUID;
import mage.MageInt;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
/**
*
* @author North
*/
public final class GrizzledLeotau extends Ca... | 320 |
366 | <reponame>BredaUniversityGames/LearningDirectX12
#include "DX12LibPCH.h"
#include <dx12lib/PipelineStateObject.h>
#include <dx12lib/Device.h>
using namespace dx12lib;
PipelineStateObject::PipelineStateObject(Device& device, const D3D12_PIPELINE_STATE_STREAM_DESC& desc)
: m_Device(device)
{
auto d3d12Device ... | 186 |
1,181 |
package com.neo.controller;
import com.neo.config.BaseResult;
import com.neo.model.Message;
import com.neo.repository.MessageRepository;
import io.swagger.annotations.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@Api(value... | 1,012 |
1,562 | <gh_stars>1000+
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | 698 |
4,283 | /*
* Copyright 2021 Hazelcast Inc.
*
* Licensed under the Hazelcast Community License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://hazelcast.com/hazelcast-community-license
*
* Unless required by applicable law or agree... | 4,307 |
1,668 | <reponame>DoNnMyTh/ralph
# -*- coding: utf-8 -*-
from ddt import data, ddt, unpack
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import FieldDoesNotExist
from django.test import TestCase
from ralph.admin.helpers import (
generate_html_link,
get_content_type_for_model,
... | 903 |
22,688 | <reponame>jzjonah/apollo<filename>modules/perception/fusion/common/camera_util.cc
/******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ... | 3,383 |
1,473 | <reponame>PyCN/brainstorm
#!/usr/bin/env python
# coding=utf-8
from __future__ import division, print_function, unicode_literals
import pytest
from brainstorm.structure.construction import (ConstructionWrapper,
NetworkValidationError)
@pytest.fixture
def layers():
... | 2,126 |
521 | <reponame>Fimbure/icebox-1<gh_stars>100-1000
/** @file
* IPRT - Crypto - Time-Stamp Protocol (RFC-3161).
*/
/*
* Copyright (C) 2006-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 redistri... | 2,078 |
1,283 | package com.pengrad.telegrambot.model;
import java.io.Serializable;
import java.util.Objects;
/**
* stas
* 8/5/15.
*/
public class Audio implements Serializable {
private final static long serialVersionUID = 0L;
private String file_id;
private String file_unique_id;
private Integer duration;
p... | 1,116 |
593 | <filename>Pods/RMActionController/RMActionController/Grouping Actions/RMGroupedAction.h
//
// RMGroupedAction.h
// RMActionController-Demo
//
// Created by <NAME> on 19.11.16.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import "RMAction.h"
/**
* A RMGroupedAction instance represents a number of actions... | 356 |
338 | <reponame>XmobiTea-Family/ezyfox-server<filename>ezyfox-server-nio/src/test/java/com/tvd12/ezyfoxserver/nio/testing/Websock.java
package com.tvd12.ezyfoxserver.nio.testing;
import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.handler.ContextHandler;
import or... | 738 |
3,301 | <reponame>starburst-project/Alink
package com.alibaba.alink.common.io.plugin;
public enum OsType {
LINUX,
MACOSX,
WINDOWS
}
| 52 |
3,372 | /*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | 7,673 |
543 | /* NiuTrans.Tensor - an open-source tensor library
* Copyright (C) 2020, Natural Language Processing Lab, Northeastern University.
* 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 o... | 491 |
563 | package com.gentics.mesh.example;
import com.gentics.mesh.core.rest.admin.localconfig.LocalConfigModel;
public class LocalConfigExamples {
public LocalConfigModel createExample() {
return new LocalConfigModel().setReadOnly(false);
}
}
| 74 |
815 | /*
*
* Template Numerical Toolkit (TNT)
*
* Mathematical and Computational Sciences Division
* National Institute of Technology,
* Gaithersburg, MD USA
*
*
* This software was developed at the National Institute of Standards and
* Technology (NIST) by employees of the Federal Government in the course
* of their officia... | 3,703 |
394 | <reponame>Mu-L/UVAtlas
//-------------------------------------------------------------------------------------
// UVAtlas - graphcut.cpp
//
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//
// http://go.microsoft.com/fwlink/?LinkID=512686
//--------------------------------------------... | 574 |
2,829 | /* Copyright 2020 Alibaba Group Holding Limited. 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 o... | 11,694 |
6,717 | <reponame>crossmob/WinObjC
//******************************************************************************
//
// Copyright (c) 2016 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IM... | 648 |
5,169 | <reponame>Gantios/Specs
{
"name": "QiSlider",
"version": "0.0.4",
"summary": "This is the summary.",
"description": "This is the description.",
"homepage": "https://github.com/QiShare/QiSlider",
"license": "MIT",
"authors": {
"liusiqi": "<EMAIL>"
},
"platforms": {
"ios": "8.0"
},
"source":... | 232 |
769 | /*===- ir.c - Simple test of C APIs ---------------------------------------===*\
|* *|
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
|* Exceptions. ... | 1,801 |
1,645 | <reponame>smsahu/seldon-server
/*
* Seldon -- open source prediction engine
* =======================================
*
* Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/)
*
* ********************************************************************************************
*
* Licen... | 2,707 |
780 | <filename>src/main/java/com/codeborne/selenide/commands/GetPseudoValue.java
package com.codeborne.selenide.commands;
import com.codeborne.selenide.Command;
import com.codeborne.selenide.SelenideElement;
import com.codeborne.selenide.impl.WebElementSource;
import javax.annotation.CheckReturnValue;
import javax.annotat... | 394 |
6,433 | <reponame>asiekierka/gb-studio
#include <stdio.h>
void puts(const char *s) NONBANKED
{
while (*s)
putchar(*s++);
putchar('\n');
}
| 69 |
791 | <gh_stars>100-1000
#define LDSO_ARCH "x32"
/* FIXME: x32 is very strange in its use of 64-bit relocation types in
* a 32-bit environment. As long as the memory at reloc_addr is
* zero-filled prior to relocations, just treating 64-bit relocations
* as operating on 32-bit slots should be fine, but this should be
* c... | 569 |
348 | {"nom":"<NAME>","circ":"5ème circonscription","dpt":"Ain","inscrits":521,"abs":280,"votants":241,"blancs":12,"nuls":3,"exp":226,"res":[{"nuance":"LR","nom":"<NAME>","voix":130},{"nuance":"REM","nom":"<NAME>","voix":96}]} | 89 |
403 | package com.codedisaster.steamworks;
@SuppressWarnings("unused")
class SteamNetworkingCallbackAdapter extends SteamCallbackAdapter<SteamNetworkingCallback> {
SteamNetworkingCallbackAdapter(SteamNetworkingCallback callback) {
super(callback);
}
void onP2PSessionConnectFail(long steamIDRemote, int sessionError) {... | 187 |
713 | <reponame>alionkun/LightCTR_commented<filename>LightCTR/common/thread_pool.h
//
// thread_pool.h
// LightCTR
//
// Created by SongKuangshi on 2017/9/23.
// Copyright © 2017年 SongKuangshi. All rights reserved.
//
#ifndef thread_pool_h
#define thread_pool_h
#include <vector>
#include <queue>
#include <thread>
#incl... | 1,962 |
852 | from __future__ import print_function
import FWCore.ParameterSet.Config as cms
import os, sys, imp, re
import FWCore.ParameterSet.VarParsing as VarParsing
import subprocess
import copy
from PhysicsTools.PatAlgos.tools.helpers import cloneProcessingSnippet
#sys.path(".")
##############################################... | 25,032 |
2,068 | <filename>lib/src/main/java/com/app/annotation/apt/ApiFactory.java
package com.app.annotation.apt;
/**
* Created by baixiaokang on 16/12/28.
*/
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retentio... | 138 |
442 | <reponame>BestEggplant/ObEngine
#pragma once
namespace sol
{
class state_view;
};
namespace obe::Component::Bindings
{
void LoadClassComponentBase(sol::state_view state);
}; | 75 |
742 | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, <NAME>, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ... | 1,220 |
405 | #ifndef _MNIST_H_
#define _MNIST_H_
#include <string>
#include <fstream>
#include <array>
#include <vector>
#include <algorithm>
#include <random>
#include <iostream>
#include <assert.h>
#include "blob.h"
namespace cudl
{
#define MNIST_CLASS 10
class MNIST
{
public:
MNIST() : dataset_dir_("./") {}
MNIS... | 945 |
335 | {
"word": "Technologically",
"definitions": [
"In a way that relates to or involves technology."
],
"parts-of-speech": "Adverb"
} | 62 |
1,083 | //===--- PILGen.h - Implements Lowering of ASTs -> PIL ----------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 6,802 |
688 | <reponame>zaferbozkurt/electrode-native
/*
* Copyright 2017 WalmartLabs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 453 |
32,544 | <filename>testing-modules/testing-libraries/src/test/java/com/baeldung/cucumber/books/BookStoreIntegrationTest.java
package com.baeldung.cucumber.books;
import org.junit.runner.RunWith;
import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
@RunWith(Cucumber.class)
@CucumberOptions(features = "... | 144 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Narbonne","circ":"2ème circonscription","dpt":"Aude","inscrits":38904,"abs":21284,"votants":17620,"blancs":357,"nuls":140,"exp":17123,"res":[{"nuance":"REM","nom":"<NAME>","voix":4884},{"nuance":"FN","nom":"<NAME>","voix":2901},{"nuance":"SOC","nom":"Mme <NAME>","voix":2... | 382 |
945 | <filename>Modules/ThirdParty/VNL/src/vxl/v3p/netlib/datapac/camsun.h
/*: Computes the float cumulative distribution function value for the chi-squared distribution */
void v3p_netlib_chscdf_(
v3p_netlib_real v3p_netlib_const *x, /*!< (IN) value where the cumulative distribution must be evaluated */
v3p_netlib_... | 335 |
455 | <reponame>mattt21/zcoin
/* Copyright (c) 2001 <NAME>.
* Copyright (c) 2001-2004, <NAME>.
* Copyright (c) 2004-2006, <NAME>, <NAME>.
* Copyright (c) 2007-2019, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#ifndef TOR_COUNTRY_H
#define TOR_COUNTRY_H
#include "lib/cc/torint.h"
/** A signed int... | 153 |
545 | //
// Created by <NAME> on 2020/4/1.
//
#include "mm/fmm/fmm_app_config.hpp"
#include "util/debug.hpp"
#include "util/util.hpp"
using namespace FMM::CORE;
using namespace FMM::NETWORK;
using namespace FMM::CONFIG;
using namespace FMM::MM;
FMMAppConfig::FMMAppConfig(int argc, char **argv){
spdlog::set_pattern("[%^%... | 1,680 |
591 | <reponame>zhiqiang-hu/apollo-DuerOS
/**
* Copyright (C) 2011 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/LIC... | 649 |
308 | import os
import shutil
import pytest
import boto3
import random
import string
from moto import mock_s3
from aws_ir.libs import case
log_base = "{}/mock_s3".format(os.path.dirname(os.path.abspath(__file__)))
def setup_module():
if not os.path.exists(log_base):
os.mkdir(log_base)
def teardown_module()... | 2,581 |
879 | package org.zstack.core.externalservice;
public interface ExternalService {
String getName();
void start();
void stop();
void restart();
boolean isAlive();
}
| 62 |
691 | <reponame>kevcadieux/Sprout
/*=============================================================================
Copyright (c) 2011-2019 <NAME>
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost... | 1,455 |
679 | /**************************************************************
*
* 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 y... | 5,066 |
1,346 | <gh_stars>1000+
package com.ctrip.platform.dal.dao.datasource.cluster;
import com.ctrip.framework.dal.cluster.client.multihost.ClusterRouteStrategyConfig;
import com.ctrip.framework.dal.cluster.client.util.CaseInsensitiveProperties;
import com.ctrip.platform.dal.dao.datasource.cluster.strategy.RouteStrategy;
/**
* @... | 540 |
1,647 | <filename>pythran/pythonic/numpy/where.hpp
#ifndef PYTHONIC_NUMPY_WHERE_HPP
#define PYTHONIC_NUMPY_WHERE_HPP
#include "pythonic/include/numpy/where.hpp"
#include "pythonic/numpy/asarray.hpp"
#include "pythonic/numpy/nonzero.hpp"
#include "pythonic/numpy/copy.hpp"
PYTHONIC_NS_BEGIN
namespace numpy
{
namespace impl... | 1,092 |
10,694 | <filename>okgo/src/main/java/com/lzy/okgo/callback/BitmapCallback.java
/*
* Copyright 2016 jeasonlzy(廖子尧)
*
* 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... | 675 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.