max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
2,706
<reponame>MatPoliquin/retro // Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors // Licensed under the MIT License: // // 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 Softw...
1,072
1,047
<filename>Sources/DarkModeCore/DMNamespace.h // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, DMNamespace) { DMNamespaceDM NS_SWIFT_NAME(dm), };
90
3,402
/* * 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,175
348
{"nom":"<NAME>","circ":"9ème circonscription","dpt":"Bas-Rhin","inscrits":4817,"abs":2746,"votants":2071,"blancs":65,"nuls":26,"exp":1980,"res":[{"nuance":"REM","nom":"<NAME>","voix":1118},{"nuance":"LR","nom":"<NAME>","voix":862}]}
95
513
# -*- coding: utf-8 -*- import argparse import logging import sys from docker_squash import squash from docker_squash.errors import SquashError from docker_squash.version import version # Source: http://stackoverflow.com/questions/1383254/logging-streamhandler-and-standard-streams class SingleLevelFilter(logging.Fi...
1,724
307
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on the * source. * */ #include <algorithm> #include "asteroid/asteroid.h" #include "cmdline/...
55,602
703
<reponame>Tekh-ops/ezEngine #include <RendererCore/RendererCorePCH.h> #include <Core/WorldSerializer/WorldReader.h> #include <Core/WorldSerializer/WorldWriter.h> #include <RendererCore/Components/RenderTargetActivatorComponent.h> #include <RendererCore/Pipeline/ExtractedRenderData.h> #include <RendererCore/Pipeline/Vi...
1,128
1,851
// Copyright © 2016 <NAME>. All rights reserved. // // 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 use, copy, modif...
5,938
1,338
// TranslatorTestAddOn.h #ifndef TRANSLATOR_TEST_ADD_ON_H #define TRANSLATOR_TEST_ADD_ON_H #include <TestCase.h> #include <TestSuite.h> #include <TestSuiteAddon.h> #include <DataIO.h> #include <TranslationDefs.h> bool CompareStreams(BPositionIO &a, BPositionIO &b); void CheckTranslatorInfo(translator_info *pti, ui...
248
1,168
#ifndef BASIC_H #define BASIC_H void foo(); #endif
25
400
package org.ofdrw.gm.ses.v1; import org.bouncycastle.asn1.*; import java.util.Enumeration; /** * 电子印章数据 * * @author 权观宇 * @since 2020-04-19 15:33:55 */ public class SESeal extends ASN1Object { /** * 印章信息 */ private SES_SealInfo esealInfo; /** * 制章人对印章签名的信息 */ private SES_Sig...
795
487
// Copyright 2017-2020 The Verible 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...
523
360
<reponame>opengauss-mirror/openGauss-graph /* ------------------------------------------------------------------------- * * pg_amop.h * definition of the system "amop" relation (pg_amop) * along with the relation's initial contents. * * The amop table identifies the operators associated with each index operat...
1,164
418
<filename>OpenShop/BFUserDetailsViewController.h<gh_stars>100-1000 // // BFUserDetailsViewController.h // OpenShop // // Created by <NAME> // Copyright (c) 2015 Business Factory. All rights reserved. // #import "BFModalViewController.h" #import <RETableViewManager.h> #import <TPKeyboardAvoidingTableView.h> NS_ASS...
219
413
<gh_stars>100-1000 /* gdbmgr.h: this header file supports the gdbmgr program * Author: <NAME>, Jr. * Date: Nov 21, 2008 */ /* ===================================================================== * Header Section: {{{1 */ /* ------------------------------------------------------------------------ * Includes...
1,357
348
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
1,245
922
<gh_stars>100-1000 /* * Hibernate Validator, declare and validate application constraints * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.validator.cfg.defs; import org.hibernate.validator.cfg.Const...
344
343
package com.ejlchina.searcher.param; /** * 分页参数 * @author Troy.Zhou @ 2021-10-31 * @since v3.0.0 */ public class Paging { /** * 分页:最大条数(用于分页) */ private int size; /** * 分页:查询偏移条数(用于分页) */ private long offset; public Paging(int size, long offset) { this.size = size...
349
1,723
<filename>tutorials/scc-inspec/scc/create_source.py import argparse import google.auth import google.auth.impersonated_credentials from google.cloud.securitycenter_v1p1beta1 import SecurityCenterClient parser = argparse.ArgumentParser() parser.add_argument('--org_id', required=True) parser.add_argument('--serviceacco...
542
395
<reponame>jabader97/backpack<filename>backpack/extensions/curvmatprod/hmp/dropout.py from backpack.core.derivatives.dropout import DropoutDerivatives from backpack.extensions.curvmatprod.hmp.hmpbase import HMPBase class HMPDropout(HMPBase): def __init__(self): super().__init__(derivatives=DropoutDerivativ...
122
2,603
<reponame>JVVJV/FreeRTOS /*********************************************************************************************************************** * DISCLAIMER * This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. * No other uses are authorized. This softwa...
6,766
11,877
<gh_stars>1000+ /* * Copyright 2020 <NAME>. 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 require...
630
383
#include <direct.h> #include "EventTraceHelper.h" #define LOGSESSION_NAME L"winml" struct __declspec(uuid("{BCAD6AEE-C08D-4F66-828C-4C43461A033D}")) WINML_PROVIDER_GUID_HOLDER; static const auto WINML_PROVIDER_GUID = __uuidof(WINML_PROVIDER_GUID_HOLDER); DWORD PointerSize = 0; /*logman update trace winm...
9,628
825
<reponame>jiangkang/Hummer<filename>android/hummer-sdk/src/main/java/com/didi/hummer/render/utility/YogaAttrUtils.java package com.didi.hummer.render.utility; import android.graphics.Color; /** * Created by XiaoFeng on 2019-10-20. */ public class YogaAttrUtils { /** * 判断string是否含有数字 * * @param v...
1,779
331
<reponame>janst97/Monal /* This file is a part of JRTPLIB Copyright (c) 1999-2011 <NAME> Contact: <EMAIL> This library was developed at the Expertise Centre for Digital Media (http://www.edm.uhasselt.be), a research center of the Hasselt University (http://www.uhasselt.be). The library is based upon work...
3,081
8,599
/* * Copyright 2010-2020 Alfresco Software, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
1,357
685
package com.kaichunlin.transition.app; import android.app.Activity; import android.app.AlertDialog; import android.view.View; import com.sothree.slidinguppanel.SlidingUpPanelLayout; import kaichunlin.transition.app.R; /** * Created by Kai on 2015/5/28. */ public class DialogPanelSlideListener implements SlidingUp...
400
879
package org.zstack.sdk.identity.role.api; public class DeleteRoleResult { }
29
3,326
# Copyright 2017 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...
608
360
<filename>docs/source/_static/managed-policies/AWSElasticBeanstalkMaintenance.json { "Version": "2012-10-17", "Statement": [ { "Sid": "AllowCloudformationChangeSetOperationsOnElasticBeanstalkStacks", "Effect": "Allow", "Action": [ "cloudformation:CreateChangeSet", "cloudformati...
392
971
#pragma once #include "execution/sql/sql.h" namespace noisepage::parser { /** * Stores parameter metadata, e.g. type. */ class Parameter { public: /** Whether a parameter is a constant or a variable. */ enum class Mutability { CONSTANT = 0, VARIABLE = 1 }; /** * Instantiates a new parameter with the giv...
580
4,283
/* * Copyright (c) 2008-2021, Hazelcast, 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 ...
415
20,995
// Copyright 2014 the V8 project 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 "src/base/sys-info.h" #include "testing/gtest/include/gtest/gtest.h" namespace v8 { namespace base { TEST(SysInfoTest, NumberOfProcessors) { ...
207
988
//------------------------------------------------------------------------------ // GxB_Vector_export_CSC: export a vector in CSC format //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, <NAME>, (c) 2017-2021, All Rights Reserved. // SPDX-License-Identifier: Apa...
1,246
460
#include <gsl/gsl_math.h> #include <gsl/gsl_cblas.h> #include "cblas.h" #include "error_cblas_l2.h" void cblas_chemv (const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo, const int N, const void *alpha, const void *A, const int lda, const void *X, const int incX, const void *beta, void *...
196
568
package com.novoda.pianohero; import android.media.AudioFormat; import android.media.AudioManager; import android.media.AudioTrack; import android.support.annotation.Nullable; class AndroidSynthSpeaker implements Speaker { private static final double durationSeconds = 0.1; private static final int sampleRate...
855
3,056
/* * Copyright 2021 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
395
301
<gh_stars>100-1000 //****************************************************************** // // Copyright 2016 Samsung Electronics All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this...
1,777
2,151
/* * Copyright (c) 2012 The Native Client 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 "native_client/src/trusted/service_runtime/nacl_config.h" #include "native_client/tests/signal_handler_single_step/step_test_sysc...
183
1,444
<gh_stars>1000+ package mage.cards.o; import java.util.UUID; import mage.abilities.mana.GreenManaAbility; import mage.abilities.mana.RedManaAbility; import mage.abilities.mana.WhiteManaAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; /** * * @author Loki */ publ...
327
442
<filename>SVHN/test_calibration.py<gh_stars>100-1000 import numpy as np import sys import os import pickle import argparse import torch import torch.nn as nn import torch.backends.cudnn as cudnn import torchvision.transforms as trn import torchvision.datasets as dset import torch.nn.functional as F from models.allconv ...
7,059
722
<filename>model_tools/src/caffe/caffe_adaptee.h<gh_stars>100-1000 // Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. // 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 wi...
29,510
450
<reponame>Khaos116/PowerTunnel-Android package ru.krlvm.powertunnel.android.receiver; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.net.VpnService; import android.os.Build; import android.preference.Pref...
851
1,240
<reponame>raghavpartani/open-event-organizer-android package com.eventyay.organizer.utils; import com.eventyay.organizer.data.event.Event; import com.eventyay.organizer.utils.service.DateService; import org.junit.Test; import org.threeten.bp.LocalDateTime; import java.text.ParseException; import timber.log.Timber; ...
1,547
303
package com.yuyh.bankcardformat; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.widget.TextView; import com.example.library.BandCardEditText; import com.example.library.BankCardListener; public class MainActivity extends AppCompatActivity { Ban...
449
1,853
<gh_stars>1000+ /* * Copyright 2017-2021 Dromara.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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
774
539
<reponame>hoskillua/geometry-central #pragma once // The MeshIO class provides a variety of methods for mesh input/output. #include "geometrycentral/surface/manifold_surface_mesh.h" #include "geometrycentral/surface/vertex_position_geometry.h" #include <fstream> #include <string> namespace geometrycentral { namespa...
1,536
72,551
<filename>test/Interop/Cxx/implementation-only-imports/Inputs/user-b.h #ifndef TEST_INTEROP_CXX_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USER_B_H #define TEST_INTEROP_CXX_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USER_B_H #include "helper.h" #endif // TEST_INTEROP_CXX_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USER_B_H
138
3,066
/* * Licensed to Crate.io GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not use this f...
747
190,993
<reponame>ashutom/tensorflow-upstream /* 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 ...
2,431
1,875
<filename>core/src/main/java/org/teavm/parsing/CompositeClassHolderSource.java /* * Copyright 2017 <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.apac...
575
439
<reponame>odidev/pyaes # The MIT License (MIT) # # Copyright (c) 2014 <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 limitation the rights # t...
2,292
5,514
package com.u9porn.parser; import android.text.TextUtils; import com.orhanobut.logger.Logger; import com.u9porn.data.model.BaseResult; import com.u9porn.data.model.MeiZiTu; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import java.util.Arr...
2,067
32,544
<filename>spring-cloud/spring-cloud-aws/src/test/java/com/baeldung/spring/cloud/aws/SpringContextLiveTest.java package com.baeldung.spring.cloud.aws; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.Sprin...
230
32,544
<reponame>DBatOWL/tutorials<filename>java-native/src/test/java/com/baeldung/jvmbitversion/JVMBitVersionUnitTest.java<gh_stars>1000+ package com.baeldung.jvmbitversion; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.Before; import org.junit.Test; import com.sun.jna.Platform; public cla...
660
1,379
<reponame>jerryuhoo/PaddleSpeech # Copyright (c) 2022 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...
1,182
435
<gh_stars>100-1000 { "copyright_text": null, "description": "", "duration": 1425, "language": "eng", "recorded": "2018-10-04", "related_urls": [ { "label": "Conference website", "url": "https://pycon.ee/" } ], "speakers": [ "<NAME>" ], "tags": [], "thumbnail_url": "https://...
254
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,296
852
#ifndef CSCWireDigi_CSCWireDigiCollection_h #define CSCWireDigi_CSCWireDigiCollection_h /** \class CSCWireDigiCollection * * Based on DTDigiCollection.h * \author <NAME> - CMU * */ #include "DataFormats/MuonDetId/interface/CSCDetId.h" #include "DataFormats/CSCDigi/interface/CSCWireDigi.h" #include "DataFormats/...
176
2,151
<filename>third_party/blink/renderer/platform/text/capitalize_test.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 "third_party/blink/renderer/platform/text/capitalize.h" #include "testing/...
553
2,151
<reponame>ceremetrix/X # Copyright 2008-2009 WebDriver committers # Copyright 2008-2009 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/LICE...
1,294
418
#ifndef FFT_H_ #define FFT_H_ typedef float DTYPE; typedef int INTTYPE; #define M 10 /* Number of Stages = Log2N */ #define SIZE 1024 /* SIZE OF FFT */ #define SIZE2 SIZE>>1 /* SIZE/2 */ void fft(DTYPE XX_R[SIZE], DTYPE XX_I[SIZE]); //W_real and W_image are twiddle factors for 1024 size FFT. //WW_R[i]=cos(e*i/S...
208
1,085
[ {"sourceType": "HBASE", "tags": ["community"]}, {"sourceType": "TERADATA", "tags": ["beta"]}, {"sourceType": "CASSANDRA", "disabled": true}, {"sourceType": "SALESFORCE", "disabled": true}, {"sourceType": "NETEZZA", "disabled": true} ]
91
822
package com.zlm.hp.libs.download; import com.zlm.hp.libs.download.utils.TaskThreadUtil; import java.io.Serializable; import java.util.Date; /** * 下载任务 * * @author zhangliangming */ public class DownloadTask implements Serializable { /** * 任务id */ private String taskId; /** * 任务名称 ...
1,737
435
{ "description": "En los \u00faltimos a\u00f1os se ha popularizado la utilizaci\u00f3n de Python en el 'ambiente cient\u00edfico'. Esta tendencia creciente de debe al solapamiento entre las caracter\u00edsticas diferenciales que provee el lenguaje (y las bibliotecas especializadas) y las necesidades del cient\u00edfi...
856
338
package com.tvd12.ezyfoxserver.testing.socket; import java.net.InetSocketAddress; import java.nio.channels.DatagramChannel; import org.testng.annotations.Test; import com.tvd12.ezyfoxserver.socket.EzySimpleUdpReceivedPacket; public class EzySimpleUdpReceivedPacketTest { @Test public void test() { D...
383
380
from .imports import * from .foundation import * from .dispatch import * from .utils import * from .script import * from .transform import *
38
839
/** * 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 m...
886
479
<filename>gerrit-server/src/main/java/com/google/gerrit/server/plugins/PluginEntry.java // Copyright (C) 2014 The Android Open Source Project // // 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 ...
752
2,607
<filename>Src/PRuntimes/PSymbolicRuntime/src/main/java/psymbolic/runtime/NondetUtil.java package psymbolic.runtime; import psymbolic.valuesummary.Guard; import psymbolic.valuesummary.GuardedValue; import psymbolic.valuesummary.PrimitiveVS; import psymbolic.valuesummary.util.ValueSummaryUnionFind; import java.util.*; ...
2,454
14,668
<filename>chrome/test/data/extensions/crx_installer/v2_no_permission_change/manifest.json { "name": "CRX Installer Test New Title", "version": "2", "manifest_version": 2, "permissions": ["tabs"], "icons": { "16": "icon.png" }, "homepage_url": "http://chrome.google.com" }
117
777
// 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_DATA_USE_MEASUREMENT_CHROME_DATA_USE_ASCRIBER_SERVICE_H_ #define CHROME_BROWSER_DATA_USE_MEASUREMENT_CHROME_DATA_USE_ASCRIBER_SERVI...
1,198
9,402
<reponame>pyracanda/runtime<filename>src/tests/Interop/PInvoke/Generics/GenericsNative.SpanB.cpp // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #include <stdio.h> #include <stdint.h> #include <xplatform.h> #include <platformdefin...
455
1,347
<filename>tests/examples/factory/test_factory.py import pytest from eth_utils import keccak import vyper @pytest.fixture def create_token(get_contract): with open("examples/tokens/ERC20.vy") as f: code = f.read() def create_token(): return get_contract(code, *["VyperCoin", "FANG", 0, 0]) ...
783
852
<reponame>ckamtsikis/cmssw #ifndef CASTOR_CALIBRATION_WIDTHS_H #define CASTOR_CALIBRATION_WIDTHS_H /** \class CastorCalibrationWidths Container for retrieving uncertainties of calibration constants for Castor */ class CastorCalibrationWidths { public: CastorCalibrationWidths() : mGain{}, mPedestal{} {}; ...
255
683
<filename>instrumentation/opentelemetry-api-metrics-1.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/opentelemetryapi/metrics/bridge/ApplicationBoundDoubleHistogram.java /* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.instrum...
373
1,448
/*===================================================================*/ /* */ /* Mapper 9 (MMC2) */ /* */ /*==============================...
2,989
2,151
// 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 "ash/metrics/desktop_task_switch_metric_recorder.h" #include "ash/metrics/user_metrics_recorder.h" #include "ash/shell.h" #include "ash/wm/windo...
439
350
/* * Copyright 2020 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 ...
7,015
3,428
<filename>lib/node_modules/@stdlib/datasets/spam-assassin/data/easy-ham-2/00388.06d9471d9bb3270cc5caa33d267a1e9e.json {"id":"00388","group":"easy-ham-2","checksum":{"type":"MD5","value":"06d9471d9bb3270cc5caa33d267a1e9e"},"text":"From <EMAIL> Tue Aug 13 10:30:49 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>.net...
1,129
2,542
<reponame>AnthonyM/service-fabric // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ----------------------------------------------------------...
5,284
3,172
<reponame>jkren6/PARL<filename>examples/NeurIPS2018-AI-for-Prosthetics-Challenge/final_submit/test.py # Copyright (c) 2018 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 ...
1,435
1,545
<filename>bookkeeper-server/src/main/java/org/apache/bookkeeper/tools/cli/commands/bookies/MetaFormatCommand.java /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyrig...
934
1,093
<gh_stars>1000+ /* * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unle...
2,018
14,668
<filename>third_party/blink/renderer/bindings/scripts/bind_gen/code_node_cxx_test.py # 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. import unittest from .code_node import SymbolNode from .code_node impor...
2,877
868
<filename>tests/activemq5-unit-tests/src/test/java/org/apache/activemq/load/LoadClient.java<gh_stars>100-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 own...
2,264
2,962
<filename>storio-sqlite-annotations-processor-test/src/test/resources/BoxedTypesMethodsFactoryMethodSQLiteTypeMapping.java package com.pushtorefresh.storio3.sqlite.annotations; import com.pushtorefresh.storio3.sqlite.SQLiteTypeMapping; /** * Generated mapping with collection of resolvers. */ public class BoxedTypes...
241
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...
1,551
306
from . import data from . import metrics from . import models from . import train from . import util
25
995
package zemberek.morphology.analysis; import static zemberek.core.turkish.PhoneticAttribute.LastLetterVoiceless; import static zemberek.core.turkish.PhoneticAttribute.LastLetterVowel; import static zemberek.core.turkish.PhoneticAttribute.LastVowelBack; import static zemberek.core.turkish.PhoneticAttribute.LastVowelFro...
2,937
930
package com.foxinmy.weixin4j.type.mch; /** * 对账单类型 * * @className BillType * @author jinyu(<EMAIL>) * @date 2014年10月31日 * @since JDK 1.6 * @see * @deprecated 迁移到子模块weixin4j-pay */ @Deprecated public enum BillType { /** * 全部 */ ALL(0), /** * 成功订单 */ SUCCESS(1), /** * 退款订单 */ REFUND(2); priv...
246
1,308
/* * 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...
982
1,131
/* * 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 ...
987
4,559
<gh_stars>1000+ """ Copyright 2017-2018 Fizyr (https://fizyr.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
3,462
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. #ifndef CHROME_BROWSER_SEARCH_BACKGROUND_NTP_BACKGROUND_DATA_H_ #define CHROME_BROWSER_SEARCH_BACKGROUND_NTP_BACKGROUND_DATA_H_ #include <string> #inclu...
1,155
5,087
<gh_stars>1000+ import tensorflow as tf sess = tf.Session() a = tf.placeholder("float") b = tf.placeholder("float") c = tf.constant(6.0) d = tf.mul(a, b) y = tf.mul(d, c) print sess.run(y, feed_dict={a: 3, b: 3}) A = [[1.1,2.3],[3.4,4.1]] Y = tf.matrix_inverse(A) print sess.run(Y) sess.close()
151
599
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
1,479
2,199
<gh_stars>1000+ { "Logging": { "LogLevel": { "Default": "Trace", "System": "Information", "Microsoft": "Information" } }, "Kestrel": { "EndpointDefaults": { "Protocols": "Http2" } }, "MagicOnion": { "OpenTelemetry": { "ServiceName": "ChatApp.Server", // ...
324
852
# -*- coding: utf-8 -*- import FWCore.ParameterSet.Config as cms process = cms.Process("L1TMuonEmulation") import optparse process.load("FWCore.MessageLogger.MessageLogger_cfi") process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(1) process.options = cms.untracked.PSet(wantSummary = cms.untracked.b...
1,018
17,809
<reponame>ScriptBox21/winget-cli<filename>src/AppInstallerCommonCore/HttpStream/HttpClientWrapper.h // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once namespace AppInstaller::Utility::HttpStream { // Wrapper around HTTP client. When created, an object of this class wi...
756