max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
923
<reponame>riciche/SimpleCVReproduction<filename>pandoc-starter/MarkTex/marktex/markast/environment.py from .utils import ExtractTool from marktex.markast.line import RawLine,NewLine class Environment: def __init__(self) -> None: self.buffer = [] def append_raw(self,line): self.buffer.append(l...
2,366
432
/* * Copyright (c) 2018. Aberic - 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 applicabl...
468
997
#include "crypto_decode_256x2.h" void PQCLEAN_NTRULPR653_CLEAN_crypto_decode_256x2(void *v, const unsigned char *s) { unsigned char *r = v; int i; for (i = 0; i < 256; ++i) { r[i] = 1 & (s[i >> 3] >> (i & 7)); } }
125
587
<reponame>kiranmai-sfdev/aura<filename>aura/src/main/java/org/auraframework/css/FlavorOverrideLocator.java /* * Copyright (C) 2013 salesforce.com, 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 t...
791
2,996
<filename>engine/src/main/java/org/terasology/engine/rendering/assets/atlas/AltasTileProducer.java // Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.rendering.assets.atlas; import org.terasology.gestalt.assets.AbstractFragmentDataProducer; import org.teras...
384
353
<filename>windows_packages_gpu/torch/include/torch/csrc/jit/passes/xnnpack_rewrite.h #pragma once #include <torch/csrc/jit/api/module.h> #include <torch/csrc/jit/ir/ir.h> namespace torch { namespace jit { enum class MobileOptimizerType : int8_t { CONV_BN_FUSION, INSERT_FOLD_PREPACK_OPS, REMOVE_DROPO...
304
851
<filename>source/java/com/alcinoe/edittext/ALEditText.java<gh_stars>100-1000 package com.alcinoe.edittext; import android.widget.EditText; import android.util.AttributeSet; import android.content.Context; import android.view.KeyEvent; import android.text.InputFilter; public class ALEditText extends EditText { priv...
522
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/iTunesStoreUI.framework/iTunesStoreUI */ #import <iTunesStoreUI/SUScriptObject.h> @class NSString, SUMessagePart; @interface SUScriptMessagePart : SUScriptObject { } @property(readonly, assign) NSString *encodingBa...
452
777
<reponame>google-ar/chromium // 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 "chrome/browser/page_load_metrics/user_input_tracker.h" #include "base/time/time.h" #include "testing/gtest/include...
3,695
445
""" Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0 """ import datetime from cfnlint.rules import CloudFormationLintRule from cfnlint.rules import RuleMatch class Base(CloudFormationLintRule): """Check Base Template Settings""" id = 'E1001' shortdesc = 'Ba...
1,191
7,746
<gh_stars>1000+ /*++ Copyright (c) 2020 Microsoft Corporation Module Name: smt_parallel.h Abstract: Parallel SMT, portfolio loop specialized to SMT core. Author: nbjorner 2020-01-31 Revision History: --*/ #pragma once #include "smt/smt_context.h" namespace smt { class parallel { conte...
188
669
// Copyright(c) 2019 - 2020, #Momo // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met : // // 1. Redistributions of source code must retain the above copyright notice, this // list of conditions...
1,399
478
''' Bayesian Hidden Markov Model (Beal 2003) ======================================== Bernoulli emission probs: VBBernoulliHMM Gaussian emission probs: VBGaussianHMM Multinoulli emission probs: VBMultinoulliHMM ''' from .hmm import VBPoissonHMM ,VBGaussianHMM,VBBernoulliHMM __all__ = ['VBBernoulliHMM...
131
4,959
<gh_stars>1000+ from datetime import datetime, timedelta from http.cookies import SimpleCookie import pytest from sanic.cookies import Cookie from sanic.response import text # ------------------------------------------------------------ # # GET # ------------------------------------------------------------ # def...
3,106
848
<reponame>abhaikollara/tensorflow /* 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 ...
2,552
841
<reponame>arnevarholm/libhttp<gh_stars>100-1000 /* * Copyright (c) 2016 <NAME> * Copyright (c) 2016 the Civetweb developers * * 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 re...
9,951
1,210
<filename>src/ImgProc/GameRecognize/src/IniConfClass.h /* * Tencent is pleased to support the open source community by making GameAISDK available. * This source code file is licensed under the GNU General Public License Version 3. * For full details, please refer to the file "LICENSE.txt" which is provided as pa...
1,374
488
#ifndef __KLT_TILEK_THREADS_HPP__ #define __KLT_TILEK_THREADS_HPP__ #include "KLT/TileK/api-basic.hpp" #include <cstddef> namespace KLT { namespace TileK { struct threads_host_t : public ::KLT::API::host_t { protected: SgVariableSymbol * num_threads_field; public: virtual void loadUser(const ::MDCG::...
413
2,151
<gh_stars>1000+ // 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. #include "components/app_modal/javascript_dialog_manager.h" // #include <string> #include "base/strings/utf_string_conversions.h" #inclu...
1,447
460
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (<EMAIL>) ** ** This file is part of the Qt3Support module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ...
1,553
2,338
<reponame>mkinsner/llvm #include <stdio.h> #include <stdlib.h> #include "present.h" const int present_const_data = 5; int present_dirty_data = 10; void present_init(int in) { present_dirty_data += 10; } int present(char *to_be_removed_heap_buf, int to_be_removed_const_data, int to_be_removed_dirty_data)...
281
1,909
package org.knowm.xchange.bity; import java.util.HashMap; import java.util.List; import java.util.Map; import org.knowm.xchange.currency.CurrencyPair; import org.knowm.xchange.dto.marketdata.Ticker; public class BityTickersHolder { private Map<CurrencyPair, Ticker> mapTickers = new HashMap<>(); public BityTicke...
213
666
<gh_stars>100-1000 package com.renyu.androidpulllayout.myview; import android.animation.Animator; import android.animation.ObjectAnimator; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.v...
4,267
1,513
// common_type.hpp ---------------------------------------------------------// // Copyright 2008 <NAME> // Copyright 2008 <NAME> // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt #ifndef BOOST_TYPE_TRAITS_COMMON_TYPE_HPP #define BOOST_TYPE_TRAITS_COMMON_T...
2,335
1,428
#include <bits/stdc++.h> using namespace std; int solve(char* opr) { int x=((int)*opr-48); int y=((int)*(opr+2)-48); int z=(int)*(opr+1); return z=='+'? x+y:x-y; } int main() { char* opr = (char *)malloc(512000 * sizeof(char)); cin >> opr; int result = solve(opr); cout << result << endl; retur...
154
1,790
/* * Copyright (c) 2015, Cloudera, Inc. All Rights Reserved. * * Cloudera, Inc. licenses this file to you 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...
349
319
<gh_stars>100-1000 /** * Copyright (c) 2011, The University of Southampton and the individual contributors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * * Redistributions of sourc...
1,197
690
package com.artemis.system; import com.artemis.BaseSystem; import com.artemis.NullProfiler; import com.artemis.annotations.Profile; @Profile(enabled=false, using=NullProfiler.class) public class BeginEndSystem extends BaseSystem { @Override protected void processSystem() {} @Override protected void begin() {} ...
110
841
<reponame>pet0etie/cgeo<gh_stars>100-1000 package cgeo.geocaching.sorting; import cgeo.geocaching.models.Geocache; import cgeo.geocaching.storage.SqlBuilder; import cgeo.geocaching.utils.CalendarUtils; import androidx.annotation.NonNull; class StorageTimeComparator extends AbstractCacheComparator { @Override ...
289
407
<reponame>natefortuna/BIND // // MHPersonSectionViewModel.h // MVVM // // Created by <NAME> on 02/11/2014. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import "BNDViewModel.h" @interface MHPersonSectionViewModel : NSObject <BNDTableSectionViewModel> @property (nonatomic...
145
11,616
/** * Copyright © 2016-2021 The Thingsboard 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 applicab...
562
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Baudrecourt","circ":"2ème circonscription","dpt":"Haute-Marne","inscrits":86,"abs":46,"votants":40,"blancs":1,"nuls":0,"exp":39,"res":[{"nuance":"LR","nom":"<NAME>","voix":21},{"nuance":"FN","nom":"<NAME>","voix":18}]}
111
2,151
<reponame>bopopescu/chromium72-third-party-catapult<gh_stars>1000+ # 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. """Provides an endpoint for getting details about a sheriffed bug.""" import json import ...
1,029
1,213
import logging from banal import ensure_list from followthemoney import model from followthemoney.types import registry from followthemoney.exc import InvalidData from followthemoney.helpers import remove_checksums from aleph.logic.collections import index_aggregator, refresh_collection from aleph.logic.aggregator imp...
812
1,035
# coding: utf-8 """ Penguin Statistics - REST APIs Backend APIs for Arknights drop rate statistics website 'Penguin Statistics': https://penguin-stats.io/ # noqa: E501 OpenAPI spec version: 2.0.0 Contact: <EMAIL> Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __futur...
3,482
9,778
/* * src/pl/plpython/plpy_planobject.h */ #ifndef PLPY_PLANOBJECT_H #define PLPY_PLANOBJECT_H #include "executor/spi.h" #include "plpy_typeio.h" typedef struct PLyPlanObject { PyObject_HEAD SPIPlanPtr plan; int nargs; Oid *types; Datum *values; PLyObToDatum *args; MemoryContext mcxt; } PLyPlanObje...
226
2,455
<filename>thrust/system/detail/generic/mismatch.inl /* * Copyright 2008-2013 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licen...
876
711
<reponame>jingetiema2100/MicroCommunity package com.java110.vo.api.storeAttr; import com.java110.vo.MorePageVo; import java.io.Serializable; import java.util.List; public class ApiStoreAttrVo extends MorePageVo implements Serializable { List<ApiStoreAttrDataVo> storeAttrs; public List<ApiStoreAttrDataVo> g...
189
765
<gh_stars>100-1000 //===-- DWARFASTParser.h ----------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===--------...
847
3,680
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
12,202
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...
5,749
30,023
<filename>tests/components/plaato/__init__.py<gh_stars>1000+ """Tests for the Plaato integration."""
37
2,542
<filename>src/prod/src/Reliability/Failover/common/ReplicaFlags.h // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // --------------------------...
459
575
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "extensions/common/extensions_client.h" #include "base/check.h" #include "base/metrics/histogram_macros.h" #include "base/notreached.h" #include...
1,381
516
from .frontend.entry import HarmonicScatteringEntry3D __all__ = ['HarmonicScatteringEntry3D']
31
459
<reponame>alastor1729/play-samples import dagger.MyApplicationLoader; import org.junit.Test; import play.Application; import play.ApplicationLoader; import play.Environment; import play.mvc.Http; import play.mvc.Result; import play.test.Helpers; import play.test.WithApplication; import java.util.Arrays; import java.ut...
454
5,168
/** * \file dnn/test/rocm/convolution.cpp * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS ...
10,898
5,169
{ "name": "CDI", "version": "1.0.0-beta", "summary": "Simple, easy and very powerful way to use context and dependency injection for objective c development.", "description": " Using CDI will reduce the boilerplate code in many classes, increase readability and allow better testing using the ...
443
3,269
<reponame>Priyansh2/LeetCode-Solutions // Time: O(m * 2^m + 3^m + 2^(3 * m) * logn) = O(2^(3 * m) * logn) // Space: O(2^(2 * m)) // better complexity for small m, super large n class Solution { public: int colorTheGrid(int m, int n) { if (m > n) { swap(m, n); } const int basis ...
7,963
471
package com.dtflys.forest.filter; import com.dtflys.forest.config.ForestConfiguration; import com.dtflys.forest.converter.xml.ForestXmlConverter; /** * @author gongjun[<EMAIL>] * @since 2017-12-15 14:56 */ public class XmlFilter implements Filter { @Override public Object doFilter(ForestConfiguration conf...
182
380
package graphql.spring.web.servlet.components; import graphql.ExecutionInput; import graphql.ExecutionResult; import graphql.GraphQL; import graphql.Internal; import graphql.spring.web.servlet.ExecutionInputCustomizer; import graphql.spring.web.servlet.GraphQLInvocation; import graphql.spring.web.servlet.GraphQLInvoca...
550
4,053
#!/usr/bin/env python3 import random import sys import matplotlib.pyplot as plt def read_data(files): results = [] for f in files: with open(f) as f: for line in f.readlines(): test, lang, impl, secs, _ = line.split() splt = test.split('_') r...
1,881
1,016
package com.thinkbiganalytics.spark.datavalidator; /*- * #%L * kylo-spark-validate-cleanse-model * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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 ...
827
2,151
<reponame>zipated/src /* * Copyright (C) 2013 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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
1,669
675
<filename>vendor/github.com/jdeng/goheif/libde265/libde265/quality.cc /* * H.265 video codec. * Copyright (c) 2013-2014 struktur AG, <NAME> <<EMAIL>> * * This file is part of libde265. * * libde265 is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public Licen...
1,165
762
import abc from pymoo.util.normalization import PreNormalization class Indicator(PreNormalization): def __init__(self, **kwargs): super().__init__(**kwargs) # what should an indicator return if no solutions are provided is defined here self.default_if_empty = 0.0 def do(self, F, *a...
333
348
<filename>src/openms/thirdparty/IsoSpec/IsoSpec/summator.h /* * Copyright (C) 2015-2020 <NAME> and <NAME>. * * This file is part of IsoSpec. * * IsoSpec is free software: you can redistribute it and/or modify * it under the terms of the Simplified ("2-clause") BSD licence. * * IsoSpec is distributed i...
1,119
2,151
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "VkTestUtils.h" #ifdef SK_VULKAN #include "../ports/SkOSLibrary.h" namespace sk_gpu_test { bool LoadVkLibraryAndGetProcAddrFuncs(PFN_vkGetInstanceProcAddr* instPr...
759
589
<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 ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the...
859
5,547
/*---------------------------------------------------------------------------- * Tencent is pleased to support the open source community by making TencentOS * available. * * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. * If you have downloaded a copy of the TencentOS binary from Tenc...
544
400
// -*- C++ -*- Copyright (c) Microsoft Corporation; see license.txt #pragma once #include "Hh.h" // This macro can be set here, in Makefile, or at the top of any source file (if careful with precompiled headers). // #define HH_NO_OPENMP #if 0 { parallel_for_int(i, n) { func(i); } cond_parallel_for_int(n*100...
2,132
1,178
<reponame>leozz37/makani<filename>avionics/firmware/cpu/memory.c /* * Copyright 2020 Makani Technologies 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....
397
435
{ "copyright_text": "Standard YouTube License", "description": "Pilnas pavadinimas: Transakcinis Python objekt\u0173 saugojimas Mongo DB, PostgreSQL, fail\u0173 sistemoje\nangl. \"Persistance in Python\"\n\n[4:45 NO SOUND (SORRY!)]\nhttp://pycon.lt/2017.html", "duration": 1468, "language": "lit", "recorded": ...
353
344
/* * Copyright (c) 2021 The WebRTC 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 in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
639
6,270
[ { "type": "feature", "category": "MediaConvert", "description": "IMF decode from a Composition Playlist for IMF specializations App #2 and App #2e; up to 99 input clippings; caption channel selection for MXF; and updated rate control for CBR jobs. Added support for acceleration in preview"...
193
320
<reponame>2757571500/sdk<gh_stars>100-1000 /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.jme3.netbeans.plaf.darkmonkey; import javax.swing.UIManager; import org.netbean...
1,473
1,814
<filename>waymo_open_dataset/metrics/python/wod_detection_evaluator_test.py # Copyright 2019 The Waymo Open Dataset 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 ...
3,076
1,676
<reponame>sanogotech/chat-sdk-android<gh_stars>1000+ package sdk.chat.ui.binders; import android.view.View; import android.widget.TextView; import sdk.chat.ui.chat.model.MessageHolder; import sdk.chat.ui.module.UIConfig; import sdk.chat.ui.module.UIModule; public class NameBinder { public void bind(TextView use...
248
870
/* * 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 ...
731
32,544
package com.baeldung.jsontojavaclass; import java.io.File; import java.io.IOException; import java.net.URL; import org.jsonschema2pojo.DefaultGenerationConfig; import org.jsonschema2pojo.GenerationConfig; import org.jsonschema2pojo.Jackson2Annotator; import org.jsonschema2pojo.SchemaGenerator; import org.jsonschema2p...
828
3,100
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2018 <NAME>. All rights reserved. *...
768
1,306
<gh_stars>1000+ /* * Copyright (C) 2012 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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
4,115
582
<reponame>zx273983653/vulscan<filename>plug/migrations/0001_initial.py<gh_stars>100-1000 # -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-08-09 23:38 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependenc...
1,266
399
<reponame>KirmesBude/REGoth-bs #include "DaedalusVMForGameWorld.hpp" #include "DaedalusClassVarResolver.hpp" #include <RTTI/RTTI_DaedalusVMForGameWorld.hpp> #include <Scene/BsSceneObject.h> #include <animation/StateNaming.hpp> #include <components/Character.hpp> #include <components/CharacterAI.hpp> #include <component...
15,656
790
""" This module contains various Python decorators. """ __docformat__ = "restructuredtext en" # --------------------------------------------------------------------------- # Imports # --------------------------------------------------------------------------- # -------------------------------------------------------...
1,785
586
/* * ****************************************************************************** * Copyright (c) 2013 <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 * * ...
1,437
852
#include "DataFormats/Common/interface/Handle.h" #include "DataFormats/HcalDigi/interface/HcalDigiCollections.h" #include "FWCore/Framework/interface/EDAnalyzer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include <cstdio> #include <iostream> using namespace...
3,889
1,585
/* * Copyright (c) 2018-2020 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. * Copyright (c) 2020 <NAME>. All rights reserved. * Copyright (c) 2020 Cisco Systems, Inc. All rights reserved. * $COPY...
11,895
791
<reponame>ValtoForks/EtherealEngine #ifndef GENERATOR_EMPTYPATH_HPP #define GENERATOR_EMPTYPATH_HPP #include "edge.hpp" #include "iterator.hpp" #include "path_vertex.hpp" namespace generator { /// Empty path with zero vertices and edges. class empty_path_t { public: class edges_t { public: edge_t generate() con...
279
628
<filename>tsconfig.json { "compilerOptions": { "rootDir": ".", "outDir": "build", // vue-cli depends on webpack4 which doesn't support es2020. webpack 5 does. // so, to support version of vue-cli that are in use (August 2021), // downgrade target to es2019. "target": "es2019", "module": "...
555
572
from unittest import TestCase, main from xpto import eh_par class Testes(TestCase): def test_par(self): self.assertEqual(eh_par(2), True) def test_impar(self): self.assertEqual(eh_par(3), False) def test_string(self): self.assertEqual(eh_par('string'), False) def test_float...
182
1,822
// Copyright (c) 2007-2016 <NAME> // // SPDX-License-Identifier: BSL-1.0 // 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) #pragma once #include <hpx/config.hpp> #include <hpx/plugins/binary_filter/zlib_seriali...
1,287
435
<reponame>amaajemyfren/data { "copyright_text": null, "description": "", "duration": 2187, "language": null, "recorded": "2018-11-14", "related_urls": [ { "label": "Conference schedule", "url": "http://pyparis.org/static/pdf/Schedule-PyParis-2018.pdf" }, { "label": "Conference ...
386
450
<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 ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the ...
556
4,606
<filename>python_modules/dagster/dagster/api/notebook_data.py<gh_stars>1000+ from dagster import check def sync_get_streaming_external_notebook_data_grpc(api_client, notebook_path): from dagster.grpc.client import DagsterGrpcClient check.inst_param(api_client, "api_client", DagsterGrpcClient) check.str_p...
162
675
<gh_stars>100-1000 /* * Copyright 2016 The Bazel 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 * * U...
2,187
843
<reponame>mayhemheroes/cista<gh_stars>100-1000 #include "doctest.h" #ifdef SINGLE_HEADER #include "cista.h" #else #include "cista/containers/vector.h" #endif TEST_CASE("to_tuple") { namespace data = cista::offset; data::vector<uint32_t> a; a.emplace_back(1u); a.emplace_back(2u); a.emplace_back(3u); data:...
173
361
{ "name": "Dealer", "script": "Dealer.js", "version": "1.2", "description": "Deals and takes cards from players by deck\r\rSyntax is:\r`!deal --[give,take] [#] --[deck name]|[Card Name]`\r\rIf give/take is not specified, it gives a card to the player controlling the selected token If deck name is not specified,...
475
7,892
<filename>src/commands/AppCommandEvent.cpp<gh_stars>1000+ /********************************************************************** Audacity - A Digital Audio Editor Copyright 1999-2009 Audacity Team File License: wxWidgets <NAME> ******************************************************************//** \fil...
435
485
package io.indexr.util; import org.junit.Assert; import org.junit.Test; import java.lang.reflect.Constructor; public class ReflectionTest { static class A {} static class B extends A {} static class C { int ctrId; public C(A a, B b, int i) { ctrId = 1; } pu...
412
575
<gh_stars>100-1000 // Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/bind.h" #include "base/command_line.h" #include "base/files/file_path.h" #include "base/files/scoped_temp_dir.h" #includ...
7,046
1,590
<reponame>libc16/azure-rest-api-specs { "parameters": { "logicalNetworkName": "87ab394f-165f-4aa9-bd84-b018500b4509", "fabricName": "cloud1", "api-version": "2021-10-01", "resourceName": "vault1", "resourceGroupName": "resourceGroupPS1", "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a"...
494
443
/* * Copyright (C) 2017 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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1,135
347
package org.ovirt.engine.core.dao; import java.util.List; import org.ovirt.engine.core.common.businessentities.StorageDomainStatus; import org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; import org.ovirt.engine.core.common.businessentities.StoragePoolIsoMapId; import org.ovirt.engine.core.compat.Guid...
382
435
{ "copyright_text": "Creative Commons Attribution license (reuse allowed)", "description": "En esta charla repasaremos el protocolo de los descriptores, casos de uso y sus aplicaciones m\u00e1s directas en la librer\u00eda est\u00e1ndar, como son properties y slots.\n\nLa audiencia deber\u00eda tener un conocimient...
386
335
<filename>A/Adverse_adjective.json { "word": "Adverse", "definitions": [ "Preventing success or development; harmful; unfavourable." ], "parts-of-speech": "Adjective" }
80
575
// 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. #include "net/reporting/reporting_garbage_collector.h" #include <utility> #include <vector> #include "base/bind.h" #include "base/time/tick_clock.h" #in...
1,100
2,151
# Copyright (c) 2015 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ { 'target_name': 'enable_winrt_10_platversion_dll', 'type': 'shared_library', 'msvs_enable_winrt': 1, 'msvs_application...
671
692
#include <stdint.h> #include <assert.h> #include <limits.h> #include <sys/time.h> #include "core/adios_logger.h" #include "core/transforms/adios_transforms_common.h" #include "core/transforms/adios_transforms_write.h" #include "core/transforms/adios_transforms_hooks_write.h" #include "core/transforms/adios_transforms_...
2,566
6,160
/* * 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 ...
526