max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
343
// Copyright 2017 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...
782
322
<gh_stars>100-1000 #include "includes.h" /* Space reserved as a percentage. When available free space reaches this * threshold new writes and new layers are failed. */ #define LC_RESERVED_BLOCKS 10ul /* Number of blocks reserved by a layer from the global pool at a time */ #define LC_BLOCK_RESERVE 8192 /* Min...
12,885
2,706
<filename>retro/cores/gba/src/platform/qt/DebuggerConsole.h<gh_stars>1000+ /* Copyright (c) 2013-2016 <NAME> * * 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/. */ #pr...
236
1,592
#!/usr/bin/env python3 import glob fs = glob.glob("xio_expected_results/*.txt") include_file = "#include <string>\n\n" for f in fs: with open(f) as ff: ctn = ff.read() n = f.split("/")[1] include_file += "static std::string {} = R\"xio({})xio\";\n\n\n".format(n[:-4], ctn) with open("xio_expected_results.hpp...
162
307
#pragma once namespace crashdump { void installCrashHandler(); }
23
335
<filename>G/Guinea_noun.json { "word": "Guinea", "definitions": [ "The sum of \u00a31.05 (21 shillings in pre-decimal currency), now used mainly for determining professional fees and auction prices.", "A former British gold coin that was first minted in 1663 from gold imported from West Africa, ...
150
20,996
{"index":9,"lineNumber":1,"column":10,"message":"Error: Line 1: Use of future reserved word in strict mode","description":"Use of future reserved word in strict mode"}
41
1,536
from . import datasets from . import models from . import params from . import pipelines
20
31,928
<filename>localstack/services/providers.py<gh_stars>1000+ from localstack.services.plugins import Service, aws_provider @aws_provider() def acm(): from localstack.services.acm import acm_starter return Service("acm", start=acm_starter.start_acm) @aws_provider() def apigateway(): from localstack.service...
2,750
6,098
package hex; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Fork; import org.openjdk.jmh.annotations.Measurement; import org.openjdk.jmh.annotations.Mode; import org.openjdk.jmh.annotations.OutputTimeUnit; import org.openjdk.jmh.annota...
721
409
package se.emilsjolander.intentbuilder; public @interface Extra { String value() default ""; }
32
506
package com.mixpush.core; import android.content.Context; public interface MixPushPassThroughReceiver { /** * 透传推送SDK注册成功回调 */ public void onRegisterSucceed(Context context, MixPushPlatform platform); /** * 透传消息到达回调 */ public void onReceiveMessage(Context context, MixPushMessage ...
150
619
// Copyright <NAME> 2017. // 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) #include "react/detail/defs.h" #include <algorithm> #include <atomic> #include <type_traits> #include <utility> #in...
3,513
1,337
/* * Copyright (c) 2008-2016 Haulmont. * * 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 agr...
461
862
/* * (c) Copyright 2018 Palantir Technologies 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 ...
5,120
353
{ "name": "namaste-javascript-notes", "version": "1.0.0", "description": "> This repo maintains my version of javascript notes which I learned from the famous [Namaste Javascript Youtube Series](https://www.youtube.com/watch?v=pN6jk0uUrD8&list=PLlasXeu85E9cQ32gLCvAvr9vNaUccPVNP&index=1&ab_channel=AkshaySaini) by ...
411
19,783
// // classify.cpp // transfer-learning // // Created by <NAME> on 15/08/19. // #include <iostream> #include <torch/torch.h> #include <opencv2/opencv.hpp> #include <torch/script.h> #include <dirent.h> // Utility function to load image from given folder // File type accepted: .jpg std::vector<std::string> load_imag...
1,139
578
// Copyright (c) 2019 <NAME> <EMAIL> // This software is provided 'as-is' under the zlib License, see the LICENSE.txt file. // This notice and the license may not be removed or altered from any source distribution. #pragma once #ifndef TWO_MODULES #include <math/Vec.hpp> #endif #include <tool/Forward.h> #include <...
584
746
<reponame>kmdkuk/AndroidTraining package jp.mixi.assignment.contentprovider.beg; import android.net.Uri; import android.provider.BaseColumns; public class Drink implements BaseColumns { @SuppressWarnings("unused") private static final String TAG = Drink.class.getSimpleName(); // TODO:AUTHORITYを定義してください...
451
2,360
<filename>var/spack/repos/builtin/packages/py-grandalf/package.py # 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 PyGrandalf(PythonPackage): ...
375
1,418
#include <string.h> #include <memory> #include <string> #include <unordered_set> #include "benchmark/benchmark.h" #include <brotli/encode.h> #include "huf.h" #include "lz4.h" #include <snappy.h> #include "zlib.h" #include "zstd.h" enum Compress { Brotli, Huff0, // only for input size <= 128KiB LZ4, None, /...
3,577
8,805
/*============================================================================= Copyright (c) 2006 <NAME> http://spirit.sourceforge.net/ 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) =================...
442
348
<filename>docs/data/leg-t2/082/08202157.json {"nom":"Saint-Beauzeil","circ":"2ème circonscription","dpt":"Tarn-et-Garonne","inscrits":85,"abs":46,"votants":39,"blancs":7,"nuls":0,"exp":32,"res":[{"nuance":"RDG","nom":"Mme <NAME>","voix":26},{"nuance":"FN","nom":"<NAME>","voix":6}]}
121
14,668
<reponame>zealoussnow/chromium // Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.weblayer.test; import android.os.SystemClock; import android.view.MotionEvent; import android.view.Vi...
913
861
/******************************************************************************* * Copyright 2016 Univocity Software 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 * * http://...
772
4,224
<reponame>uavosky/uavosky-px4 /**************************************************************************** * * Copyright (C) 2022 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
1,468
9,367
#import "SentryDefines.h" #import "SentrySampleDecision.h" #import "SentrySerializable.h" #import "SentrySpanStatus.h" NS_ASSUME_NONNULL_BEGIN @class SentryId, SentrySpanId; NS_SWIFT_NAME(SpanContext) @interface SentrySpanContext : NSObject <SentrySerializable> SENTRY_NO_INIT /** * Determines which trace the Span ...
943
343
<gh_stars>100-1000 from ...source_backends.literals import SOURCE_UNCOMPRESS_CHOICE_NEVER from ...source_backends.web_form_backends import SourceBackendWebForm from .base_mixins import SourceTestMixin class WebFormSourceTestMixin(SourceTestMixin): _create_source_method = '_create_test_web_form_source' def _...
266
473
<reponame>pingjuiliao/cb-multios /* * Copyright (C) <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to ...
494
4,822
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
2,116
930
<reponame>leven-space/matecloud package vip.mate.seata.point.service; import com.baomidou.mybatisplus.extension.service.IService; import vip.mate.seata.point.entity.Point; /** * 积分业务接口类 * @author pangu */ public interface IPointService extends IService<Point> { }
113
527
// INPUT:(((atom))) struct production { static constexpr auto rule // Either we parse ourselves surrounded by expressions, or an atom. = dsl::parenthesized(dsl::recurse<production>) | LEXY_LIT("atom"); };
80
799
<reponame>diCagri/content<filename>Packs/APIVoid/Integrations/APIVoid/APIVoid.py<gh_stars>100-1000 import demistomock as demisto from CommonServerPython import * from CommonServerUserPython import * ''' IMPORTS ''' import copy from base64 import b64decode # Disable insecure warnings requests.packages.urllib3.disable...
8,447
1,056
<reponame>timfel/netbeans<gh_stars>1000+ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Lice...
1,348
636
package cn.org.atool.fluent.mybatis.base.crud; import cn.org.atool.fluent.mybatis.base.IEntity; import cn.org.atool.fluent.mybatis.base.entity.IMapping; import cn.org.atool.fluent.mybatis.segment.WhereBase; import cn.org.atool.fluent.mybatis.segment.fragment.IFragment; import cn.org.atool.fluent.mybatis.segment.model....
1,084
892
{ "schema_version": "1.2.0", "id": "GHSA-mmjf-f5jw-w72q", "modified": "2021-12-24T00:01:23Z", "published": "2021-12-15T00:00:42Z", "aliases": [ "CVE-2021-4044" ], "details": "Internally libssl in OpenSSL calls X509_verify_cert() on the client side to verify a certificate supplied by a server. That fun...
769
419
{ "PlaceholderDesc_Npc": "Npc to which the item belongs", "PlaceholderDesc_SelectedItem": "Chosen item that is being checked", "PlaceholderDesc_Operator": "Compare operator. Will be loaded using the corresponding templates.", "PlaceholderDesc_OriginalOperator": "Compare operator which will not be lo...
139
2,342
/*********************************************************************** Vczh Library++ 3.0 Developer: <NAME>(vczh) GacUI::Native Window::Windows Implementation Interfaces: ***********************************************************************/ #ifndef VCZH_PRESENTATION_WINDOWS_SERVICESIMPL_WINDOWSSCREENSERVICE #def...
729
408
from ..adapters.mysql import MySQL from .base import SQLRepresenter, JSONRepresenter from . import representers @representers.register_for(MySQL) class MySQLRepresenter(SQLRepresenter, JSONRepresenter): pass
60
1,799
<reponame>wanglei91/Paddle-Lite // 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/L...
1,145
342
package com.alibaba.chaosblade.exec.common.model.action.returnv.compiler; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.regex.Pattern; import static com.alibaba.chaosblade.exec.common.model.action.returnv.compiler.Constant.*; import static com.alibaba.chaosblade.exec.com...
4,414
671
#coding=utf-8 import Config import random import os import numpy as np import torch from warpctc_pytorch import CTCLoss import torch.backends.cudnn as cudnn import lib.dataset import lib.convert import lib.utility from torch.autograd import Variable import Net.net as Net import torch.optim as optim def val(net, da, ...
2,684
619
<reponame>moredu/upm { "name": "UPM", "description": "The UPM API: High Level Sensor Library for Intel IoT Devices Using MRAA", "logo": "http://upload.wikimedia.org/wikipedia/commons/8/8c/Transparent.png", "options": { "outdir": "./html/node" } }
100
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...
22,232
1,909
package org.knowm.xchange.dsx.dto; public enum DsxSort { ASC, DESC; }
36
880
/** * Copyright 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 License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
469
314
<reponame>Brym-Gyimah/mmdetection<filename>mmdet/models/dense_heads/anchor_free_head.py # Copyright (c) OpenMMLab. All rights reserved. from abc import abstractmethod import torch import torch.nn as nn from mmcv.cnn import ConvModule from mmcv.runner import force_fp32 from mmdet.core import multi_apply from ..builder...
6,989
331
<reponame>xdoug7/BugshotKit<gh_stars>100-1000 // BSKAnnotationView.h // See included LICENSE file for the (MIT) license. // Created by <NAME> on 6/28/13. #import <UIKit/UIKit.h> #import <QuartzCore/QuartzCore.h> @interface BSKAnnotationView : UIView <UIGestureRecognizerDelegate> // Useful for subclasses: - (void)...
264
3,102
#ifndef C_H #define C_H extern int c; #endif
23
8,772
<gh_stars>1000+ package org.apereo.cas.support.wsfederation.authentication.handler.support; import org.apereo.cas.authentication.principal.PrincipalFactoryUtils; import org.apereo.cas.support.wsfederation.AbstractWsFederationTests; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test...
385
1,474
<gh_stars>1000+ /* * Copyright 2019 FormDev Software GmbH * * 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 ap...
2,614
809
/** * @file * * @date 26.05.10 * @author <NAME> * @author <NAME> */ #include <embox/test.h> #include <stdint.h> #include <hal/env/traps_core.h> #include <hal/test/traps_core.h> EMBOX_TEST_SUITE("divzero test"); static volatile uint32_t a = 17; static int was_in_trap = 0; /* MMU data access exception handler ...
305
1,676
<gh_stars>1000+ package firestream.chat.interfaces; import androidx.annotation.Nullable; import java.util.Date; import java.util.List; import java.util.Map; import firestream.chat.chat.User; import firestream.chat.firebase.rx.MultiRelay; import firestream.chat.message.Body; import firestream.chat.message.Sendable; i...
3,356
9,959
//CONF: lombok.fieldNameConstants.uppercase = true import lombok.experimental.FieldNameConstants; import lombok.AccessLevel; @FieldNameConstants(level = AccessLevel.PACKAGE) public class FieldNameConstantsUppercased { String iAmADvdPlayer; int $skipMe; static double skipMeToo; @FieldNameConstants.Exclude int andMe...
118
415
package nl.hannahsten.texifyidea.util; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; /** * @author <NAME> */ public class TexifyUtilTest { @Test public void appendExtension() throws Exception { String path = "SomePath"; Strin...
722
688
<reponame>rafaelcavazin/cloud-foundation-toolkit<gh_stars>100-1000 # Copyright 2018 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....
1,444
14,668
// 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 "ash/public/cpp/window_properties.h" #include "ash/shell.h" #include "ash/wm/desks/desks_util.h" #include "ash/wm/work_area_insets.h" #include "c...
7,156
703
package cc.mrbird.security.config; import org.springframework.beans.factory.ObjectProvider; import org.springframework.boot.autoconfigure.AutoConfigureAfter; import org.springframework.boot.autoconfigure.AutoConfigureBefore; import org.springframework.boot.autoconfigure.condition.*; import org.springframework.boot.aut...
2,171
2,151
<reponame>kjthegod/chromium // 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 "components/domain_reliability/dispatcher.h" #include "base/bind.h" #include "components/domain_reliability/test_uti...
573
1,040
<reponame>Ybalrid/orbiter<gh_stars>1000+ #define IDD_QUITDIALOG 101 #define IDD_SORRY 102 #define IDB_BUGIMAGE1 107 #define IDB_BUGIMAGE2 108 #define IDB_BUGIMAGE3 109 #define IDI_BUGICON 110 #define IDQUIT ...
259
634
<reponame>vttranlina/james-project /**************************************************************** * 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 copyrigh...
1,640
348
{"nom":"Orin","circ":"4ème circonscription","dpt":"Pyrénées-Atlantiques","inscrits":204,"abs":62,"votants":142,"blancs":11,"nuls":1,"exp":130,"res":[{"nuance":"DVD","nom":"<NAME>","voix":71},{"nuance":"REM","nom":"<NAME>","voix":59}]}
94
311
<gh_stars>100-1000 package datadog.smoketest.fieldinjection; import de.thetaphi.forbiddenapis.SuppressForbidden; import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; @SuppressForbidden public class FieldInjectionApp { public static void main(String... args) { ...
637
4,036
<reponame>vadi2/codeql class MyRange(object): def __init__(self, low, high): self.low = low self.high = high def __iter__(self): return MyRangeIterator(self.low, self.high) def skip(self, to_skip): return MyRangeIterator(self.low, self.high, to_skip) class MyRangeIterator(...
414
339
/* * Copyright (C) 2014 Indeed 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 ...
1,496
909
import java.util.Optional; import java.util.function.Predicate; /*start*/ class LambdaExpression { public void main(String[] args) { Optional<Integer> integers = Optional.of(12); integers.filter((Integer i) -> booleanFunction(i)); integers.filter((i) -> booleanFunction(i)); exampl...
823
326
##% Demo 5: How to use plotting functions # # This demo will demostrate the options for plotting projection and images # on TIGRE. The functions have been in previous demos, but in here an # exaustive explanation and usage of them is given. # # -------------------------------------------------------------------------- ...
1,397
5,411
<filename>vendor/chromium/base/allocator/partition_allocator/memory_reclaimer.cc // 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 "base/allocator/partition_allocator/memory_reclaimer.h" #includ...
1,441
1,364
<reponame>little-pan/kilim<gh_stars>1000+ // Copyright 2014 by nilangshah - offered under the terms of the MIT License package kilim.concurrent; import java.lang.reflect.Field; import sun.misc.Unsafe; @SuppressWarnings("restriction") public class UnsafeAccess { @SuppressWarnings("restriction") public static...
303
1,264
<filename>examples/from-wiki/thrust_interop.py #!python import pycuda import pycuda.autoinit import pycuda.gpuarray as gpuarray import numpy as np from cgen import * from codepy.bpl import BoostPythonModule from codepy.cuda import CudaModule #Make a host_module, compiled for CPU host_mod = BoostPythonModule() #Mak...
1,052
4,140
/* * 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")...
721
410
<reponame>CaledoniaProject/jmet package de.codewhite.jmet.types; /** * Created by kaimatt. */ public enum TargetType { ActiveMQ, Artemis, WebSphereMQ, Qpid10, Qpid09, HornetQ, SwiftMQ, RabbitMQ, OpenMQ }
113
370
<filename>src/petuum_ps_common/comm_bus/zmq_util.hpp #pragma once #include <zmq.hpp> #include <assert.h> #include <stdint.h> #include <time.h> namespace petuum { class ZMQUtil { public: static int32_t EntityID2ZmqID(int32_t entity_id); static int32_t ZmqID2EntityID(int32_t zmq_id); static void ZMQSetSock...
659
303
/** * 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 may...
788
1,272
<reponame>AndersSpringborg/avs-device-sdk /* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon....
982
493
<filename>ecal/core/include/ecal/ecal_callback.h /* ========================= eCAL LICENSE ================================= * * Copyright (C) 2016 - 2019 Continental Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
1,278
26,932
<gh_stars>1000+ // Copyright (C) 2001 <NAME>. All Rights Reserved. // Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved. // // This file is part of the VNC system. // // The VNC system is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public Li...
2,605
309
<reponame>balbok0/SMPyBandits<gh_stars>100-1000 #!/usr/bin/env python # -*- coding: utf-8 -*- """ Small utility to save the configuration dictionnary and file.""" from __future__ import division, print_function # Python 2 compatibility __author__ = "<NAME>" __version__ = "0.9" import os.path import shutil import re ...
1,317
460
<filename>jingwei-task-monitor/src/main/java/org/sxdata/jingwei/controller/HadoopController.java package org.sxdata.jingwei.controller; import net.sf.json.JSONArray; import net.sf.json.JSONObject; import org.pentaho.big.data.impl.cluster.NamedClusterImpl; import org.springframework.beans.factory.annotation.Autowired; ...
1,592
3,721
/*++ Copyright (c) Microsoft Corporation. All rights reserved. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. Module ...
1,118
451
// File Automatically generated by eLiSe #include "general/all.h" #include "private/all.h" #include "cEqAppui_PTInc_C2MEbner.h" cEqAppui_PTInc_C2MEbner::cEqAppui_PTInc_C2MEbner(): cElCompiledFonc(2) { AddIntRef (cIncIntervale("Intr",0,15)); AddIntRef (cIncIntervale("Orient",15,21)); AddIntRef (cIncInterv...
5,254
886
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : 19-11-20 0:15 # @Author : <NAME> # @Reference : https://github.com/MaybeShewill-CV/CRNN_Tensorflow # https://github.com/bai-shang/crnn_ctc_ocr.Tensorflow # @File : read_tfrecord.py # @IDE: PyCharm """ Efficient tfrecords writer interfa...
1,482
11,356
<reponame>Manu343726/boost-cmake /* * Copyright 1993, 1995 <NAME>. * * This file is part of Jam - see jam.c for Copyright information. */ /* * make.h - bring a target up to date, once rules are in place */ #ifndef MAKE_SW20111118_H #define MAKE_SW20111118_H #include "lists.h" #include "object.h" #include "rule...
326
435
package datawave.query.testframework; import com.google.common.collect.Multimap; import datawave.ingest.data.RawRecordContainer; import datawave.ingest.data.TypeRegistry; import datawave.ingest.data.config.NormalizedContentInterface; import datawave.ingest.json.config.helper.JsonIngestHelper; import datawave.ingest.js...
1,521
533
<reponame>giacomo-b/Insomniac from insomniac import activation_controller exec(activation_controller.get_extra_feature('limits'))
43
940
<gh_stars>100-1000 /* * video_macosx.h - Some video constants and globals * * $Id$ * * Basilisk II (C) 1997-2008 <NAME> * * 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 Foundation; either vers...
634
1,056
<filename>ide/bugzilla/src/org/netbeans/modules/bugzilla/commands/GetConfigurationCommand.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 work for additional information * regarding copyright o...
990
5,813
/* * 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,424
1,831
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * 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. */ #include "logdevice/common/MetaDataTracer.h" #include "logdevice/common/util.h" names...
495
1,599
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
7,085
443
<filename>tests/changes/api/test_kick_sync_repo.py import json import mock from changes.config import db from changes.testutils import APITestCase class KickSyncRepoTest(APITestCase): path = '/api/0/kick_sync_repo/' def setUp(self): self.repo = self.create_repo() db.session.commit() ...
472
4,262
<gh_stars>1000+ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "Lic...
1,563
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/CoreDAV.framework/CoreDAV */ #import <CoreDAV/CoreDAVTask.h> @class NSDictionary, NSString, CoreDAVXMLData, NSMutableDictionary; @interface CoreDAVMultiPutTask : CoreDAVTask { NSString *_appSpecificNamespace; // 1...
814
7,524
#pragma once value createKeymapEntry( const char *unmodified, const char *withShift, const char *withAltGraph, const char *withAltGraphShift );
50
843
<filename>api-metastore/src/test/java/org/zalando/nakadi/validation/schema/CategoryChangeConstraintTest.java<gh_stars>100-1000 package org.zalando.nakadi.validation.schema; import org.junit.Test; import org.zalando.nakadi.domain.EventCategory; import org.zalando.nakadi.domain.EventType; import org.zalando.nakadi.utils...
325
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 "chrome/updater/external_constants.h" #include "base/memory/scoped_refptr.h" namespace updater { ExternalConstants::ExternalConstants( sco...
150
2,266
<reponame>XmanAZC/EasyLogger /* * File : usb_device.h * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2012, RT-Thread Development Team * * 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 ...
4,386
348
{"nom":"Guimiliau","circ":"5ème circonscription","dpt":"Finistère","inscrits":740,"abs":372,"votants":368,"blancs":7,"nuls":2,"exp":359,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":121},{"nuance":"FI","nom":"Mme <NAME>","voix":63},{"nuance":"SOC","nom":"Mme <NAME>","voix":57},{"nuance":"DVD","nom":"M. <NAME>","voix...
297
810
<filename>document/Android/app/src/main/java/com/example/nanchen/aiyaschoolpush/model/ActivityModel.java package com.example.nanchen.aiyaschoolpush.model; /** * @author nanchen * @fileName AiYaSchoolPush * @packageName com.example.nanchen.aiyaschoolpush.model * @date 2016/10/10 14:43 */ public class ActivityMod...
299
852
<gh_stars>100-1000 //#define EDM_ML_DEBUG #include "MTDDiskSectorBuilderFromDet.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "DataFormats/GeometryVector/interface/VectorUtil.h" #include "DataFormats/GeometrySurface/interface/BoundingBox.h" #include <iomanip> using namespace std; namespace ...
1,730