max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
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. #include "android_webview/browser/aw_browser_terminator.h" #include <unistd.h> #include <memory> #include "android_webview/browser/aw_render_process_gon...
2,682
574
/* * Copyright (C) 2013 Facebook, 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 agr...
1,412
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. #ifndef IOS_CHROME_BROWSER_WEB_FAKE_MAILTO_HANLDERS_H_ #define IOS_CHROME_BROWSER_WEB_FAKE_MAILTO_HANLDERS_H_ #import "ios/chrome/browser/web/mailto_hand...
401
401
package com.koali.utils; import org.apache.commons.net.ftp.FTP; import org.apache.commons.net.ftp.FTPClient; import java.io.IOException; import java.io.InputStream; public class FtpUtil { public static boolean uploadPicture(String FTP_HOSTNAME,int FTP_PORT,String FTP_USERNAME,String FTP_PASSWORD,String FTP_REMOTE...
518
796
<filename>src/maple_driver/src/mpl_options.cpp /* * Copyright (c) [2019-2020] Huawei Technologies Co.,Ltd.All rights reserved. * * OpenArkCompiler is licensed under the Mulan PSL v1. * You can use this software according to the terms and conditions of the Mulan PSL v1. * You may obtain a copy of Mulan PSL v1 at: ...
5,628
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...
852
549
/*************************************************************************** * Copyright (c) <NAME>, <NAME>, <NAME> and * * <NAME> * * Copyright (c) QuantStack * * Copyright (c) <NAME> ...
480
14,668
#!/usr/bin/env vpython # 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. """Functions for adding results to perf dashboard.""" # This file was copy-pasted over from: # //build/scripts/slave/results_dash...
6,702
587
/* * Copyright 2017-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,317
7,739
<gh_stars>1000+ # Copyright (c) 2019 Uber Technologies, 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 applicab...
4,170
2,151
{ "name": "connect_test_class_app", "display_name": "Connect Test Class App", "interface_provider_specs": { "service_manager:connector": { "provides": { "connect_unittests:class": [ "service_manager.test.mojom.ClassInterface" ], "connect_unittests:connect_test_service": [ "serv...
171
1,475
/* * 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 not ...
715
933
<gh_stars>100-1000 # -*- coding: utf-8 -*- import caffe import numpy as np import sys, getopt def Print(name, data, sz, dims): print "=======",name,"======" print sz print dims print data def main(argv): model_filename = '' yoloweight_filename = '' caffemodel_filename = '' try: opts, args = getopt.getopt(a...
2,147
60,067
<gh_stars>1000+ #pragma once #include <torch/csrc/jit/tensorexpr/codegen.h> #include <torch/csrc/jit/tensorexpr/ir_printer.h> namespace torch { namespace jit { namespace tensorexpr { class CppVarNameRewriter; // Generates C++ code from the IR. // // Vector operations are unrolled. // For example: // C[Ramp(0, 1, 3)...
858
1,562
/* ** upb_encode: parsing into a upb_msg using a upb_msglayout. */ #ifndef UPB_ENCODE_H_ #define UPB_ENCODE_H_ #if COCOAPODS==1 #include "third_party/upb/upb/msg.h" #else #include "upb/msg.h" #endif #ifdef __cplusplus extern "C" { #endif char *upb_encode(const void *msg, const upb_msglayout *l, upb_arena *are...
219
190,993
# Copyright 2020 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 required by applica...
1,827
782
<gh_stars>100-1000 /* * Copyright (c) 2021, <NAME>. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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 * * ht...
9,900
340
<filename>libraries/libibverbs-1.2.1mlnx1/include/infiniband/freeflow.h /* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. */ #ifndef FREEFLOW_H #define FREEFLOW_H #include "infiniband/verbs.h" #include "infiniband/freeflow-types.h" #include <pthread.h> extern void mem_fl...
1,018
398
<gh_stars>100-1000 package com.ruiyun.jvppeteer.protocol.page; /** * Fired when frame has been detached from its parent. */ public class FrameDetachedPayload { /** * Id of the frame that has been detached. */ private String frameId; public String getFrameId() { return frameId; } ...
155
1,760
<gh_stars>1000+ //#include<iostream> #include<fstream> #include<vector> using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pi; #define FOR(i, a, b) for (int i=a; i<b; i++) #define F0R(i, a) for (int i=0; i<a; i++) #define pb push_back vi a,b; int n; int main() { ifstream ...
357
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. // ------------------------------------------------------------ #include "stdafx.h" // // Glo...
2,098
1,217
""" :synopsis: Interface classes to Redis components, such as, e.g., ordered lists. """ from datetime import datetime from webrecorder.utils import get_bool, get_new_id # ============================================================================ class DupeNameException(Exception): """Raised when field name alre...
12,177
471
<filename>corehq/motech/dhis2/schema.py from schema import Optional as SchemaOptional from schema import Regex, Schema from corehq.motech.dhis2.const import ( DHIS2_EVENT_STATUSES, DHIS2_PROGRAM_STATUSES, ) id_schema = Regex(r"^[A-Za-z0-9]+$") # DHIS2 accepts date values, but returns datetime values for dates...
3,370
370
/* * FILE: video_capture/testcard_common.c * AUTHOR: <NAME> <<EMAIL> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> ...
2,630
921
<filename>python/PyAlembic/PyOGeomParamVertexPoint.cpp<gh_stars>100-1000 //-***************************************************************************** // // Copyright (c) 2012, // <NAME> Imageworks Inc. and // Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. // // All rights reserved. /...
1,117
4,163
"""Nonwords."""
6
939
# 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 in writing, ...
2,768
2,338
// Test this without pch. // RUN: %clang_cc1 -include %s -emit-llvm -o - %s // Test with pch. // RUN: %clang_cc1 -emit-pch -o %t %s // RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s #ifndef HEADER #define HEADER template<typename T, typename... Types> struct static_variant { alignas(Types...) T storage[10]; ...
189
3,127
<reponame>pe1uca/TableView<gh_stars>1000+ /* * MIT License * * Copyright (c) 2021 <NAME> * * 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...
1,612
1,040
//----------------------------------------------------------------------------- // File: DDEx5.CPP // // Desc: Direct Draw example program 5. Adds functionality to // example program 4. Uses GetEntries() to read a palette, // modifies the entries, and then uses SetEntries() to update // the palette....
6,640
677
// Copyright 2017 The Lynx Authors. All rights reserved. package com.lynx.core; import com.lynx.base.CalledByNative; public class ResultCallback { @CalledByNative public void onReceiveResult(Object result) {} }
70
1,444
<filename>Mage.Sets/src/mage/cards/m/MoonrageBrute.java package mage.cards.m; import mage.MageInt; import mage.abilities.costs.common.PayLifeCost; import mage.abilities.keyword.FirstStrikeAbility; import mage.abilities.keyword.NightboundAbility; import mage.abilities.keyword.WardAbility; import mage.cards.CardImpl; im...
509
653
<gh_stars>100-1000 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d -target-feature +experimental-v \ // RUN: -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2reg | FileCheck ...
29,575
777
// 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. #ifndef MIDIAccessInitializer_h #define MIDIAccessInitializer_h #include "bindings/core/v8/ScriptPromise.h" #include "bindings/core/v8/ScriptPromiseResol...
1,554
488
// $Id: RIFG.h,v 1.1 2004/07/07 10:26:34 dquinlan Exp $ // -*-C++-*- // * BeginRiceCopyright ***************************************************** // // Copyright ((c)) 2002, Rice University // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitte...
1,335
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. from page_sets.login_helpers import login_utils def LoginDesktopAccount(action_runner, credential, credentials_path=login_utils.DEFAULT_CR...
534
369
<reponame>ethanpeng/OSVR-Core /** @file @brief Header for determining what "WinAPI Family Partition" we're in, in a simple way. Must be c-safe! @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ /* // Copyright 2015 Sensics, Inc. // // Licensed under the Apache License, Version...
741
308
<filename>test/unit/ext/phpfpm/objects/master.py # -*- coding: utf-8 -*- from hamcrest import * from test.base import BaseTestCase from test.fixtures.defaults import DEFAULT_UUID from amplify.ext.phpfpm.objects.master import PHPFPMObject __author__ = "<NAME>" __copyright__ = "Copyright (C) Nginx, Inc. All rights res...
2,158
575
{ "authors": [ "yitter", "HuntLabs" ], "description": "A minimal D application.", "license": "proprietary", "name": "yitterd" }
59
993
# Copyright (c) 2021 PPViT 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 by applicable l...
9,071
1,338
<reponame>Kirishikesan/haiku<filename>src/add-ons/accelerants/radeon/ProposeDisplayMode.c /* Copyright (c) 2002-2004, <NAME> Part of Radeon accelerant Everything concerning getting/testing display modes */ #include "radeon_accelerant.h" #include "generic.h" #include <string.h> #include "GlobalData.h" #includ...
12,788
324
// server_parameters_test.cpp #include "mongo/unittest/unittest.h" #include "mongo/db/server_parameters.h" namespace mongo { TEST( ServerParameters, Simple1 ) { int f = 5; ExportedServerParameter<int> ff( NULL, "ff", &f, true, true ); ASSERT_EQUALS( "ff" , ff.name() ); ASSERT_EQU...
728
879
package org.zstack.test.storage.volume; import junit.framework.Assert; import org.junit.Before; import org.junit.Test; import org.zstack.core.cloudbus.CloudBus; import org.zstack.core.componentloader.ComponentLoader; import org.zstack.core.db.DatabaseFacade; import org.zstack.header.configuration.DiskOfferingInventory...
910
861
<filename>src/main/java/com/univocity/parsers/common/beans/PropertyWrapper.java /* * Copyright (c) 2015. 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 * * ...
899
892
{ "schema_version": "1.2.0", "id": "GHSA-h2v6-g6vj-68hg", "modified": "2022-05-01T23:27:50Z", "published": "2022-05-01T23:27:50Z", "aliases": [ "CVE-2008-0132" ], "details": "Pragma FortressSSH 5.0 Build 4 Revision 293 and earlier handles long input to sshd.exe by creating an error-message window and ...
605
12,252
package org.keycloak.theme; import org.keycloak.Config; import org.keycloak.models.KeycloakSession; import org.keycloak.models.KeycloakSessionFactory; public class DefaultThemeSelectorProviderFactory implements ThemeSelectorProviderFactory { @Override public ThemeSelectorProvider create(KeycloakSession sessi...
224
2,211
<filename>pay-java-wx/src/main/java/com/egzosn/pay/wx/v3/bean/response/WxPayMessage.java package com.egzosn.pay.wx.v3.bean.response; import java.math.BigDecimal; import java.util.Date; import java.util.List; import java.util.Map; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.annotation.JSONField...
4,886
335
{ "word": "Race", "definitions": [ "A competition between runners, horses, vehicles, etc. to see which is the fastest in covering a set course.", "A series of races for horses or dogs, held at a fixed time on a set course.", "A situation in which individuals or groups compete to be first...
292
460
<filename>include/astrometry/2mass.h<gh_stars>100-1000 /* # This file is part of the Astrometry.net suite. # Licensed under a 3-clause BSD style license - see LICENSE */ #ifndef TWOMASS_H #define TWOMASS_H #include <stdint.h> #include "astrometry/an-bool.h" /** See: . ftp://ftp.ipac.caltech.edu/pub/2mass/a...
2,281
32,544
package com.baeldung.bufferedreader; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.stream.Collectors; public class BufferedReaderExample { public String readAllLines(BufferedReader reader) throws IOException { StringBuilder content = new StringBuil...
1,055
1,812
#include "anim/ClipsController.h" #include "anim/KinCharacter.h" const std::string gMotionsKey = "Motions"; const std::string gFileKey = "File"; const std::string gWeightKey = "Weight"; cClipsController::tMotionEntry::tMotionEntry() { mWeight = 1.0; } cClipsController::cClipsController() { mCurrMotionID = gInvalid...
1,962
488
typedef int ParseErrorHandler_t(int *x, const char * token, char demark, int errorCode); static ParseErrorHandler_t parseErrorHandler; static int parseErrorHandler(int *x, const char * token, char demark, int errorCode) { return errorCode; }
85
5,169
{ "name": "DatePickerDialog-ObjC", "version": "1.1.8", "summary": "Date picker dialog for iOS", "homepage": "https://github.com/gameleon-dev/DatePickerDialog-iOS-ObjC", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "<NAME>": "<EMAIL>" }, "platforms": { "ios": "8.0" },...
230
1,712
<reponame>j123123/llilc #!/usr/bin/env python import sys import argparse import os import subprocess import platform import io import string import difflib def expandPath(path): return os.path.abspath(os.path.expanduser(path)) def runTidy(args): tidyFix = "-fix" if args.fix else "" osInc = "" osIncList = ...
4,498
1,144
<filename>backend/de.metas.materialtracking/src/main/java/de/metas/materialtracking/qualityBasedInvoicing/impl/QualityInspectionOrder.java package de.metas.materialtracking.qualityBasedInvoicing.impl; /* * #%L * de.metas.materialtracking * %% * Copyright (C) 2015 metas GmbH * %% * This program is free software: ...
4,976
679
<filename>main/vcl/inc/vcl/strhelper.hxx /************************************************************** * * 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 owner...
939
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.logic.models; import com.azure.resourcemanager.logic.fluent.models.WorkflowTriggerHistoryInner; import java.time.OffsetDateTime;...
1,012
678
<filename>iOSOpenDev/frameworks/iTunesStore.framework/Headers/ISDialogTextField.h<gh_stars>100-1000 /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/iTunesStore.framework/iTunesStore */ #import <iTunesStore/XXUnknownSuperclass.h> @class NSString; @interface ISDia...
582
713
<reponame>vansh-tiwari/coding-interview-gym class Solution(object): def flipAndInvertImage(self, A): """ :type A: List[List[int]] :rtype: List[List[int]] """ rowCount = len(A) columnCount = len(A[0]) for row in A: for columnIdx in range((columnCoun...
234
706
import torch from torch import nn from torch.autograd import Function from torch.autograd.function import once_differentiable from maskrcnn_benchmark import _C class _SigmoidFocalLoss(Function): @staticmethod def forward(ctx, logits, targets, num_classes, gamma, alpha): ctx.save_for_backward(logits, ...
763
737
<reponame>hongyangAndroid/LoadingAndRetryManager<filename>loadingandretrymanager/src/main/java/com/zhy/base/loadandretry/test/MyApplication.java package com.zhy.base.loadandretry.test; import android.app.Application; import com.zhy.base.loadandretry.LoadingAndRetryManager; import com.zhy.base.loadandretry.R; /** * ...
280
1,883
<filename>openbr/plugins/metadata/namelandmarks.cpp<gh_stars>1000+ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright 2012 The MITRE Corporation * * * * Licensed unde...
1,322
1,800
package com.github.wxiaoqi.security.modules.admin.vo; import lombok.Data; /** * @author <NAME> * @create 2020/7/17. */ @Data public class AccessInterface { String path; String method; }
74
30,023
"""Define test fixtures for AirVisual.""" import json from unittest.mock import patch import pytest from homeassistant.components.airvisual.const import ( CONF_INTEGRATION_TYPE, DOMAIN, INTEGRATION_TYPE_GEOGRAPHY_COORDS, ) from homeassistant.const import ( CONF_API_KEY, CONF_LATITUDE, CONF_LON...
937
1,261
<filename>src/cocoa/toga_cocoa/widgets/divider.py from travertino.size import at_least from toga_cocoa.libs import NSBox, NSBoxType from .base import Widget class Divider(Widget): def create(self): self.native = NSBox.alloc().init() self.native.interface = self.interface self.native.box...
415
2,151
// Copyright (c) 2012 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/renderer_host/chrome_render_message_filter.h" #include <stdint.h> #include <string> #include "base/bind.h" #include "base/...
4,821
416
<gh_stars>100-1000 package org.springframework.roo.converters; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import java.util.StringTokenizer; import org.apache.felix.scr.annotations.Component; import org.apache.felix.scr.annotations.Service; import org.springframework.roo.shell.Complet...
452
1,484
<filename>tests/unit/anchore_engine/subsys/auth/test_realms.py import pytest from anchore_engine.auth.oauth import token_manager from anchore_engine.subsys import logger from anchore_engine.subsys.auth.stores.verifier import BearerTokenVerifier, JwtToken from anchore_engine.utils import ensure_str logger.enable_test_...
708
453
/****************************************************************************** * Author: <NAME> <<EMAIL>> * * Copyright (C) 2014-2016 <NAME> <<EMAIL>> * * Licensed according to the included 'LICENSE' document * * This file is part of lua-lluv library. *******************************************************************...
1,009
13,746
<filename>.venv/lib/python3.8/site-packages/mkdocs/utils/filters.py import json import jinja2 import markupsafe from mkdocs.utils import normalize_url def tojson(obj, **kwargs): return markupsafe.Markup(json.dumps(obj, **kwargs)) @jinja2.contextfilter def url_filter(context, value): """ A Template filter ...
150
1,930
#!/usr/bin python3 """ Cli Options and Config functions for the GUI """ import inspect from argparse import SUPPRESS from tkinter import ttk import lib.cli as cli from lib.Serializer import JSONSerializer import tools.cli as ToolsCli from .utils import FileHandler, Images class CliOptions(object): """ Class and ...
4,695
2,460
<filename>kubernetes-server-mock/src/test/java/io/fabric8/kubernetes/client/server/mock/KubernetesMockServerTest.java /** * Copyright (C) 2015 Red Hat, 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...
620
1,083
/* * 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 ...
700
2,921
{ "name": "<NAME>", "type": "BEP20", "symbol": "KISHUBABY", "decimals": 9, "website": "https://kishu.baby/", "description": "The Lovely KISHUBABY was created on June 27th, 2021 with the goal of being a decentralized meme project with a true purpose. Formed by an awesome team of highly-skilled de...
183
4,124
<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 *...
447
1,821
/* * Copyright 2018- The Pixie 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 ag...
17,035
348
<gh_stars>100-1000 {"nom":"Saint-Maurice-de-Lignon","circ":"1ère circonscription","dpt":"Haute-Loire","inscrits":1813,"abs":934,"votants":879,"blancs":34,"nuls":16,"exp":829,"res":[{"nuance":"LR","nom":"Mme <NAME>","voix":484},{"nuance":"REM","nom":"Mme <NAME>","voix":345}]}
115
396
<gh_stars>100-1000 package me.everything.providers.sample.fragments; import android.widget.TextView; import me.everything.providers.android.telephony.*; import me.everything.providers.core.Data; import me.everything.providers.sample.base.GetCursorTask; import me.everything.providers.sample.base.RecycleViewCursorFragm...
477
1,473
# SPDX-License-Identifier: Apache-2.0 """Unit Tests for Benchmarks.""" import os import subprocess from backend_test_base import Tf2OnnxBackendTestBase from common import ( check_opset_min_version, check_tf_min_version, unittest_main, check_onnxruntime_min_version ) # pylint: disable=missing-docstring,invali...
487
450
<filename>include/onnc/Diagnostic/Policy.h<gh_stars>100-1000 //===- DiagnosticPolicy.h -------------------------------------------------===// // // The ONNC Project // // See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #ifndef ...
241
1,830
<gh_stars>1000+ /* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Licensed under the Zeebe Community License 1.1. You may not u...
309
672
<gh_stars>100-1000 #!/usr/bin/env python from __future__ import absolute_import from __future__ import unicode_literals from __future__ import division from __future__ import print_function import sys import os import re import argparse import logging import json from pprint import pprint import numpy as np import ma...
7,073
2,466
<reponame>magneticflux-/skija package org.jetbrains.skija.svg; import lombok.*; import org.jetbrains.annotations.*; import org.jetbrains.skija.*; @AllArgsConstructor @lombok.Data @With public class SVGLengthContext { @ApiStatus.Internal public final float _width; @ApiStatus.Internal public final float _height...
1,135
2,890
<reponame>amorvos/light-task-scheduler package com.github.ltsopensource.admin.request; /** * @author <NAME> (<EMAIL>) on 6/6/15. */ public class PaginationReq { private Integer start = 0; private Integer limit = 10; private String field; private String direction; public String getField() { ...
337
2,209
doctests = """ ########### Tests mostly copied from test_listcomps.py ############ Test simple loop with conditional >>> sum({i*i for i in range(100) if i&1 == 1}) 166650 Test simple case >>> {2*y + x + 1 for x in (0,) for y in (1,)} set([3]) Test simple nesting >>> list(sorted({(i,j) for i in...
1,610
348
<filename>docs/data/t2/071/71376.json {"nom":"Roussillon-en-Morvan","dpt":"Saône-et-Loire","inscrits":264,"abs":76,"votants":188,"blancs":13,"nuls":11,"exp":164,"res":[{"panneau":"1","voix":96},{"panneau":"2","voix":68}]}
97
2,365
<reponame>daofresh/primevue<gh_stars>1000+ { "main": "./paginator.cjs.js", "module": "./paginator.esm.js", "unpkg": "./paginator.min.js", "types": "./Paginator.d.ts", "browser": { "./sfc": "./Paginator.vue" } }
112
2,633
<reponame>geoah/unit import re import subprocess import pytest from unit.applications.lang.ruby import TestApplicationRuby class TestRubyApplication(TestApplicationRuby): prerequisites = {'modules': {'ruby': 'all'}} def test_ruby_application(self): self.load('variables') body = 'Test body s...
6,060
357
<filename>vmidentity/idm/interface/src/main/java/com/vmware/identity/performanceSupport/PerfMeasurementInterface.java /* * * Copyright (c) 2012-2015 VMware, 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 Li...
559
778
/** * 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...
3,777
528
from onepk_helper import NetworkDevice from onep.routing import Routing,RouteRange,L3UnicastScope,L3UnicastRouteRange,L3UnicastRIBFilter from onep.routing import L3UnicastRIBFilter from onep.interfaces import NetworkPrefix def display_routes(net_element): ROUTES_TO_RETURN = 10 # Create a Routing object ...
765
458
<gh_stars>100-1000 package io.github.davidbuchanan314.nxloader; public class Constants { public static final String LINK_GITHUB = "https://github.com/DavidBuchanan314/NXLoader"; public static final String LINK_TWITTER = "https://twitter.com/david3141593"; public static final String LOGGER_ACTION = "io.gi...
160
575
<filename>chrome/browser/ash/login/screens/mock_arc_terms_of_service_screen.cc // 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 "chrome/browser/ash/login/screens/mock_arc_terms_of_service_screen...
427
487
<filename>jps-plugin/src/org/intellij/erlang/jps/builder/ErlangTargetType.java<gh_stars>100-1000 /* * Copyright 2012-2014 <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 * * htt...
800
7,482
<gh_stars>1000+ /** * \file * * \brief Monochrome graphic library NULL display device with framebuffer * * Copyright (c) 2011-2015 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permi...
1,762
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. #include "chromecast/browser/cast_browser_interface_binders.h" #include "base/bind.h" #include "chromecast/browser/applica...
2,054
309
/* * Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE 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 * * Unle...
860
1,279
// Generated by GenerateIconFontCppHeaders.py for language C89 // from https://raw.githubusercontent.com/google/material-design-icons/master/iconfont/codepoints // for use with https://github.com/google/material-design-icons/blob/master/iconfont/MaterialIcons-Regular.ttf #pragma once #define ICON_MIN_MD 0xe000 #define...
22,656
1,799
// Copyright (c) 2020 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...
1,117
465
<filename>src/and_weight.cpp<gh_stars>100-1000 /* * Tencent is pleased to support the open source community by making wwsearch * available. * * Copyright (C) 2018-present Tencent. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compli...
406