max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
348 | <gh_stars>100-1000
{"nom":"Saint-Prix","circ":"4ème circonscription","dpt":"Val-d'Oise","inscrits":5784,"abs":3385,"votants":2399,"blancs":134,"nuls":34,"exp":2231,"res":[{"nuance":"REM","nom":"<NAME>","voix":1259},{"nuance":"LR","nom":"M. <NAME>","voix":972}]} | 110 |
6,224 | <gh_stars>1000+
/*
* Copyright (c) 2021 Synopsys
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_LIB_LIBC_ARCMWDT_INCLUDE_FCNTL_H_
#define ZEPHYR_LIB_LIBC_ARCMWDT_INCLUDE_FCNTL_H_
#include_next <fcntl.h>
#define F_DUPFD 0
#define F_GETFL 3
#define F_SETFL 4
/*
* MWDT fcntl.h doesn't provide O_NONBLOC... | 339 |
581 | /**
* @author <NAME> <<EMAIL>>
*/
#include "phasar/PhasarLLVM/DataFlowSolver/IfdsIde/IFDSFieldSensTaintAnalysis/FlowFunctions/StoreInstFlowFunction.h"
namespace psr {
std::set<ExtendedValue>
StoreInstFlowFunction::computeTargetsExt(ExtendedValue &Fact) {
const auto *const StoreInst = llvm::cast<llvm::StoreInst>(... | 2,491 |
1,305 | /*
* Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
/**
*/
package com.sun.corba.se.spi.servicecontext;
import org.omg.IOP.RMICustomMaxStreamFormat;
impo... | 743 |
352 | <filename>src/tiny_core/defer.cc
/*
*Author:GeneralSandman
*Code:https://github.com/GeneralSandman/TinyWeb
*E-mail:<EMAIL>
*Web:www.generalsandman.cn
*/
/*---XXX---
*
****************************************
*
*/
#include <tiny_core/defer.h>
#include <tiny_base/exception.h>
void defaultFun()
{
}
void defauleFunExce... | 1,236 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Sanxay","circ":"3ème circonscription","dpt":"Vienne","inscrits":459,"abs":239,"votants":220,"blancs":20,"nuls":6,"exp":194,"res":[{"nuance":"REM","nom":"<NAME>","voix":135},{"nuance":"FN","nom":"<NAME>","voix":59}]} | 107 |
348 | {"nom":"Lamotte-Brebière","circ":"4ème circonscription","dpt":"Somme","inscrits":193,"abs":107,"votants":86,"blancs":11,"nuls":2,"exp":73,"res":[{"nuance":"REM","nom":"<NAME>","voix":44},{"nuance":"FN","nom":"<NAME>","voix":29}]} | 93 |
6,036 | <reponame>dennyac/onnxruntime
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "intrin_gemv_ll_ir.h"
#include "core/providers/nuphar/compiler/x86/scheduler/tensorize/tensorize_utilities.h"
#include <tvm/buffer.h>
#include <tvm/codegen.h>
#include <tvm/ir.h>
nam... | 1,338 |
4,036 | <reponame>vadi2/codeql<gh_stars>1000+
def print_annotation(message, line, offset, length):
print("Message: " + message)
print("Line: " + line)
print("Offset: " + offset)
print("Length: " + length) | 81 |
449 | int trilinear_forward_cuda(THCudaTensor * lut, THCudaTensor * image, THCudaTensor * output,
int lut_dim, int shift, float binsize, int width, int height, int batch);
int trilinear_backward_cuda(THCudaTensor * image, THCudaTensor * image_grad, THCudaTensor * lut_grad,
... | 175 |
521 | #ifndef ELLE_CRYPTOGRAPHY_HASH_HH
# define ELLE_CRYPTOGRAPHY_HASH_HH
# include <elle/cryptography/fwd.hh>
# include <elle/cryptography/Oneway.hh>
# include <iosfwd>
namespace elle
{
namespace cryptography
{
/*----------.
| Functions |
`----------*/
/// Hash a plain text and return a digest messag... | 289 |
416 | <reponame>spring-operator/spring-roo
package org.springframework.roo.shell;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
/**
* Provides an implementation for {@link ShellContext}
*
* @author <NAME>
* @since 2.0
*/
public class ShellContextImpl implements ShellContext {
private ... | 721 |
852 | import FWCore.ParameterSet.Config as cms
XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource",
geomXMLFiles = cms.vstring('Geometry/CMSCommonData/data/materials.xml',
'Geometry/TrackerCommonData/data/trackermaterial.xml',
'Geometry/TrackerCommonData/data/tecmaterial.xml',
'... | 268 |
342 | <reponame>ShivamPytho/parsifal<filename>parsifal/settings/tests.py
# flake8: noqa
from .base import *
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
GOOGLE_RECAPTCHA_ENABLED = False
| 90 |
575 | <filename>weblayer/browser/java/org/chromium/weblayer_private/interfaces/BrowserFragmentArgs.java
// 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.
package org.chromium.weblayer_private.interfaces;
/** K... | 200 |
852 |
#include "FWCore/PluginManager/interface/ProblemTracker.h"
#include "FWCore/ServiceRegistry/test/stubs/DummyServiceE0.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ServiceRegistry/interface/ServicesManager.h"
#include "FWCore/ServiceRegistry/interface/ActivityRegistry.h"
#include "FWCore/... | 1,101 |
4,653 | <gh_stars>1000+
#include "opencv_modules.h"
#ifdef HAVE_IO
#include "ioConstants.h"
using namespace cv;
void IoConstants::Init(v8::Local<v8::Object> target) {
FF_SET_CV_CONSTANT(target, CAP_PROP_POS_MSEC);
FF_SET_CV_CONSTANT(target, CAP_PROP_POS_FRAMES);
FF_SET_CV_CONSTANT(target, CAP_PROP_POS_AVI_RATIO);
FF_SE... | 1,858 |
1,266 | <gh_stars>1000+
#!/usr/bin/env python3
class SlackBot():
def __init__(self, clientClass, token, channels):
self.client = clientClass(token=token)
self.channels = channels
def postMessage(self, channelIn, message):
channel = None
if channelIn and channelIn[0] == 'U':
... | 702 |
960 | <reponame>harri97/google-http-java-client
/*
* Copyright (c) 2012 Google 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 r... | 444 |
1,564 | <filename>core/src/main/java/org/modelmapper/internal/util/ArrayIterator.java<gh_stars>1000+
/*
* Copyright 2011 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... | 455 |
672 | <filename>library/src/main/java/com/bytedance/raphael/RaphaelReceiver.java
/*
* Copyright (C) 2021 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.apa... | 880 |
1,352 | <reponame>empiredan/pegasus
/*
* 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 ... | 612 |
4,036 | <reponame>vadi2/codeql
class Test {
void f(boolean x, boolean y, Boolean a, Boolean b) {
boolean w;
w = a == false;
w = x != true;
w = a ? false : b;
w = a ? true : false;
w = x ? y : true;
}
void g(int x, int y) {
boolean w;
w = !(x > y);
w = !(x != y);
}
public Boolean ge... | 313 |
669 | from abc import ABC, abstractmethod
class PoseInitializer(ABC):
@abstractmethod
def get_pose(self):
return NotImplemented
| 50 |
1,056 | <reponame>arusinha/incubator-netbeans
/*
* 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... | 439 |
5,169 | {
"name": "Addition",
"version": "1.5.0",
"summary": "iOS扩展类集",
"homepage": "https://github.com/CaiChenghan/Addition",
"license": "MIT",
"authors": {
"蔡成汉": "<EMAIL>"
},
"source": {
"git": "https://github.com/CaiChenghan/Addition.git",
"tag": "1.5.0"
},
"platforms": {
"ios": "8.0"
... | 953 |
4,013 | <reponame>antonblr/checkov<gh_stars>1000+
from checkov.arm.checks import *
| 29 |
414 | <gh_stars>100-1000
//
// RCDChatConfig.h
// SealTalk
//
// Created by hrx on 2019/7/9.
// Copyright © 2019 RongCloud. All rights reserved.
//
#import <RongIMLib/RongIMLib.h>
#import "RCDGroupInfo.h"
NS_ASSUME_NONNULL_BEGIN
@interface RCDChatConfig : RCConversation <NSCoding>
@property (nonatomic, assign) BOOL s... | 422 |
713 | <filename>documentation/src/main/asciidoc/topics/code_examples/QuickstartDefaultCache.java
// Add a entry
cache.put("key", "value");
// Validate the entry is now in the cache
assertEqual(1, cache.size());
assertTrue(cache.containsKey("key"));
// Remove the entry from the cache
Object v = cache.remove("key");
// Validat... | 119 |
713 | # Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
from collections import deque
class Solution(object):
def isCompleteTree(self, root):
"""
:type r... | 317 |
11,356 | <filename>thirdparty/libjson/_internal/TestSuite2/JSONDebug/JSON_FAIL.cpp
#include "JSON_FAIL.h"
#include "../../Source/JSONDebug.h"
#if defined JSON_DEBUG
#ifndef JSON_STDERROR
static json_string last;
#ifdef JSON_LIBRARY
static void callback(const json_char * p){ last = p; }
#else
static void callback(c... | 505 |
2,338 | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 1,856 |
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... | 6,030 |
1,899 | #include <stdio.h>
#include "graph.h"
namespace bgslibrary
{
namespace algorithms
{
namespace lbp_mrf
{
Graph::Graph(void(*err_function)(char *))
{
error_function = err_function;
node_block = new Block<node>(NODE_BLOCK_SIZE, error_function);
arc_block = new Block<arc>(N... | 910 |
2,649 | <filename>app/src/main/java/json/chao/com/wanandroid/contract/main/SearchListContract.java<gh_stars>1000+
package json.chao.com.wanandroid.contract.main;
import json.chao.com.wanandroid.base.presenter.AbstractPresenter;
import json.chao.com.wanandroid.base.view.AbstractView;
import json.chao.com.wanandroid.core.bean.... | 859 |
2,989 | package com.linkedin.databus.bootstrap.monitoring.server.mbean;
/*
*
* Copyright 2013 LinkedIn Corp. 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://w... | 858 |
316 | <filename>ArgusCore/src/test/java/com/salesforce/dva/argus/TestUtils.java
/*
* Copyright (c) 2016, Salesforce.com, 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. Redistribution... | 5,613 |
10,225 | <gh_stars>1000+
package io.quarkus.bootstrap.workspace;
import java.io.File;
import java.io.Serializable;
import java.util.Collections;
import java.util.Iterator;
import java.util.Map;
import java.util.Objects;
public class DefaultProcessedSources implements ProcessedSources, Serializable {
private final File sr... | 925 |
870 | <filename>test/src/main/java/org/apache/accumulo/test/rpc/SimpleThriftServiceHandler.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 l... | 606 |
618 | <reponame>keunhong/scanner<filename>scanner/video/intel/intel_video_decoder.h<gh_stars>100-1000
/* Copyright 2016 <NAME> University
*
* 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
*
* ... | 659 |
335 | {
"word": "Fence",
"definitions": [
"A barrier, railing, or other upright structure, typically of wood or wire, enclosing an area of ground to prevent or control access or escape.",
"A large upright obstacle in steeplechasing, showjumping, or cross-country.",
"A guard or guide on a plane... | 150 |
5,169 | <reponame>Gantios/Specs<gh_stars>1000+
{
"name": "HWIFileDownload",
"version": "3.5",
"license": {
"type": "zlib",
"file": "LICENCE.md"
},
"summary": "Simplified file download integration based on NSURLSession.",
"homepage": "https://github.com/Heikowi/HWIFileDownload",
"authors": "<NAME>",
"soc... | 326 |
1,724 | <reponame>HoutanSadafi/mongo-java-driver
/*
* Copyright 2008-present MongoDB, 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
*
... | 2,236 |
384 | <reponame>psmware-ltd/nautobot
from django import template
register = template.Library()
def _check_permission(user, instance, action):
return user.has_perm(
perm=f"{instance._meta.app_label}.{action}_{instance._meta.model_name}",
obj=instance,
)
@register.filter()
def can_view(user, instan... | 248 |
460 | /*
* Copyright 2009-2012 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | 1,944 |
707 | <gh_stars>100-1000
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
#import "InstagramEngine.h"
#import "InstagramKit.h"
#import "InstagramKitConstants.h"
#import "InstagramC... | 236 |
578 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 1,471 |
590 | package hype.interfaces;
public interface HRotatable {
float rotationRad();
float rotationXRad();
float rotationYRad();
float rotationZRad();
HRotatable rotationRad(float rad); //retained for backwards compatibility
HRotatable rotationXRad(float radx);
HRotatable rotationYRad(float rady);
HRotatable rotationZ... | 100 |
589 | <reponame>ClaudioWaldvogel/inspectIT<gh_stars>100-1000
package rocks.inspectit.ui.rcp.editor.table.input;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Date;
import java.util.EnumSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.eclip... | 5,599 |
1,350 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.cognitiveservices.vision.faceapi.models;
import com.fasterx... | 594 |
711 | package com.java110.common.listener.applicationKey;
import com.alibaba.fastjson.JSONObject;
import com.java110.common.dao.IApplicationKeyServiceDao;
import com.java110.entity.center.Business;
import com.java110.core.event.service.AbstractBusinessServiceDataFlowListener;
import com.java110.utils.constant.ResponseConsta... | 2,033 |
647 | #ifndef HANDLE_HTTP_GET_HELLO
#define HANDLE_HTTP_GET_HELLO
#ifndef SWIG
void handle_HTTP_GET_hello(struct mg_connection *nc, struct http_message *hm);
#endif
#endif | 68 |
650 | //
// SimpleAuthFoursquareWebLoginViewController.h
// SimpleAuth
//
// Created by <NAME> on 23/01/2014.
// Copyright (c) 2014 Byliner, Inc. All rights reserved.
//
#import "SimpleAuthWebViewController.h"
@interface SimpleAuthFoursquareWebLoginViewController : SimpleAuthWebViewController
@end
| 96 |
412 | namespace some_namespace
{
class X;
};
// This is allowed, as the class tag is already there.
class some_namespace::X
{
};
// Perhaps surprisingly, the same does not seem to be true for enum tags on g++,
// but Visual studio is happy to do this.
int main()
{
}
| 84 |
1,056 | <filename>ide/libs.git/test/unit/src/org/netbeans/libs/git/jgit/commands/UnignoreTest.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 ... | 5,651 |
515 | /*=========================================================================
Library: CTK
Copyright (c) Kitware Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.ap... | 957 |
1,738 | /*
* 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 "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 387 |
408 | #include <vector>
#include "caffe/filler.hpp"
#include "caffe/layer.hpp"
#include "caffe/vision_layers.hpp"
namespace caffe {
template <typename Dtype>
void DummyDataLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
vector<Blob<Dtype>*>* top) {
const int num_top = top->size();
const DummyDataPar... | 1,610 |
406 | <filename>mmdet/ops/__init__.py
from .nms import nms, soft_nms
from .roi_align import RoIAlign, roi_align
from .roi_pool import RoIPool, roi_pool
__all__ = ['nms', 'soft_nms', 'RoIAlign', 'roi_align', 'RoIPool', 'roi_pool']
| 99 |
404 | <reponame>draffensperger/go-c-cpp-examples
#ifndef ADD_HARMONIC_H
#define ADD_HARMONIC_H
double add_harmonic(double total_so_far, long i);
#endif
| 66 |
826 | <filename>eventuate-tram-sagas-reactive-orchestration-simple-dsl/src/main/java/io/eventuate/tram/sagas/reactive/simpledsl/SimpleReactiveSagaDsl.java<gh_stars>100-1000
package io.eventuate.tram.sagas.reactive.simpledsl;
public interface SimpleReactiveSagaDsl<Data> {
default ReactiveStepBuilder<Data> step() {
Simp... | 164 |
1,428 | ##!/usr/bin/env python
'''
<NAME>
'''
def main():
world = 'World!'
print(f'Hello, {world}')
if __name__ == '__main__':
main()
| 65 |
340 | <reponame>cxsper/saleor
from .models import Foo
| 18 |
322 |
//
// Warning: don't edit - generated by generate_ecu_code.pl processing ../dev/sme_i1.json: SME 07: Battery management electronics
// This generated code makes it easier to process CANBUS messages from the SME ecu in a BMW i3
//
case I3_PID_SME_ALTERUNG_INNENWIDERSTAND_TS: { // 0x... | 386,753 |
678 | <reponame>bzxy/cydia<filename>iOSOpenDev/frameworks/iTunesStoreUI.framework/Headers/SUScriptNumberFormatter.h
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/iTunesStoreUI.framework/iTunesStoreUI
*/
#import <iTunesStoreUI/SUScriptObject.h>
@class NSString, NSNumb... | 479 |
441 | # -*- coding: utf-8 -*-
"""
Created on Wed Dec 28 23:20:29 2016
@author: tomhope
"""
import numpy as np
import tensorflow as tf
elems = np.array(["T", "e", "n", "s", "o", "r", " ", "F", "l", "o", "w"])
scan_sum = tf.scan(lambda a, x: a + x, elems)
sess = tf.InteractiveSession()
sess.run(scan_sum)
| 138 |
45,293 | // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package org.jetbrains.kotlin.js.backend.ast;
import org.jetbrains.annotations.Nullable;
import java.u... | 307 |
563 | package com.gentics.mesh.test.context.helper;
import static org.assertj.core.api.Assertions.fail;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import io.vertx.core.Vertx;
import io.vertx.core.eventbus.MessageConsumer;
/**
* AutoClosable implementation, which will register an ev... | 473 |
746 | // Copyright (c) OpenMMLab. All rights reserved.
#include "detector.h"
#include <numeric>
#include "apis/c/common_internal.h"
#include "apis/c/executor_internal.h"
#include "apis/c/model.h"
#include "apis/c/pipeline.h"
#include "archive/value_archive.h"
#include "codebase/mmdet/mmdet.h"
#include "core/device.h"
#inc... | 2,756 |
310 | /*
This file is part of ``kdtree'', a library for working with kd-trees.
Copyright (C) 2007-2011 <NAME> <<EMAIL>>
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 ... | 2,956 |
1,405 | package com.lenovo.safecenter.broadcast;
import android.app.Service;
import android.content.Intent;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.os.IBinder;
import com.lenovo.safecenter.R;
import java.io.IOException;
public class AlarmService extends Service {
private MediaP... | 865 |
2,023 | <gh_stars>1000+
import os
import urllib2
import urllib
from urlparse import urlparse
from bs4 import BeautifulSoup
import easygui as eg
eg.msgbox("Search/Enter proper url"+'\n'+"Ex:naruto 100 or bleach 400"+'\n'+" www.mangareader.net/naruto/100",title="Manga Downloader", ok_button="ok")
q=eg.enterbox(msg='Search or E... | 1,221 |
2,094 | ////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Project: Embedded Learning Library (ELL)
// File: LinearPredictor.h (predictors)
// Authors: <NAME>
//
////////////////////////////////////////////////////////////////////////////////////////////////////
... | 2,848 |
435 | <filename>pycon-au-2018/videos/data-is-the-new-shiny-thing.json<gh_stars>100-1000
{
"copyright_text": "CC BY 3.0 AU",
"description": "Data Science is the tag of choice for grant applications, project proposals,\nand media opportunities. It\u2019s the latest shiny buzz word toy. But it turns\nout that data science i... | 402 |
4,879 | #include "testing/testing.hpp"
#include "platform/country_file.hpp"
#include "platform/local_country_file.hpp"
#include "platform/local_country_file_utils.hpp"
#include "platform/mwm_version.hpp"
#include "platform/platform.hpp"
#include "platform/platform_tests_support/scoped_dir.hpp"
#include "platform/platform_test... | 4,095 |
16,500 | <reponame>cmejj/How-to-Make-a-Computer-Operating-System
#include <time.h>
#include "time_int.h"
tm_t* gmtime_r( const time_t* timep, tm_t* result ) {
if ( _gmtime( *timep, result ) < 0 ) {
return NULL;
}
return result;
}
| 119 |
886 | <filename>core/src/main/java/com/flowci/core/agent/service/AgentService.java
/*
* Copyright 2018 flow.ci
*
* 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/li... | 890 |
912 | '''
------------------------------------------------------------------------------
Copyright (c) 2015 Microsoft Corporation
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,... | 1,318 |
482 | package io.cattle.platform.lock.definition;
// Quite purposefully not public, create your own lock
class DefaultBlockingLockDefinition extends AbstractLockDefinition implements BlockingLockDefinition {
long wait;
public DefaultBlockingLockDefinition(String lockId, long wait) {
super(lockId);
t... | 134 |
72,551 | //===--- AccessSummaryDumper.cpp - Dump access summaries for functions -----===//
//
// 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/... | 559 |
348 | <filename>docs/data/leg-t1/085/08503018.json<gh_stars>100-1000
{"nom":"Beauvoir-sur-Mer","circ":"3ème circonscription","dpt":"Vendée","inscrits":3208,"abs":1578,"votants":1630,"blancs":25,"nuls":22,"exp":1583,"res":[{"nuance":"REM","nom":"<NAME>","voix":554},{"nuance":"DVD","nom":"M. <NAME>","voix":314},{"nuance":"FN",... | 312 |
648 | {"resourceType":"DataElement","id":"Immunization.wasNotGiven","meta":{"lastUpdated":"2015-10-24T07:41:03.495+11:00"},"url":"http://hl7.org/fhir/DataElement/Immunization.wasNotGiven","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"path":"Immunization.wasNotGiven","short":"Flag for whethe... | 169 |
346 | from __future__ import unicode_literals
import textx
from os.path import join, dirname
import textx.scoping.providers as scoping_providers
def test_issue108_obj_proc_multifile():
"""
see issue 108 for a detailed error report
"""
mm = textx.metamodel_from_str('''
Model:
imports*=Impo... | 421 |
573 | <gh_stars>100-1000
// Copyright 2015, VIXL authors
// 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 ... | 34,359 |
1,350 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.timeseriesinsights.models;
import com.azure.core.util.Context;
import com.azure.resourcemanager.timeseriesinsights.fluent.models... | 2,659 |
368 | /*
Plugin-SDK (Grand Theft Auto San Andreas) source file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#include "CMatrixLink.h"
PLUGIN_SOURCE_FILE
int ctor_addr(CMatrixLink) = ADDRESS_BY_VERSION(0x54F0C0, 0, 0, 0,... | 514 |
2,206 | /*
*
* Copyright (c) 2006-2020, Speedment, 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 requi... | 684 |
2,753 | /*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Authors: <NAME>
*
*/
#include <shogun/lib/config.h>
#ifdef HAVE_TFLOGGER
#include <shogun/io/TBOutputFormat.h>
#include <shogun/lib/observers/ObservedValueTemplated.h>
#include <shogun/lib/observers/ParameterObserverHistogram.h>
... | 549 |
1,178 | /*
* Copyright 2020 Makani Technologies 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 ... | 722 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Barret","circ":"2ème circonscription","dpt":"Charente","inscrits":790,"abs":424,"votants":366,"blancs":30,"nuls":13,"exp":323,"res":[{"nuance":"REM","nom":"<NAME>","voix":176},{"nuance":"LR","nom":"<NAME>","voix":147}]} | 107 |
678 | <filename>iOSOpenDev/frameworks/OpenCL.framework/ImageFormats/Headers/sint32_rgba.h<gh_stars>100-1000
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/OpenCL.framework/ImageFormats/sint32_rgba.dylib
*/
#import <OpenCL/sint32_rgba-Structs.h>
| 111 |
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
* ... | 571 |
1,564 | <reponame>kamilors/modelmapper
package org.modelmapper.bugs;
import static org.testng.Assert.assertEquals;
import java.lang.reflect.Type;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import org.modelmapper.AbstractTest;
import org.modelmapper.TypeToken;
import org.testng.annotations.Tes... | 315 |
317 | <gh_stars>100-1000
/*
$Id$
*/
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "typesf2c.h"
#include "get_word.h"
extern double tetercc();
extern double cpi_Splint();
extern void cpi_Spline();
#if defined(CRAY) || defined(CRAY_T3D)
#include <fortran.h>
#if !defined(__crayx1)
... | 6,338 |
319 | <reponame>Celebrate-future/openimaj
/**
* Copyright (c) 2011, The University of Southampton and the individual contributors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistr... | 1,998 |
324 | /*
* Copyright 2016-2018-2020 chronicle.software
*
* 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 ... | 2,596 |
312 | <reponame>FMX/alchemy<gh_stars>100-1000
/**
* JPA domain objects.
*/
package com.dfire.platform.alchemy.domain;
| 44 |
5,272 | //
// BSJTopicViewController.h
// PLMMPRJK
//
// Created by HuXuPeng on 2017/5/14.
// Copyright © 2017年 GoMePrjk. All rights reserved.
//
#import "LMJRefreshTableViewController.h"
#import "BSJ.h"
@interface BSJTopicViewController : LMJRefreshTableViewController
/** <#digest#> */
@property (assign, nonatomic) BSJ... | 156 |
9,717 | <filename>pkgs/os-specific/linux/kernel/hardened/update.py
#! /usr/bin/env nix-shell
#! nix-shell -i python -p "python38.withPackages (ps: [ps.PyGithub])" git gnupg
# This is automatically called by ../update.sh.
from __future__ import annotations
import json
import os
import re
import subprocess
import sys
from dat... | 4,010 |
66,985 | <reponame>techAi007/spring-boot<filename>spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/test/java/org/springframework/boot/maven/PropertiesMergingResourceTransformerTests.java<gh_stars>1000+
/*
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.... | 901 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.