max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
336
<filename>tools/rtl433/rtltest/devices/alecto.c<gh_stars>100-1000 /*** @file AlectoV1 Weather Sensor protocol. */ /** @fn int alectov1_callback(r_device *decoder, bitbuffer_t *bitbuffer) AlectoV1 Weather Sensor decoder. Documentation also at http://www.tfd.hu/tfdhu/files/wsprotocol/auriol_protocol_v20.pdf PPM with...
4,362
3,372
/* * Copyright 2011-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. * You may obtain a copy of the License at: * * http://aws.amazon.com/apache2.0 * * This fil...
759
5,169
{ "name": "EGOTableViewPullRefreshAndLoadMore", "version": "1.0", "authors": { "JackShi": "<EMAIL>" }, "homepage": "https://github.com/JackShi/EGOTableViewPullRefreshAndLoadMore", "summary": "Inspired by EGOTableViewPullRefresh, pull down to refresh, pull up to load more", "license": { "type": "MI...
302
304
<reponame>Jabbah/vrperfkit<gh_stars>100-1000 #include "d3d11_injector.h" #include "hooks.h" namespace vrperfkit { namespace { bool alreadyInsideHook = false; class HookGuard { public: HookGuard() { state = alreadyInsideHook; alreadyInsideHook = true; } ~HookGuard() { alreadyInsideHook = s...
1,864
432
/* * Copyright 2015 Open mHealth * * 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...
326
687
<filename>xls/noc/config_ng/network_topology_component.cc<gh_stars>100-1000 // Copyright 2021 The XLS 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....
655
559
<reponame>proteanblank/building_tool import bmesh from ..arch import ( fill_arch, create_arch, add_arch_depth, ) from ..array import ( spread_array, clamp_array_count, get_array_split_edges ) from ..fill import fill_face from ..frame import add_frame_depth from ..facemap import ( ...
2,694
698
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
1,006
536
import argparse import csv from decimal import Decimal import distutils.spawn import glob import json import logging import os import shutil from subprocess import call import sys import tempfile import numpy import pandas import pydicom from radiomics import featureextractor scriptlogger = logging.getLogger('radiom...
8,311
2,960
<reponame>zl3one6/leetcode<gh_stars>1000+ #include <bits/stdc++.h> using namespace std; /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullp...
545
348
<gh_stars>100-1000 {"nom":"Noirétable","circ":"6ème circonscription","dpt":"Loire","inscrits":1290,"abs":644,"votants":646,"blancs":19,"nuls":8,"exp":619,"res":[{"nuance":"REM","nom":"<NAME>","voix":224},{"nuance":"LR","nom":"<NAME>","voix":123},{"nuance":"FN","nom":"Mme <NAME>","voix":88},{"nuance":"ECO","nom":"<NAME>...
258
977
package io.leangen.graphql.metadata.messages; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class DelegatingMessageBundle implements MessageBundle { private final List<MessageBundle> delegates = new ArrayList<>(); @Override public String getMessage(String key) {...
279
474
<filename>android/videolib/src/main/java/com/thinkkeep/videolib/model/video/CameraSupport.java<gh_stars>100-1000 package com.thinkkeep.videolib.model.video; import android.view.SurfaceView; import com.thinkkeep.videolib.api.EvilsLiveStreamerConfig; /** * 对Camera类封装 * Created by jason on 17/2/27. */ public interf...
575
480
<reponame>weicao/galaxysql /* * Copyright [2013-2021], Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
2,178
14,668
// Copyright 2020 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 "base/android/jni_android.h" #include "base/android/jni_array.h" #include "base/android/jni_string.h" #include "chrome/browser/feed/android/feed_...
1,104
6,036
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/codegen/mti/debug/tvm_print.h" #include "core/codegen/common/utils.h" #include "core/codegen/common/dump_array.h" #include "core/codegen/mti/common.h" #include <topi/detail/extern.h> namespa...
1,536
22,688
<reponame>jzjonah/apollo #!/usr/bin/env python3 ############################################################################### # Copyright 2018 The Apollo Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License...
4,532
310
{ "name": "F-5XB", "description": "A camera bag.", "url": "https://www.amazon.com/Domke-F-5XB-Shoulder-Belt-Black/dp/B00009R89L" }
65
369
<filename>inc/osvr/PluginKit/SkeletonInterfaceC.h /** @file @brief Header @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the ...
1,573
335
{ "word": "Quodlibet", "definitions": [ "A topic for or exercise in philosophical or theological discussion.", "A light-hearted medley of well-known tunes." ], "parts-of-speech": "Noun" }
86
665
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
1,217
2,151
<reponame>zipated/src<filename>third_party/blink/tools/blinkpy/common/html_diff_unittest.py<gh_stars>1000+ # Copyright 2016 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. import unittest from blinkpy.common.html_diff imp...
4,132
2,201
<gh_stars>1000+ """ Copyright (c) 2018-2022 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
7,011
1,109
<reponame>LuShengDong/wasabi /******************************************************************************* * Copyright 2016 Intuit * <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 ...
738
1,675
<reponame>LaudateCorpus1/AnExplorer<filename>app/src/main/java/dev/dworks/apps/anexplorer/adapter/CommonInfo.java package dev.dworks.apps.anexplorer.adapter; import android.content.Context; import android.database.Cursor; import android.graphics.drawable.Drawable; import android.net.Uri; import java.io.File; import ...
487
1,691
package com.kodedu.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.Response...
378
304
<filename>app/oauth_office365/tests.py<gh_stars>100-1000 from django.test import TestCase # Create your tests here. # TODO add test to validate application scopes are enforced when creating # TODO add test to validate that application redirect and refresh URL match the site's base url # TODO add unicode handling test...
105
1,338
#include <Application.h> #include <TextView.h> #include <Window.h> class window : public BWindow { public: window() : BWindow(BRect(30, 30, 300, 300), "BTextView test", B_DOCUMENT_WINDOW, B_ASYNCHRONOUS_CONTROLS) { BTextView *textview = new BTextView(Bounds(), "textview", Bounds(), B_FOLLOW_ALL, B_WILL_...
277
646
package com.dimple.project.home.domain; import lombok.AllArgsConstructor; import lombok.Data; /** * <p> * description * </p> * * @author Dimple * @date 06/05/20 10:15 */ @Data @AllArgsConstructor public class KeyValue { private String key; private Long value; }
104
4,895
''' This demo shows the parameter estimations of HMMs via Baulm-Welch algorithm on the occasionally dishonest casino example. Author : <NAME>(@karalleyna) ''' import superimport import jax.numpy as jnp from jax.random import split, PRNGKey, randint import numpy as np from hmm_discrete_lib import HMMNumpy, HMMJax, h...
1,359
1,011
<reponame>Said6289/SPlisHSPlasH #include "common.h" #include <SPlisHSPlasH/Common.h> #include <SPlisHSPlasH/SPHKernels.h> #include <pybind11/pybind11.h> #include <pybind11/eigen.h> namespace py = pybind11; template <typename... Args> using overload_cast_ = pybind11::detail::overload_cast_impl<Args...>; template<cla...
1,168
3,390
<reponame>Noahhoetger2001/test-infra # defusedxml # # Copyright (c) 2013 by <NAME> <<EMAIL>> # Licensed to PSF under a Contributor Agreement. # See http://www.python.org/psf/license for licensing details. """Defused xml.etree.cElementTree """ from __future__ import absolute_import from xml.etree.cElementTree import Tr...
284
1,144
<filename>backend/de.metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/X_C_InvoiceTax.java /** Generated Model - DO NOT CHANGE */ package org.compiere.model; import java.math.BigDecimal; import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; /** Generated Model for C_I...
2,916
4,036
struct S100 { int i; int* p; }; int test100() { int x = 0; struct S100 s100; // GOOD: address is only written to another stack variable, which is // safe. s100.p = &x; return x; } static struct S100 s101; int test101() { int x = 0; // BAD: local address is written to a static variable, which cou...
4,825
1,962
<gh_stars>1000+ package com.bolingcavalry.advanced.service.impl; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.DynamicTest; import org.junit.jupiter.api.TestFactory; import org.springframework.boot.test.context.SpringBootTest; import java.util.Arrays; import static org.junit.jupiter.api.DynamicTest....
504
892
{ "schema_version": "1.2.0", "id": "GHSA-58ff-hvrc-gp86", "modified": "2022-05-02T03:54:04Z", "published": "2022-05-02T03:54:04Z", "aliases": [ "CVE-2009-4367" ], "details": "The Staging Webservice (\"sitecore modules/staging/service/api.asmx\") in Sitecore Staging Module 5.4.0 rev.080625 and earlier ...
711
1,444
<gh_stars>1000+ package mage.interfaces; import mage.players.PlayerType; import mage.utils.MageVersion; import mage.view.GameTypeView; import mage.view.TournamentTypeView; import java.io.Serializable; import java.util.List; import java.util.stream.Collectors; /** * @author <EMAIL> */ public class ServerState imp...
868
526
<reponame>MightyNerdEric/egeria<gh_stars>100-1000 /* SPDX-License-Identifier: Apache 2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.accessservices.governanceprogram.handlers; import org.odpi.openmetadata.accessservices.governanceprogram.converters.GovernanceProgramOMASCon...
10,265
323
<filename>src/main/java/io/codearte/jfairy/producer/person/locale/pl/PlAddressProvider.java package io.codearte.jfairy.producer.person.locale.pl; import io.codearte.jfairy.data.DataMaster; import io.codearte.jfairy.producer.BaseProducer; import io.codearte.jfairy.producer.person.AbstractAddressProvider; import javax....
226
2,881
<filename>app/src/main/java/com/example/zhpan/banner/net/ApiService.java<gh_stars>1000+ package com.example.zhpan.banner.net; import com.example.zhpan.banner.bean.ArticleWrapper; import java.util.List; import io.reactivex.Observable; import retrofit2.http.GET; import retrofit2.http.Headers; /** * <pre> * Create...
249
348
<reponame>chamberone/Leaflet.PixiOverlay<filename>docs/data/leg-t2/089/08903136.json {"nom":"Cuy","circ":"3ème circonscription","dpt":"Yonne","inscrits":610,"abs":321,"votants":289,"blancs":2,"nuls":14,"exp":273,"res":[{"nuance":"FN","nom":"<NAME>","voix":139},{"nuance":"REM","nom":"Mme <NAME>","voix":134}]}
127
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...
1,133
685
# flake8: noqa from .gradient_ascent import *
17
342
# Convenience utilities for plotting with Bokeh. import math, statistics, random, time, sys # For graphs from bokeh.layouts import gridplot from bokeh.plotting import figure, output_file, show import bokeh.io # The next two lines prevent Bokeh from opening the graph in a new window. bokeh.io.reset_output() bokeh.io...
1,451
516
<filename>HYBHelperKitSources/NSObject+HYBHelperKit.h<gh_stars>100-1000 // // NSObject+HYBHelperKit.h // HYBHelperKit // // Created by huangyibiao on 16/6/29. // Copyright © 2016年 huangyibiao. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface NSObject (HYBHelperKit) /**...
491
14,668
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/web_applications/external_install_options.h" #include <ostream> #include <string> #include <tuple> #include <vector> #include "...
2,965
435
<gh_stars>100-1000 { "copyright_text": null, "description": "", "duration": 1377, "language": "eng", "recorded": "2019-11-02", "related_urls": [ { "label": "Group web", "url": "https://2019.northbaypython.org/" }, { "label": "Group meeting schedule", "url": "https://2019....
295
322
<reponame>troydieter/aws-auto-cleanup import sys import botocore import boto3 from src.helper import Helper class AirflowCleanup: def __init__(self, logging, whitelist, settings, execution_log, region): self.logging = logging self.whitelist = whitelist self.settings = settings se...
2,659
477
# Generated by Django 2.2 on 2019-06-11 12:58 from django.db import migrations, models def add_toplevel(apps, schema_editor): # We can't import the Person model directly as it may be a newer # version than this migration expects. We use the historical version. Post = apps.get_model('forum', 'Post') Po...
413
698
<reponame>dumpmemory/transformer-deploy<gh_stars>100-1000 #!/usr/bin/env python3 # Copyright 2022, <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/l...
6,861
1,118
{"name":{"common":"Zimbabwe","official":"Republic of Zimbabwe","native":{"bwg":{"common":"Zimbabwe","official":"Republic of Zimbabwe"},"eng":{"common":"Zimbabwe","official":"Republic of Zimbabwe"},"kck":{"common":"Zimbabwe","official":"Republic of Zimbabwe"},"khi":{"common":"Zimbabwe","official":"Republic of Zimbabwe"}...
787
852
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * from GeneratorInterface.ExternalDecays.TauolaSettings_cff import * generator = cms.EDFilter("Pythia8HadronizerFilter", maxEventsToPrint = cms....
848
1,350
/** * Copyright Microsoft Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,549
348
<filename>docs/data/leg-t2/077/07706490.json {"nom":"Vendrest","circ":"6ème circonscription","dpt":"Seine-et-Marne","inscrits":513,"abs":339,"votants":174,"blancs":22,"nuls":7,"exp":145,"res":[{"nuance":"LR","nom":"<NAME>","voix":96},{"nuance":"REM","nom":"<NAME>","voix":49}]}
115
2,151
<reponame>zipated/src<filename>chrome/browser/extensions/webstore_data_fetcher.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/extensions/webstore_data_fetcher.h" #include <...
2,196
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.azurearcdata.generated; import com.azure.core.util.Context; /** Samples for DataControllers Delete. */ public final class DataC...
267
587
/* * Copyright 2016-2020 Crown Copyright * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
1,172
2,613
/* LzmaDecode.h LZMA Decoder interface LZMA SDK 4.40 Copyright (c) 1999-2006 <NAME> (2006-05-01) http://www.7-zip.org/ LZMA SDK is licensed under two licenses: 1) GNU Lesser General Public License (GNU LGPL) 2) Common Public License (CPL) It means that you can select one of these two licens...
1,129
1,102
<filename>src/vizdoom/src/g_strife/a_oracle.cpp /* #include "actor.h" #include "a_action.h" #include "a_strifeglobal.h" #include "p_enemy.h" #include "r_defs.h" #include "thingdef/thingdef.h" */ DEFINE_ACTION_FUNCTION(AActor, A_WakeOracleSpectre) { TThinkerIterator<AActor> it(NAME_AlienSpectre3); AActo...
255
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport */ #import <OfficeImport/XXUnknownSuperclass.h> @class NSString; __attribute__((visibility("hidden"))) @interface EDPivotPageField : XXUnknownSuperclass { @private unsigned mFie...
418
749
<reponame>tirkarthi/python-plexapi<filename>tests/test_settings.py def test_settings_group(plex): assert plex.settings.group("general") def test_settings_get(plex): value = plex.settings.get("FriendlyName").value assert isinstance(value, str) def test_settings_set(plex): cd = plex.settings.get("auto...
290
1,020
<filename>codegen/src/test/java/org/robobinding/codegen/presentationmodel/differentpackage/CustomClass.java package org.robobinding.codegen.presentationmodel.differentpackage; /** * @since 1.0 * @author <NAME> * */ public class CustomClass { }
81
1,338
<filename>src/apps/processcontroller/PriorityMenu.h /* * Copyright 2000, <NAME>. All rights reserved. * Distributed under the terms of the MIT License. */ #ifndef _PRIORITY_MENU_H_ #define _PRIORITY_MENU_H_ #include <Menu.h> class PriorityMenu : public BMenu { public: PriorityMenu (thread_id thread, int32 pr...
183
1,552
# -*- coding: utf-8 -* """ BOW 分类网络 """ import paddle from erniekit.common.register import RegisterSet from erniekit.common.rule import InstanceName from erniekit.model.model import BaseModel from erniekit.modules.encoder import BoWEncoder from model.base_cls import BaseClassification @RegisterSet.models.register cla...
1,711
435
{ "copyright_text": "Creative Commons Attribution license (reuse allowed)", "description": "<NAME>\nhttps://2016.pycon-au.org/schedule/18/view_talk\nPython is a dynamic programming language and has a strong tradition of adhering to a programming style called duck-typing. This means that it is possible to easily mod...
472
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.authorization.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import co...
5,617
971
#include <memory> #include <vector> #include "benchmark/benchmark.h" #include "benchmark_util/benchmark_config.h" #include "common/scoped_timer.h" #include "storage/data_table.h" #include "storage/storage_util.h" #include "test_util/multithread_test_util.h" #include "test_util/storage_test_util.h" #include "transactio...
2,378
826
<reponame>dartartem/eventuate-tram-sagas package io.eventuate.tram.sagas.reactive.orchestration; import io.eventuate.tram.consumer.common.reactive.ReactiveMessageConsumer; import io.eventuate.tram.reactive.commands.producer.ReactiveCommandProducer; import io.eventuate.tram.sagas.reactive.common.ReactiveSagaLockManager...
616
679
/** * Configuration classes for Spring Data R2DBC. */ @org.springframework.lang.NonNullApi @org.springframework.lang.NonNullFields package org.springframework.data.r2dbc.config;
58
790
<reponame>MiCHiLU/google_appengine_sdk<gh_stars>100-1000 from django.conf.urls import patterns, url from django.contrib.auth import context_processors from django.contrib.auth.urls import urlpatterns from django.contrib.auth.views import password_reset from django.contrib.auth.decorators import login_required from djan...
1,118
8,772
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Principal; import java.util.List; import java.util.Map; /** * This is {@link PrincipalElectionStrategyConflictResolver} * that determines the final principal identifier * as part of the principal election strategy. * * @author...
424
14,668
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/platform/scheduler/public/worker_pool.h" #include <memory> #include "base/location.h" #include "base/test/task_envir...
371
16,461
<reponame>ahmadtech199/expo /* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> #import <ABI41_0_0React/ABI41_0_0RCTURLRequestDelegate.h> #import <A...
757
1,582
# -*- coding: utf-8 -*- from vilya.libs.store import mc class MLockMeta(type): def __getattr__(cls, name): return MLock(name) class MLock(object): __metaclass__ = MLockMeta def __init__(self, mc_prefix): self.mc_prefix = mc_prefix def __call__(self, **kw): parts = [self.mc...
640
1,403
<filename>clipper_admin/clipper_admin/exceptions.py class ClipperException(Exception): """A generic exception indicating that Clipper encountered a problem.""" def __init__(self, msg, *args): self.msg = msg super(Exception, self).__init__(msg, *args) class UnconnectedException(ClipperExceptio...
272
348
{"nom":"Framont","circ":"1ère circonscription","dpt":"Haute-Saône","inscrits":142,"abs":76,"votants":66,"blancs":4,"nuls":2,"exp":60,"res":[{"nuance":"FN","nom":"Mme <NAME>","voix":36},{"nuance":"REM","nom":"Mme <NAME>","voix":24}]}
94
798
<gh_stars>100-1000 package picard.illumina.parser.fakers; import java.nio.ByteBuffer; /** * Created by jcarey on 3/13/14. */ public class LocsFileFaker extends FileFaker { @Override protected void fakeFile(final ByteBuffer buffer) { buffer.putInt(1); buffer.putFloat(1.0f); ...
288
737
// essfunc.dll for Vulnserver // Visit my blog for more details: http://www.thegreycorner.com/ /* Copyright (c) 2010, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributio...
1,386
36,552
# Copyright 2021 The 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 law or agreed to in writ...
720
5,079
<reponame>yetsun/hue #!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2012 <NAME>, European Environment Agency # # This is free software. You may redistribute it under the terms # of the Apache license and the GNU General Public License Version # 2 or at your option any later version. # # This program is ...
414
2,921
{ "name": "<NAME>", "symbol": "DFS", "type": "ERC20", "decimals": 18, "description": "DFS is a global payment option that is fully decentralized built on the Ethereum Blockchain.", "website": "https://www.digitalfantasysports.com", "explorer": "https://etherscan.io/token/0xcec38306558a31cdbb...
189
1,822
<reponame>STEllAR-GROUP/hpx<filename>libs/core/algorithms/include/hpx/parallel/algorithms/ends_with.hpp // Copyright (c) 2020 ETH Zurich // Copyright (c) 2014 <NAME> // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or cop...
6,279
1,198
/* Copyright 2017-2019 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 law or agreed t...
2,226
34,359
/*++ Copyright (c) Microsoft Corporation. Licensed under the MIT license. Module Name: font.h Abstract: This module contains the data structures, data types, and procedures related to fonts. Author: <NAME> (thereses) 15-Jan-1991 Revision History: --*/ #pragma once #ifndef ...
1,315
1,208
from typing import Any, Callable, TypeVar AnyCallableT = TypeVar("AnyCallableT", bound=Callable[..., Any]) # noqa: VNE001
43
517
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/util/event.proto package org.tensorflow.proto.util; /** * <pre> * Indicates the behavior of the worker when an internal error or shutdown * signal is received. * </pre> * * Protobuf enum {@code tensorflow.WorkerShutdownMode} ...
1,317
14,668
<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. #ifndef CRAZY_LINKER_SYSTEM_LINKER_H #define CRAZY_LINKER_SYSTEM_LINKER_H #ifdef __ANDROID__ #include <android/dlext.h> #endif #include ...
574
974
// Blend2D - 2D Vector Graphics Powered by a JIT Compiler // // * Official Blend2D Home Page: https://blend2d.com // * Official Github Repository: https://github.com/blend2d/blend2d // // Copyright (c) 2017-2020 The Blend2D Authors // // This software is provided 'as-is', without any express or implied // warranty. I...
5,512
836
# Example usage with pygmsh package: # https://github.com/nschloe/pygmsh import pygmsh with pygmsh.occ.Geometry() as geom: geom.characteristic_length_min = 0.1 geom.characteristic_length_max = 0.1 rectangle = geom.add_rectangle([-1.0, -1.0, 0.0], 2.0, 2.0) disk1 = geom.add_disk([-1.2, 0.0, 0.0], 0.5) ...
439
2,716
<reponame>devLupin/face.evoLVe from utils import * from tqdm import tqdm from paddle import inference import os, cv2 import numpy as np from PIL import ImageDraw, ImageFont, Image import pickle class FaceEval: def __init__(self): self.threshold = 0.4 self.mtcnn = MTCNN() self.face_eval = s...
3,310
8,969
<reponame>omerlevran46/sdk // Copyright (c) 2016, 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. #include "platform/globals.h" #if defined(DART_HOST_OS_FUCHSIA) #include "b...
216
403
<reponame>clayne/vkhr #ifndef VKHR_INPUT_MAP_HH #define VKHR_INPUT_MAP_HH #include <vkhr/window.hh> #include <imgui.h> #include <imgui_impl_glfw.h> #include <glm/glm.hpp> #include <string> #include <vector> #include <unordered_map> namespace vkhr { namespace Input { enum class State { Press...
3,657
408
<reponame>em3ndez/trireme package io.apigee.trireme.kernel.test; import io.apigee.trireme.kernel.Charsets; import io.apigee.trireme.kernel.OSException; import io.apigee.trireme.kernel.handles.IOCompletionHandler; import io.apigee.trireme.kernel.handles.NIOSocketHandle; import io.apigee.trireme.kernel.handles.TLSHandle...
3,278
1,840
/** * Copyright Pravega Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
8,562
325
<reponame>undeadinu/viskell package nl.utwente.viskell.haskell.env; import java.util.ArrayList; import java.util.List; import com.google.common.base.Strings; import nl.utwente.viskell.haskell.type.Type; import nl.utwente.viskell.haskell.type.TypeCon; /** All information about a haskell datatype. */ public class Dat...
1,377
445
<gh_stars>100-1000 /* * Copyright (c) 2019 <NAME> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE ...
377
575
<filename>components/update_client/patch/patch_impl.h // 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. #ifndef COMPONENTS_UPDATE_CLIENT_PATCH_PATCH_IMPL_H_ #define COMPONENTS_UPDATE_CLIENT_PATCH_PATCH_IM...
391
2,151
// Copyright 2016 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 CHROME_BROWSER_METRICS_PAGE_LOAD_METRICS_PROVIDER_H_ #define CHROME_BROWSER_METRICS_PAGE_LOAD_METRICS_PROVIDER_H_ #include "base/macros.h" #inclu...
272
591
# coding=utf-8 # Copyright 2021 The Edward2 Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
4,459
3,990
package com.hotbitmapgg.bilibili.entity.region; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.annotations.SerializedName; import java.util.ArrayList; import java.util.List; /** * Created by hcc on 2016/10/11 18:20 * <EMAIL> * <p> * 分区数据模型类 */ public class RegionTypesInfo imple...
3,771