max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
852
<reponame>lesreaper/jetson-reinforcement /* * http://github.com/dusty-nv/jetson-reinforcement */ #ifndef __GAZEBO_ROVER_PLUGIN_H__ #define __GAZEBO_ROVER_PLUGIN_H__ #include "deepRL.h" #include <boost/bind.hpp> #include <gazebo/gazebo.hh> #include <gazebo/transport/transport.hh> #include <gazebo/msgs/msgs.hh> #inc...
1,153
311
package com.datadog.appsec.event.data; import java.util.concurrent.atomic.AtomicInteger; /** @param <T> the type of data associated with the address */ public final class Address<T> { private static final int MAX_SERIAL = 0x3FFF; private static final AtomicInteger NEXT_SERIAL = new AtomicInteger(); private fin...
321
1,936
#include <memory> #include <unordered_map> #include <vector> #include <Eigen/Core> #include <aslam/cameras/camera-pinhole.h> #include <aslam/cameras/distortion-fisheye.h> #include <aslam/common/hash-id.h> #include <aslam/frames/visual-frame.h> #include <ceres-error-terms/parameterization/pose-param-jpl.h> #include <ce...
4,813
492
import click from flask.cli import with_appcontext from .extensions import guard, db from .models import User @click.command(name='create_database') @with_appcontext def create_database(): db.create_all() @click.command(name='create_users') @with_appcontext def create_users(): one = User(user...
219
474
<reponame>chenqian-dev/QNShortVideo-TuTu<filename>QNShortVideo-With-TuTu-iOS/PLShortVideoKit-master/Example/PLShortVideoKitDemo/UI+Tools/PLSClipAudioView.h // // PLSClipAudioView.h // PLShortVideoKitDemo // // Created by suntongmian on 2017/6/21. // Copyright © 2017年 Pili Engineering, Qiniu Inc. All rights reserved...
316
1,143
from typing import Dict, Optional, List, Any import torch import torch.nn.functional as F from allennlp.data import Vocabulary from allennlp.models.model import Model from allennlp.modules import FeedForward, TextFieldEmbedder, Seq2SeqEncoder from allennlp.nn import InitializerApplicator, RegularizerApplicator from al...
2,203
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...
3,016
3,276
<gh_stars>1000+ #!/usr/bin/env python3 # coding: utf-8 import torch import torchvision.transforms as transforms import mobilenet_v1 import numpy as np import cv2 import dlib from utils.ddfa import ToTensorGjz, NormalizeGjz import scipy.io as sio from utils.inference import ( parse_roi_box_from_landmark, crop_im...
1,643
8,747
<reponame>lovyan03/esp-idf /* * SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include "soc/gpio_sig_map.h" #include "soc/dedic_gpio_periph.h" const dedic_gpio_signal_conn_t dedic_gpio_periph_signals = { .module = -1, .irq = -1, .cores...
748
688
<filename>Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/BaseDateParserConfiguration.java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.microsoft.recognizers.text.datetime.parsers.config; impo...
268
1,555
<reponame>dinithiravi/c int main() { int arr[2]; arr[1] = 2; if(arr[1] != 2) return 1; return 0; }
61
841
/* * Tencent is pleased to support the open source community by making Pebble available. * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the Lic...
915
416
<gh_stars>100-1000 /* NSOrderedCollectionDifference.h Copyright (c) 2017-2019, Apple Inc. All rights reserved. */ @class NSArray<ObjectType>; #import <Foundation/NSOrderedCollectionChange.h> #import <Foundation/NSIndexSet.h> #import <Foundation/NSEnumerator.h> NS_ASSUME_NONNULL_BEGIN /// Options supported by metho...
1,280
4,013
<gh_stars>1000+ '''配置文件''' import os '''游戏界面一些数值''' SCREENWIDTH = 640 SCREENHEIGHT = 480 BRICKWIDTH = 10 BRICKHEIGHT = 10 PADDLEWIDTH = 60 PADDLEHEIGHT = 12 BALLRADIUS = 8 '''游戏素材路径''' FONTPATH = os.path.join(os.getcwd(), 'resources/font/font.TTF') HITSOUNDPATH = os.path.join(os.getcwd(), 'resources/audios/hit.wav') ...
384
1,921
#pragma once enum class confirm_prompt_type { cancel, // automatically answer 'no', i.e. disallow prompt, // prompt none, // automatically answer 'yes' };
96
407
package com.alibaba.tesla.appmanager.server.addon.req; import com.alibaba.tesla.appmanager.domain.schema.CustomAddonSchema; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; import java.util.Map; /** * @ClassName: ApplyCustomAd...
446
372
<filename>dcerpc/ncklib/cnassoc.h<gh_stars>100-1000 /* * * (c) Copyright 1990 OPEN SOFTWARE FOUNDATION, INC. * (c) Copyright 1990 HEWLETT-PACKARD COMPANY * (c) Copyright 1990 DIGITAL EQUIPMENT CORPORATION * To anyone who acknowledges that this file is provided "AS IS" * without any express or implied warranty: ...
6,843
304
/** * Copyright (c) 2015 by Contributors */ #include <gtest/gtest.h> #include "common/spmt.h" #include "loss/logit_loss_delta.h" #include "loss/logit_loss.h" #include "./utils.h" using namespace difacto; TEST(LogitLossDelta, Grad) { // load and tranpose data dmlc::data::RowBlockContainer<unsigned> rowblk, tran...
1,597
709
<filename>runtime/platform/s390.h #define MLton_Platform_Arch_host "s390"
27
432
<reponame>pvonmoradi/bl_iot_sdk /* Tree inlining hooks and declarations. Copyright (C) 2001-2018 Free Software Foundation, Inc. Contributed by <NAME> <<EMAIL>> This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published...
2,317
2,921
<reponame>m21917/assets { "name": "<NAME>", "symbol": "MOMA", "type": "ERC20", "decimals": 18, "description": "The multi-chain decentralized exchange ecosystem for non-fungible tokens", "website": "https://mochi.market", "explorer": "https://etherscan.io/token/0xbd1848e1491d4308Ad18287A745DD...
188
922
<reponame>jacektl/calamari import logging from tfaip.model.graphbase import GenericGraphBase import tensorflow as tf import tensorflow.keras.backend as K from tensorflow.python.ops import ctc_ops as ctc from calamari_ocr.ocr.model.graph import CalamariGraph from calamari_ocr.ocr.model.params import ModelParams log...
3,874
2,151
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ios/chrome/browser/ui/webui/signin_internals_ui_ios.h" #include "base/hash.h" #include "components/grit/components_resources.h" #include "compo...
1,624
711
<gh_stars>100-1000 package io.apiman.gateway.platforms.servlet.auth.tls; import io.apiman.common.config.options.TLSOptions; import io.apiman.gateway.engine.IApiConnection; import io.apiman.gateway.engine.IApiConnectionResponse; import io.apiman.gateway.engine.IApiConnector; import io.apiman.gateway.engine.async.IAsync...
3,740
348
<gh_stars>100-1000 {"nom":"Dambach","circ":"8ème circonscription","dpt":"Bas-Rhin","inscrits":631,"abs":378,"votants":253,"blancs":11,"nuls":4,"exp":238,"res":[{"nuance":"LR","nom":"<NAME>","voix":127},{"nuance":"REM","nom":"<NAME>","voix":111}]}
100
2,151
# 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. from .extended_attribute import ExtendedAttributeList from .idl_types import RecordType from .idl_types import SequenceType from .utilities import assert_no_...
523
1,433
//****************************************************************** // // Copyright 2015 Samsung Electronics All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance...
1,948
794
<gh_stars>100-1000 package com.stardust.autojs.apkbuilder; import com.stardust.autojs.apkbuilder.util.StreamUtils; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io...
1,246
474
package org.javacord.api.listener.user; import org.javacord.api.event.user.UserChangeStatusEvent; import org.javacord.api.listener.GloballyAttachableListener; import org.javacord.api.listener.ObjectAttachableListener; import org.javacord.api.listener.server.ServerAttachableListener; /** * This listener listens to us...
262
432
<reponame>Reno-Greenleaf/bsd-games /* $NetBSD: def.objects.h,v 1.6 2003/04/02 18:36:34 jsm Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, * Amsterdam * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted prov...
5,727
1,382
// // qnsearch_example.c // #include <stdio.h> #include <stdlib.h> #include <math.h> #include "liquid.h" #define OUTPUT_FILENAME "qnsearch_example.m" int main() { unsigned int num_parameters = 8; // dimensionality of search (minimum 2) unsigned int num_iterations = 4000; // number of iterations to run ...
789
5,169
{ "name": "iAsync.async", "version": "0.0.1", "summary": "iAsync.async lib developed to make async programming easier", "description": " iAsync is a set of IOS libraries that aims to make asychronous programming easy for for IOS developers. It uses functional programming ideas to solve Callbac...
541
4,050
/* * Copyright 2012 LinkedIn Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
1,149
345
<filename>XivAlexander/App_Feature_IpcTypeFinder.h #pragma once namespace App { namespace Network { class SocketHook; } } namespace App::Feature { class IpcTypeFinder { struct Implementation; const std::unique_ptr<Implementation> m_pImpl; public: IpcTypeFinder(Network::SocketHook* socketHook); ~IpcType...
129
1,945
from .tqdm import stdout_to_tqdm from .image import crop_image from .image import color_jittering_, lighting_, normalize_
42
448
<gh_stars>100-1000 /***** includes *****/ #include "lfds711_ringbuffer_internal.h" /***** private prototypes *****/ static void lfds711_ringbuffer_internal_queue_umm_element_cleanup_callback( struct lfds711_queue_umm_state *qumms, struct lfds7...
1,553
460
#include "../../../src/xmlpatterns/data/qschematime_p.h"
25
852
import FWCore.ParameterSet.Config as cms from RecoParticleFlow.Configuration.pfBlockAnalyzer_cfi import *
33
1,350
<reponame>Shashi-rk/azure-sdk-for-java<filename>sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/DiskEncryptionSetParameters.java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) Aut...
441
398
<filename>Graphics/GraphicsTools/interface/StreamingBuffer.hpp /* * Copyright 2019-2021 Diligent Graphics LLC * Copyright 2015-2019 <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 Lice...
2,808
22,779
<filename>plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/handlers/SQLEditorHandlerSyncConnection.java /* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this...
616
5,053
import pytest import torch from espnet2.tts.feats_extract.energy import Energy @pytest.mark.parametrize( "use_token_averaged_energy, reduction_factor", [(False, None), (True, 1), (True, 3)] ) def test_forward(use_token_averaged_energy, reduction_factor): layer = Energy( n_fft=128, hop_length=...
776
348
{"nom":"Châtel-Moron","dpt":"Saône-et-Loire","inscrits":79,"abs":21,"votants":58,"blancs":5,"nuls":2,"exp":51,"res":[{"panneau":"1","voix":27},{"panneau":"2","voix":24}]}
76
1,003
<filename>Granite/assets/shaders/inc/helper_invocation.h #ifndef HELPER_INVOCATION_H_ #define HELPER_INVOCATION_H_ #ifdef DEMOTE #extension GL_EXT_demote_to_helper_invocation : require #endif bool is_helper_invocation() { #if defined(DEMOTE) return helperInvocationEXT(); #else return gl_HelperInvocation; #endif } ...
129
2,494
<gh_stars>1000+ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef prunixos_h...
8,544
1,327
/******************************************************************************* * Copyright 2020 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.o...
1,741
2,453
<filename>XVim2/XcodeHeader/IDEKit/IDESwiftCompletionItem.h // // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12). // // Copyright (C) 1997-2019 <NAME>. // #import <objc/NSObject.h> #import <IDEKit/DVTTextCompletionItem-Protocol.h> @class DVTRangeArray, DVTSourceCodeLanguage, ...
1,357
527
# Generated by Django 2.2.9 on 2020-01-22 04:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('drfpasswordless', '0001_initial'), ] operations = [ migrations.AlterField( model_name='callbacktoken', name='to_alia...
177
757
<reponame>da3dsoul/superpaper #!/usr/bin/env python3 """ Superpaper is a cross-platform multi monitor wallpaper manager. Written by <NAME>. """ #__all__ to be set at some point. Defines the APIs of the module(s). __author__ = "<NAME>" import sys from superpaper.cli import cli_logic from superpaper.tray import tray_...
220
421
<reponame>rswinkle/lowrez21 #ifndef CVECTOR_float_H #define CVECTOR_float_H #include <stdlib.h> #ifdef __cplusplus extern "C" { #endif /** Data structure for float vector. */ typedef struct cvector_float { float* a; /**< Array. */ size_t size; /**< Current size (amount you use when manipulating arr...
3,644
303
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from time import sleep import paramiko from slugify import slugify as slugify_function from django.contrib.auth.models import User from django.http import HttpResponse import json import logging import subprocess import signal import os im...
4,648
2,499
<gh_stars>1000+ /* * Copyright 2018 Qunar, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
2,564
5,102
package com.nepxion.discovery.common.entity; /** * <p>Title: Nepxion Discovery</p> * <p>Description: Nepxion Discovery</p> * <p>Copyright: Copyright (c) 2017-2050</p> * <p>Company: Nepxion</p> * @author <NAME> * @version 1.0 */ public class WeightEntity extends MapWeightEntity { private static final long s...
358
335
<gh_stars>100-1000 { "word": "Replica", "definitions": [ "An exact copy or model of something, especially one on a smaller scale.", "A duplicate of an original artistic work." ], "parts-of-speech": "Noun" }
93
392
<filename>jetbrick-template/src/main/java/jetbrick/template/parser/ast/AstInvokeFieldStatic.java /** * Copyright 2013-2019 <NAME>, Shanghai, China. All rights reserved. * * Author: <NAME> * Email: <EMAIL> * WebURL: https://github.com/subchen * * Licensed under the Apache License, Version 2.0 (the "License...
1,048
1,760
<filename>Implementations/content/numerical/Polynomials/ChirpZ.h /** * Description: Modified Chirp-Z. For $x\neq 0$, computes * $A(x^0), A(x^1), \ldots, A(x^{n-1})$. * Time: FFT(2|A|+n) * Source: https://cp-algorithms.com/algebra/polynomial.html * https://github.com/e-maxx-eng/e-maxx-eng-aux/blob/master/src/pol...
487
6,180
// This file is a stub header file of nccl for Read the Docs. #ifndef INCLUDE_GUARD_STUB_CUPY_NCCL_H #define INCLUDE_GUARD_STUB_CUPY_NCCL_H #define NCCL_MAJOR 0 #define NCCL_MINOR 0 #define NCCL_PATCH 0 extern "C" { typedef struct ncclComm* ncclComm_t; enum { NCCL_UNIQUE_ID_BYTES = 128 }; typedef struct { ...
963
371
/* Copyright (c) 2014 ideawu. All rights reserved. Use of this source code is governed by a license that can be found in the LICENSE file. @author: ideawu @website: http://www.cocoaui.com/ */ #import <Foundation/Foundation.h> @class IView; /* CSS(级联样式表) 的主要特性: 1. 级联(Cascade, Selector) 2. 样式(Style) 3. 继承...
316
3,428
<filename>lib/node_modules/@stdlib/datasets/spam-assassin/data/easy-ham-2/00168.716b0a26aa6ae53b72d9d3c297390424.json {"id":"00168","group":"easy-ham-2","checksum":{"type":"MD5","value":"716b0a26aa6ae53b72d9d3c297390424"},"text":"From <EMAIL> Wed Jul 31 11:19:10 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy<EMAIL>....
1,070
335
{ "word": "Radiochemical", "definitions": [ "Relating to the branch of chemistry concerned with radioactive substances." ], "parts-of-speech": "Adjective" }
66
947
/*------------------------------------------------------------------------- * * oxid.h * Decalarations for transaction management routines. * * Copyright (c) 2021-2022, Oriole DB Inc. * * IDENTIFICATION * contrib/orioledb/include/transam/oxid.h * *-----------------------------------------------------------...
687
875
/** * 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,144
683
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.instrumentation.jetty.v11_0; import com.google.auto.service.AutoService; import io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule; import io.opentelemetry.javaagent.extensio...
329
2,420
from context import Instagram # pylint: disable=no-name-in-module instagram = Instagram() instagram.with_credentials('', '', '/pathtofolder') instagram.login() # Get media comments by shortcode likes = instagram.get_media_likes_by_code('BG3Iz-No1IZ', 100) print("Result count: " + str(len(likes['accounts']))) for li...
132
1,259
<filename>src/organisations/migrations/0014_organisation_stop_serving_flags.py<gh_stars>1000+ # -*- coding: utf-8 -*- # Generated by Django 1.11.24 on 2019-09-26 15:17 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ...
255
2,868
#include "ftxui/component/captured_mouse.hpp" // for ftxui #include "ftxui/component/component.hpp" // for Checkbox, Vertical #include "ftxui/component/screen_interactive.hpp" // for ScreenInteractive using namespace ftxui; int main(int argc, const char* argv[]) { bool build_examples_state = false; ...
283
983
package org.xm.similarity.word.pinyin; import org.xm.similarity.ISimilarity; import org.xm.similarity.util.EditDistance; import org.xm.similarity.util.MathUtil; import java.util.Set; /** * 拼音计算两个词相似度,拼音用编辑距离表示相似程度 * * @author xuming */ public class PinyinSimilarity implements ISimilarity { @Override publ...
535
764
<filename>eos-token/EDNA@ednazztokens.json { "symbol": "EDNA", "account_name": "ednazztokens", "overview": { "en": "EDNA is a Blockchain-Bio Tech company who dedicated to insuring Human DNA.And the knowledge about that DNA belongs to humans, not governments or mega-corps. The company operates a secu...
266
4,879
import os import sys def total_virtual_memory(): if sys.platform.startswith("linux"): return os.sysconf("SC_PAGE_SIZE") * os.sysconf("SC_PHYS_PAGES") else: return 0
82
190,993
<reponame>yage99/tensorflow /* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless req...
3,842
535
<filename>sys/config/selftest-fcb2/src/testcases/config_test_custom_compress.c /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses thi...
1,509
764
{"symbol": "GHOST","address": "0x4c327471C44B2dacD6E90525f9D629bd2e4f662C","overview":{"en": ""},"email": "<EMAIL>","website": "https://www.ghostbymcafee.com/","state": "NORMAL","links": {"blog": "","twitter": "https://twitter.com/ghostbymcafee","telegram": "","github": ""}}
108
4,071
#ifndef PS5_NETWORK_CONTEXT_HH_ #define PS5_NETWORK_CONTEXT_HH_ #include "core/ps_queue_hub/queue_hub.hh" #include "core/ps_queue_hub/queue_hub_future.hh" #include "service/session_context.hh" #include "core/app-template.hh" #include <vector> #include <assert.h> namespace ps { namespace network { using namespace std;...
1,051
1,425
<reponame>helpspace-co/tinkerpop<filename>gremlin-tools/gremlin-benchmark/src/main/java/org/apache/tinkerpop/gremlin/driver/SerializationBenchmark.java<gh_stars>1000+ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this...
3,227
1,177
<filename>exercises/nth-prime/nth_prime.py def prime(number): pass
30
2,151
<filename>ash/display/mirror_window_controller.cc // Copyright (c) 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 "ash/display/mirror_window_controller.h" #include <utility> #include "ash/display/cursor_...
6,378
12,278
// (C) Copyright 2013 <NAME> // (C) Copyright 2013 <NAME> // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See www.boost.org/libs/thread for documentation. #define BOOST_THREAD_VERSION 4 #include <boost/det...
1,468
3,139
/* * Copyright (c) 2009-2012 jMonkeyEngine * 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 list of ...
1,337
348
<filename>docs/data/leg-t2/054/05405252.json<gh_stars>100-1000 {"nom":"Haroué","circ":"5ème circonscription","dpt":"Meurthe-et-Moselle","inscrits":272,"abs":125,"votants":147,"blancs":16,"nuls":4,"exp":127,"res":[{"nuance":"SOC","nom":"<NAME>","voix":74},{"nuance":"REM","nom":"<NAME>","voix":53}]}
126
393
<reponame>nFnK/otros-log-viewer package pl.otros.swing.suggest; import javax.swing.text.BadLocationException; import javax.swing.text.Document; public class StringInsertSuggestionListener implements SelectionListener<BasicSuggestion> { @Override public void selected(SuggestionResult<BasicSuggestion> result) { ...
228
936
<filename>source/sqlsrv/stmt.cpp //--------------------------------------------------------------------------------------------------------------------------------- // File: stmt.cpp // // Contents: Routines that use statement handles // // Microsoft Drivers 5.10 for PHP for SQL Server // Copyright(c) Microsoft Corpora...
35,434
348
<reponame>chamberone/Leaflet.PixiOverlay<filename>docs/data/leg-t2/079/07902121.json {"nom":"Fomperron","circ":"2ème circonscription","dpt":"Deux-Sèvres","inscrits":290,"abs":153,"votants":137,"blancs":0,"nuls":11,"exp":126,"res":[{"nuance":"SOC","nom":"<NAME>","voix":63},{"nuance":"REM","nom":"<NAME>","voix":63}]}
135
1,094
/*********************************************************************************************************************************** Fork Handler ***********************************************************************************************************************************/ #ifndef COMMON_FORK_H #define COMMON_FORK...
135
1,163
<gh_stars>1000+ // Copyright 2020 The IREE Authors // // Licensed 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 #ifndef IREE_BINDINGS_TFLITE_SHIM_H_ #define IREE_BINDINGS_TFLITE_SHIM_H_ #inclu...
297
471
package com.dtflys.forest.backend.okhttp3.body; import com.dtflys.forest.backend.ContentType; import com.dtflys.forest.backend.body.AbstractBodyBuilder; import com.dtflys.forest.converter.json.ForestJsonConverter; import com.dtflys.forest.exceptions.ForestRuntimeException; import com.dtflys.forest.handler.LifeCycleHan...
3,178
310
<gh_stars>100-1000 /* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty 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 * * h...
898
406
<filename>gallery/media_player.py """ Author: <NAME> Modified: 2021-12-11 Adapted from: https://github.com/israel-dryer/Mini-VLC-Player """ from pathlib import Path import ttkbootstrap as ttk from ttkbootstrap.constants import * from ttkbootstrap.icons import Emoji class MediaPlayer(ttk.Frame): def _...
2,137
362
<reponame>gaganbedimsg/galaxy // Copyright (c) 2016, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #pragma once #include "protocol/galaxy.pb.h" #include "util/error_code.h" #include <map> #include <string> #include <vector> ...
497
537
#pragma once #include <turbodbc/field.h> #include <turbodbc/parameter.h> #include <cpp_odbc/multi_value_buffer.h> namespace turbodbc { /** * @brief Check whether a parameter can hold the given value */ bool parameter_is_suitable_for(parameter const &param, field const &value); /** * @brief Set the destination's ...
219
6,684
<filename>botocore/data/iotfleethub/2020-11-03/paginators-1.json { "pagination": { "ListApplications": { "input_token": "nextToken", "output_token": "nextToken", "result_key": "applicationSummaries" } } }
104
852
#include "CondFormats/DataRecord/interface/L1GctChannelMaskRcd.h" #include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h" EVENTSETUP_RECORD_REG(L1GctChannelMaskRcd);
70
2,072
# Copyright Contributors to the Amundsen project. # SPDX-License-Identifier: Apache-2.0 import logging from typing import Any from pyhocon import ConfigFactory, ConfigTree from databuilder.extractor.base_extractor import Extractor from databuilder.extractor.dashboard.mode_analytics.mode_dashboard_utils import ModeDa...
1,063
348
<gh_stars>100-1000 {"nom":"Pluvet","circ":"3ème circonscription","dpt":"Côte-d'Or","inscrits":303,"abs":179,"votants":124,"blancs":12,"nuls":9,"exp":103,"res":[{"nuance":"REM","nom":"<NAME>","voix":59},{"nuance":"FN","nom":"<NAME>","voix":44}]}
102
432
<reponame>mfkiwl/riscv_vhdl-64bit-fault-tolerant /* * Copyright 2019 <NAME>, <EMAIL> * * 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,666
1,350
<filename>sdk/resourcegraph/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/models/Column.java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resource...
869
2,813
package org.jabref.logic.exporter; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.jabref.logic.layout.LayoutFormatterPreferences; import org.ja...
3,466
778
<filename>applications/ExaquteSandboxApplication/python_scripts/WindGenerator/RandomMaterial.py import pyfftw from math import * import numpy as np from scipy.special import erfinv from scipy import misc from scipy.signal import convolve2d # from scipy.special import kv as Kv # from itertools import product import os,...
2,622
48,021
<gh_stars>1000+ { "expect": { "25": -1, "103": "The cow jumped over the moon.", "125": "There is some text missing from this line.", "126": "There is some text missing from this line.", "145": "There is some text missing from this line.", "146": "There is some text missing from this line.", ...
652
348
{"nom":"Asnières-en-Poitou","dpt":"Deux-Sèvres","inscrits":144,"abs":38,"votants":106,"blancs":13,"nuls":4,"exp":89,"res":[{"panneau":"1","voix":65},{"panneau":"2","voix":24}]}
79
575
# Copyright 2018 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 required by applicable law or agreed to in writin...
1,599