max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
515 | package com.aries.library.fast.demo.module.main.sample;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import com.aries.library.fast.demo.R;
import com.aries.library.fast.demo.helper.ImagePickerHelper;
import com.aries.library... | 3,814 |
335 | /*
Copyright (C) 2016 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 648 |
675 | #pragma once
#include "engine/core/render/base/mesh/mesh.h"
#include "engine/core/render/base/shader/material.h"
#include "engine/core/render/base/proxy/render_proxy.h"
#include "../render/vertex_format.h"
#include "render.h"
namespace Echo
{
class UiImage : public UiRender
{
ECHO_CLASS(UiImage, UiRen... | 916 |
3,008 | /*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 560 |
375 | /*
* This file is part of the Wayback archival access software
* (http://archive-access.sourceforge.net/projects/wayback/).
*
* Licensed to the Internet Archive (IA) by one or more individual
* contributors.
*
* The IA licenses this file to You under the Apache License, Version 2.0
* (the "License"); y... | 1,362 |
575 | <reponame>mghgroup/Glide-Browser<filename>chrome/browser/diagnostics/diagnostics_metrics.cc
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/diagnostics/diagnostics_metrics.h"
#... | 2,445 |
360 | <reponame>opengauss-mirror/openGauss-graph<filename>src/include/db4ai/aifuncs.h
/*
* Copyright (c) 2020 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
*... | 825 |
2,392 | <reponame>MelvinG24/dust3d
// Copyright (c) 2006-2008 <NAME>. All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
//
// $URL: https://github.com/CGAL/cgal/blob/v5.1/Straight_skeleton_2/include/CGAL/compute_outer_frame_margin.h $
// $Id: compute_outer_frame_margin.h 0779373 2020-03-26T13:31:46+01:00 Séb... | 1,749 |
5,355 | package graphql.execution.nextgen.result;
import graphql.GraphQLError;
import graphql.Internal;
import graphql.execution.ExecutionStepInfo;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import static graphql.Assert.assertShouldNeverHappen;
@Internal
public class RootExecutionResul... | 536 |
12,887 | package com.zhisheng.state.queryablestate;
import lombok.AllArgsConstructor;
import lombok.Data;
/**
* Desc:
* Created by zhisheng on 2019-07-05
* blog:http://www.54tianzhisheng.cn/
* 微信公众号:zhisheng
*/
@Data
@AllArgsConstructor
public class ClimateLog {
private String country;
private String state;
priv... | 139 |
3,102 | // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
void f(); // expected-note{{possible target for call}}
void f(int); // expected-note{{possible target for call}}
decltype(f) a; // expected-error{{reference to overloaded function could not be resolved; did you mean to call it with no arguments?}} expected-erro... | 434 |
460 | <reponame>manovotn/thorntail
/**
* Copyright 2015-2017 Red Hat, Inc, and individual 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/LIC... | 1,781 |
3,649 | <gh_stars>1000+
import os
import pymysql
pymysql.install_as_MySQLdb()
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = ')eh35!-%(@%o0q6unr8#a$44l6+&y14(5m#y&ug)-h@#usy=x3'
DEBUG = True
ALLOWED_HOSTS = [
'*',
]
INSTALLED_APPS = [
'suit',
'django.contrib.admin',
'... | 1,404 |
348 | <reponame>dibo-software/diboot-v2
/*
* Copyright (c) 2015-2029, www.dibo.ltd (<EMAIL>).
* <p>
* 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
* <p>
* https://www.apache.org/licenses/LICE... | 700 |
402 | <gh_stars>100-1000
/*
* Copyright 2000-2021 Vaadin Ltd.
*
* 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 applicab... | 1,134 |
611 | --- zlib.h Thu Jul 9 20:06:56 1998
+++ zlib-1.1.3/zlib.h Tue Mar 22 13:41:04 2005
@@ -709,7 +709,6 @@
(0 in case of error).
*/
-ZEXTERN int ZEXPORTVA gzprintf OF((gzFile file, const char *format, ...));
/*
Converts, formats, and writes the args to the compressed file under
control of the format str... | 141 |
2,443 | <reponame>Raspberry-Pi-4-MCU/apple_homekit_example<filename>External/HTTP/util_http_reader.c<gh_stars>1000+
// Copyright (c) 2015-2019 The HomeKit ADK Contributors
//
// Licensed under the Apache License, Version 2.0 (the “License”);
// you may not use this file except in compliance with the License.
// See [CONTRIBUTO... | 14,092 |
2,133 | <gh_stars>1000+
/****************************************************************************
*
* (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
***********************... | 345 |
521 | <reponame>Fimbure/icebox-1
/* Created by build_access.py */
/* returns string of length 0 if invalid arg */
const char * dwarf_get_elf_relocname_sparc(unsigned long);
#ifndef R_SPARC_NONE
#define R_SPARC_NONE 0
#endif /* R_SPARC_NONE */
#ifndef R_SPARC_8
#define R_SPARC_8 1
#endif /* R_SPARC_8 */
#if... | 4,423 |
401 | <reponame>berez23/anchore
import json
import re
import os
import shutil
import time
import logging
import tarfile
from anchore import anchore_utils
import anchore_image_db_base
def load(config={}):
return(AnchoreImageDB_FS(config=config))
class AnchoreImageDB_FS(anchore_image_db_base.AnchoreImageDB):
_db_met... | 14,826 |
788 | /*
* 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,387 |
388 | ///////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2008-2012 <NAME> (Tonkikh) <<EMAIL>>
//
// See accompanyin... | 530 |
1,056 | <filename>ide/xml.schema.model/src/org/netbeans/modules/xml/schema/model/impl/GlobalComponentsIndexSupport.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... | 6,973 |
1,090 | <gh_stars>1000+
{
"recommendations": [
"bierner.lit-html",
"runem.lit-plugin",
"esbenp.prettier-vscode",
"eg2.vscode-npm-script",
"christian-kohler.npm-intellisense",
"msjsdiag.debugger-for-edge",
"dbaeumer.vscode-eslint",
"ms-vscode.vscode-typescript-next"
]
}
| 157 |
525 | /*
* Copyright 2020 Odnoklassniki Ltd, Mail.Ru Group
*
* 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 applica... | 877 |
2,053 | <filename>libsip/include/sip-transport.h
#ifndef _sip_transport_h_
#define _sip_transport_h_
#if defined(__cplusplus)
extern "C" {
#endif
// 19.1.1 SIP and SIPS URI Components (p152)
// The default port value is transport and scheme dependent. The
// default is 5060 for sip: using UDP, TCP, or SCTP. The default is
//... | 863 |
2,151 | #!/usr/bin/env python2.7
# Copyright 2015 gRPC 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 la... | 1,115 |
475 | <gh_stars>100-1000
from classes.contrib.mypy.typeops.instance_context import InstanceContext
from classes.contrib.mypy.validation.validate_instance import (
validate_instance_args,
validate_runtime,
validate_signature,
)
def check_type(instance_context: InstanceContext) -> bool:
"""Checks that instanc... | 184 |
6,989 | #pragma once
#include <util/datetime/base.h>
#include <util/system/defaults.h>
namespace NNeh {
//global options
struct TTcp2Options {
//connect timeout
static TDuration ConnectTimeout;
//input buffer size
static size_t InputBufferSize;
//asio client threads
s... | 465 |
603 | from typing import Type
from sympy.core.assumptions import StdFactKB
from sympy.core import S, Pow, sympify
from sympy.core.expr import AtomicExpr, Expr
from sympy.core.compatibility import default_sort_key
from sympy import sqrt, ImmutableMatrix as Matrix, Add
from sympy.vector.coordsysrect import CoordSys3D
from sym... | 8,417 |
387 | """
#########################################################################
# Copyright (c) <NAME> @ Hikvision Research Institute. All rights reserved.
# Filename : tp_det_r50.py
# Abstract : Model settings, base setting of in resnet50 backbone
# Current Version: 1.0.0
# Date : 2020... | 2,620 |
1,543 | #!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2018-2020 CNRS
# 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 limita... | 3,487 |
854 | <gh_stars>100-1000
__________________________________________________________________________________________________
sample 17 ms submission
class Solution {
public int numMatchingSubseq(String S, String[] words) {
int r = 0;
HashSet<String> ps = new HashSet();
HashSet<String> po = new Hash... | 1,517 |
435 | {
"copyright_text": null,
"description": "A pesar de los recientes avances en el campo del aprendizaje por refuerzo (Reinforcement Learning), generar f\u00e1cilmente datasets de ejemplos de buena calidad sigue siendo un aut\u00e9ntico infierno. Por suerte, si nos permitimos hacer un poco de trampas y utilizar algor... | 1,218 |
9,395 | # Exercise 2.3-6 in book
# Standalone Python version 2.7 code
import os
import re
import math
import time
from random import randint
def insertion_sort(array):
for j, v in enumerate(array):
key = v
i = j - 1
while i > -1 and array[i] > key:
array[i+1] = array[i]
i = i - 1
array[i+1] = key
def inserti... | 742 |
5,169 | <gh_stars>1000+
{
"name": "EasyInject",
"version": "0.5.0",
"summary": "A lightweight composition and dependency injection framework for Swift.",
"description": "EasyInject is designed to be an easy to use, lightweight composition and dependency injection library. Instead of injecting instances for specific typ... | 349 |
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... | 2,664 |
1,799 | // 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... | 2,650 |
363 | <reponame>LarsP8/service-proxy<filename>core/src/main/java/com/predic8/membrane/core/DefaultConfig.java<gh_stars>100-1000
/* Copyright 2013 predic8 GmbH, www.predic8.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obt... | 1,868 |
318 | <filename>app/src/main/java/com/wapchief/jpushim/view/EmptyView.java
package com.wapchief.jpushim.view;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.RelativeLayout;
import com.wapchief.jpushim.R;
/**
* @author wapchief
* @date 2019/1/8
*/
publi... | 263 |
648 | <gh_stars>100-1000
{"resourceType":"DataElement","id":"MessageHeader.source.contact","meta":{"lastUpdated":"2017-04-19T07:44:43.294+10:00"},"url":"http://hl7.org/fhir/DataElement/MessageHeader.source.contact","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"id":"MessageHeader.source.cont... | 248 |
304 | """
======================
Plot Random Geometries
======================
Plotting of several geometric shapes is directly supported by the library.
"""
print(__doc__)
import numpy as np
import matplotlib.pyplot as plt
from pytransform3d.plot_utils import (
make_3d_axis, plot_box, plot_sphere, plot_cylinder, plot... | 823 |
3,600 | <filename>moco-runner/src/test/java/com/github/dreamhead/moco/parser/GlobalSettingParserTest.java
package com.github.dreamhead.moco.parser;
import com.github.dreamhead.moco.MocoException;
import com.github.dreamhead.moco.parser.model.GlobalSetting;
import com.google.common.collect.ImmutableList;
import com.google.comm... | 1,416 |
6,098 | <filename>h2o-core/src/main/java/water/udf/CFuncLoader.java
package water.udf;
/**
* Custom function loader interface.
*
* The custom function loader provide way of
* instantiating give function.
*/
abstract public class CFuncLoader {
/**
* Supported language.
* @return language of function this provide... | 297 |
301 | <gh_stars>100-1000
import numpy as np
from sklearn.utils.validation import check_random_state
from ..utils.distance import distance_riemann
from ..utils.base import powm, sqrtm
from .sampling import generate_random_spd_matrix, sample_gaussian_spd
def make_covariances(n_matrices, n_channels, rs, return_params=False):... | 2,371 |
443 | {
"name": "Miso",
"desc": "The Miso platform lets people share what they are watching on TV in a fun and easy way. Miso's REST API enables developers to access relevant information in real time about shows, movies, users, checkins and more from their consumer website or mobile application. The Miso APIv1 gives you... | 260 |
9,425 | <reponame>markgras/salt
"""
Common logic used by the docker state and execution module
This module contains logic to accommodate docker/salt CLI usage, as well as
input as formatted by states.
"""
import copy
import logging
import salt.utils.args
import salt.utils.data
import salt.utils.dockermod.translate
from sal... | 5,382 |
1,014 | <gh_stars>1000+
[
"Auto Parts",
"Banks - Regional",
"Beverages - Wineries & Distilleries",
"Drug Manufacturers - Specialty & Generic",
"Engineering & Construction",
"Information Technology Services",
"Internet Content & Information",
"Oil & Gas Integrated",
"Packaging & Cont... | 223 |
589 | package rocks.inspectit.ui.rcp.model.ci;
import java.util.List;
import org.eclipse.core.runtime.Assert;
import rocks.inspectit.shared.cs.ci.business.impl.ApplicationDefinition;
import rocks.inspectit.ui.rcp.model.Leaf;
import rocks.inspectit.ui.rcp.provider.IApplicationProvider;
import rocks.inspectit.ui.rcp.reposit... | 1,169 |
435 | {
"blurb": "Shorthand notation to increment and decrement numbers using special operators",
"authors": ["junedev"],
"contributors": []
}
| 43 |
2,360 | <reponame>LiamBindle/spack
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Libsigcpp(AutotoolsPackage):
"""Libsigc++ is a C++ library for ... | 655 |
358 | {
"commandDescription": "This command is a wrapper around PMD ( downloads PMD for the first time) with some predefined defaults, such as ruleset, output format, output file.",
"javaHomeFlagDescription": "The command will try to locate the javahome path to execute PMD automatically, set this flag to override it to a... | 549 |
515 | <filename>src/main/java/com/hivemq/client/internal/mqtt/codec/encoder/mqtt5/Mqtt5AuthEncoder.java
/*
* Copyright 2018-present HiveMQ and the HiveMQ Community
*
* 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 cop... | 1,344 |
343 | <reponame>nattangwiwat/Mayan-EDMS-recitation
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('common', '0003_auto_20150614_0723'),
]
operations = [
migrations.DeleteModel(
name='AnonymousUserSingleton',
),
]
| 132 |
852 | #ifndef AnalyticalTrajectoryExtrapolatorToLine_h_
#define AnalyticalTrajectoryExtrapolatorToLine_h_
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
#include "DataFormats/GeometryVector/interface/GlobalVector.h"
#include "DataFormats/GeometryCommonDetAlgo/interface/DeepCopyPointerByClone.h"
#include "Trac... | 842 |
826 | <reponame>giautm/weserv-images
#pragma once
#include <cstdint>
namespace weserv {
namespace api {
namespace enums {
enum class Output : uintptr_t {
Origin = 1U << 0, // Default
Jpeg = 1U << 1,
Png = 1U << 2,
Webp = 1U << 3,
Avif = 1U << 4,
Tiff = 1U << 5,
Gif = 1U << 6,
Json = 1U << ... | 604 |
1,844 | <reponame>gomez-javier-github/killbill
/*
* Copyright 2010-2013 Ning, Inc.
* Copyright 2014-2018 Groupon, Inc
* Copyright 2014-2018 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance wit... | 942 |
3,152 | {
"title": {
"zh": "中文分类",
"en": "Category"
},
"demos": [
{
"filename": "histogram.ts",
"title": {
"zh": "直方图",
"en": "Histogram"
},
"screenshot": "https://gw.alipayobjects.com/mdn/rms_2274c3/afts/img/A*EHpuTqn-M2cAAAAAAAAAAABkARQnAQ"
},
{
"filenam... | 482 |
8,772 | package org.apereo.cas.services.replication;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.services.ServiceRegistry;
import org.apereo.cas.util.cache.DistributedCacheObject;
import java.util.List;
import java.util.function.Predicate;
/**
* This is {@link RegisteredServiceReplicationStrateg... | 1,075 |
2,206 | <filename>common-parent/codegen/src/main/java/com/speedment/common/codegen/model/trait/HasAnnotationUsage.java
/*
*
* 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. ... | 1,081 |
575 | <reponame>zealoussnow/chromium
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_COMMON_THREAD_POOL_UTIL_H_
#define CONTENT_COMMON_THREAD_POOL_UTIL_H_
#include "content/common/content_exp... | 190 |
372 | <gh_stars>100-1000
package org.boon.bugs;
import org.boon.json.*;
import org.junit.Test;
import java.util.HashMap;
import static junit.framework.Assert.assertEquals;
/**
* Created by rick on 12/14/15.
*/
public class BoonBug344 {
@Test
public void test() {
ObjectMapper mapper = JsonFa... | 506 |
2,326 | //
// Copyright RIME Developers
// Distributed under the BSD License
//
// 2011-04-07 <NAME> <<EMAIL>>
//
#include <gtest/gtest.h>
#include <rime/common.h>
#include <rime/component.h>
using namespace rime;
class Greeting : public Class<Greeting, const string&> {
public:
virtual string Say() = 0;
virtual ~Greetin... | 543 |
511 | <reponame>ziyik/TizenRT-1<gh_stars>100-1000
/******************************************************************
*
* Copyright 2019 Samsung Electronics 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 m... | 3,106 |
1,428 | /*
* WorldEdit, a Minecraft world manipulation toolkit
* Copyright (C) sk89q <http://www.sk89q.com>
* Copyright (C) WorldEdit team and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software F... | 642 |
2,542 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Manage... | 474 |
452 | <filename>dashboard-service-api/src/main/java/pl/altkom/asc/lab/micronaut/poc/dashboard/service/api/v1/queries/getagentssalesquery/GetAgentsSalesQueryResult.java
package pl.altkom.asc.lab.micronaut.poc.dashboard.service.api.v1.queries.getagentssalesquery;
import pl.altkom.asc.lab.micronaut.poc.dashboard.service.api.v1... | 300 |
49,076 | <gh_stars>1000+
/*
* Copyright 2002-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/licenses/LICENSE-2.0
*
* Unle... | 2,735 |
1,790 | <gh_stars>1000+
/*
* Copyright (c) 2015, Cloudera, Inc. All Rights Reserved.
*
* Cloudera, Inc. licenses this file to you 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.o... | 1,031 |
974 | <gh_stars>100-1000
# -*- coding: utf-8 -*-
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('spirit_category', '0003_category_is_global'),
]
operations = [
migrations.AddField(
model_name='category',
name='color',
... | 243 |
884 | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
from typing import Optional
from cdm.enums import CdmObjectType
from cdm.objectmodel import CdmCorpusContext, CdmAttributeGroupDefinition
from cdm.utilities impor... | 729 |
865 | <gh_stars>100-1000
#include <iostream>
#include "Interpreter.h"
int main( int argc, char *argv[] )
{
std::string commands[] = {
"from time import time,ctime\n",
"print('Today is',ctime(time()))\n"
};
Interpreter::Initialize( );
Interpreter* interpreter = new Interpreter;
for ( int i... | 235 |
348 | <reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000
{"nom":"Maltot","circ":"6ème circonscription","dpt":"Calvados","inscrits":693,"abs":321,"votants":372,"blancs":48,"nuls":9,"exp":315,"res":[{"nuance":"REM","nom":"<NAME>","voix":242},{"nuance":"FN","nom":"<NAME>","voix":73}]} | 116 |
1,374 | //
// HCDWebSite.h
// 21享元模式
//
// Created by yifan on 15/8/27.
// Copyright (c) 2015年 黄成都. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "HCDUser.h"
@protocol HCDWebSite <NSObject>
-(void)use:(HCDUser *)user;
@end
| 115 |
519 | <reponame>tianzhijiexian/DBinding
package kale.dbinding;
import java.util.Map;
import android.databinding.BaseObservable;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.util.ArrayMap;
/**
* @author Kale
* @date 2016/1/22
*/
public class ViewModelSt... | 765 |
2,151 | <reponame>zipated/src<filename>components/offline_pages/core/offline_page_archiver.cc<gh_stars>1000+
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/offline_pages/core/offline_page_... | 1,179 |
2,728 | <gh_stars>1000+
# -*- coding: utf-8 -*-
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See LICENSE.txt in the project root for
# license information.
# ---------------------------------------------... | 5,085 |
5,169 | <filename>Specs/a/c/9/UMCErrorCatch/1.0.0beta/UMCErrorCatch.podspec.json<gh_stars>1000+
{
"name": "UMCErrorCatch",
"version": "1.0.0beta",
"summary": "UMeng+ component SDK",
"description": "错误分析是可捕获Objective-C层和C++层的运行时异常调用,并可在后台查看错误信息。",
"homepage": "http://dev.umeng.com/sdk_integate/ios-integrate-guide/comm... | 451 |
446 | package com.plumdo.flow.rest.task.resource;
import org.flowable.engine.FormService;
import org.flowable.engine.HistoryService;
import org.flowable.engine.TaskService;
import org.flowable.task.api.Task;
import org.flowable.task.api.history.HistoricTaskInstance;
import org.springframework.beans.factory.annotation.Autowi... | 525 |
2,860 | <gh_stars>1000+
from azureml.core.model import Model
import numpy as np
def init():
pass
def run(data):
try:
# You can return any data type, as long as it is JSON serializable.
return 'AML Model inference result, the data is {0}'.format(data)
except Exception as e:
error =... | 142 |
435 | <reponame>allen91wu/data
{
"description": "In this episode of AI Adventures, Yufeng explores the fascinating world of pandas, an open-source python library that provides easy to use, high-performance data structures and data analysis tools.\n\nAssociated Medium post \"Wrangling data with Pandas\": https://goo.gl/txEN... | 305 |
530 | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
#pragma once
#include "consensus/aft/raft_types.h"
#include "consensus/aft/request.h"
#include "enclave/rpc_map.h"
#include "node/request_tracker.h"
#include "state.h"
namespace enclave
{
class ... | 1,281 |
1,564 | package org.modelmapper.functional.deepmapping;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.fail;
import org.modelmapper.AbstractTest;
import org.modelmapper.Asserts;
import org.modelmapper.ConfigurationException;
import org.modelmapper.convention.MatchingStrategies;
import ... | 3,486 |
4,081 | <reponame>dengweisysu/alluxio
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basi... | 2,300 |
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... | 6,525 |
2,236 | <filename>solution/data_structure/10828/Main.java
// Authored by : tony9402
// Co-authored by : -
// Link : http://boj.kr/011509a1ee6b4edf8c2b2b2630b9822f
import java.lang.*;
import java.util.*;
import java.io.*;
public class Main{
static public void main(String[] args) {
FastReader rd = new FastReader();
... | 1,419 |
461 | <filename>Filtering/C Code/IIRFirstOrder.h
/*
*
* IIR (Infinite Impulse Response) First-Order Filter
*
* Implements a discrete-time first-order IIR filter.
* Constant term alpha sets the amount of filtering. 0 = no filtering, 1 = max. filtering
*
* Written by: <NAME> @ <EMAIL>
* Last changed: 01 Dec 2019
*
*/
#ifndef... | 268 |
675 | #coding:utf8
'''
Created on 2011-10-3
@author: lan (www.9miao.com)
'''
import sys
from gtwisted.core import reactor
from gtwisted.utils import log
from gfirefly.utils import services
from gfirefly.netconnect.protoc import LiberateFactory
# reactor = reactor
service = services.CommandService("loginService")
... | 407 |
475 | <reponame>SuperV1234/ecst
// Copyright (c) 2015-2016 <NAME>
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
// http://vittorioromeo.info | <EMAIL>
#pragma once
#include <ecst/config/names/context/context.hpp>
#define ECST_IMPL_CONTEXT_BITSET_NAMESPACE \
... | 402 |
610 | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <X... | 458 |
6,989 | // test-touch.c //
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.txt for details.
//
//===-------------------... | 227 |
617 | // This file is part of TagSoup and is Copyright 2002-2008 by <NAME>.
//
// TagSoup is licensed under the Apache License,
// Version 2.0. You may obtain a copy of this license at
// http://www.apache.org/licenses/LICENSE-2.0 . You may also have
// additional legal rights not granted by this license.
//
// TagSoup is ... | 647 |
435 | {
"copyright_text": null,
"description": "Via has built the world's leading operating system for on-demand shared mobility. Think about a dynamic & smart fleet of \u201cmoniot sherut\u201d - routing and scheduling is computed in real time to maximize the potential of each and every seat across all the vehicles on t... | 635 |
2,568 | {
"CoinGate": {
"domain": "coingate.com",
"tfa": [
"totp"
],
"documentation": "https://support.coingate.com/en/65/-",
"recovery": "https://support.coingate.com/en/59/-",
"keywords": [
"cryptocurrencies"
]
}
} | 126 |
5,169 | {
"name": "Ajimi",
"version": "0.10.2",
"summary": "Ajimi means tasting. In Japanese, 味見. Ajimi is the feedback tool, which anyone can easily feedback to project team any time.",
"homepage": "https://github.com/nakajijapan/Ajimi",
"license": "MIT",
"authors": {
"nakajijapan": "<EMAIL>"
},
"source": ... | 298 |
56,632 | /*
* By downloading, copying, installing or using the software you agree to this license.
* If you do not agree to this license, do not download, install,
* copy or use the software.
*
*
* License Agreement
* For Open Source Computer Vision Library
* ... | 14,369 |
8,805 | #ifndef BOOST_ARCHIVE_SHARED_PTR_HELPER_HPP
#define BOOST_ARCHIVE_SHARED_PTR_HELPER_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// shared_ptr_helper.hpp: serialization for boost... | 3,357 |
3,513 | <reponame>StephyCat/nokogiri<gh_stars>1000+
package nokogiri.internals;
import static nokogiri.internals.NokogiriHelpers.getNokogiriClass;
import nokogiri.NokogiriService;
import nokogiri.XmlSyntaxError;
import org.jruby.Ruby;
import org.jruby.RubyArray;
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXExceptio... | 378 |
4,895 | # Based on https://github.com/probml/pmtk3/blob/master/demos/asiaDgm.m
# and https://github.com/pgmpy/pgmpy/blob/dev/examples/Inference%20in%20Bayesian%20Networks.ipynb
# Installation instructions
# https://github.com/pgmpy/pgmpy#installation
# Fetching the network
#!wget http://www.bnlearn.com/bnrepository/asia/asia... | 474 |
352 | #include "hello.h"
int main()
{
print_hello();
print_world();
return 0;
}
| 34 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.