max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
411
{ // NOTE: You will also need to update the php7.x-fpm and/or apache settings. // https://submitty.org/sysadmin/system_customization // 200 mb maximum submission size "max_submission_size" : 200000000, "assignment_message" : "\nNo automatic grading for this assignment. 200 mb maximum instructor b...
208
2,151
<filename>third_party/webrtc/src/chromium/src/third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix4_fs_sse.c /* * Copyright (c) 2013 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...
900
606
package org.arend.core.expr.let; import org.arend.core.expr.ClassCallExpression; import org.arend.core.expr.Expression; public class TypedLetClause extends LetClause { public Expression type; protected TypedLetClause(String name, LetClausePattern pattern, Expression expression, Expression type) { super(name,...
232
319
<reponame>shipci/sympy<filename>doc/src/modules/mpmath/plots/chebyu.py # Chebyshev polynomials U_n(x) on [-1,1] for n=0,1,2,3,4 f0 = lambda x: chebyu(0,x) f1 = lambda x: chebyu(1,x) f2 = lambda x: chebyu(2,x) f3 = lambda x: chebyu(3,x) f4 = lambda x: chebyu(4,x) plot([f0,f1,f2,f3,f4],[-1,1])
163
432
<gh_stars>100-1000 /* Loop header copying on trees. Copyright (C) 2004-2018 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (a...
5,462
14,668
// 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 "components/permissions/object_permission_context_base.h" #include <utility> #include "base/bind.h" #include "base/containers/contains.h" #incl...
4,082
984
<reponame>om-sharma/java-driver /* * Copyright DataStax, 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 ap...
1,718
14,668
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <vector> #include "base/memory/ref_counted.h" #include "base/strings/utf_string_conversions.h" #include "services/device/public/cpp/test/fake_us...
3,731
746
// Copyright (c) OpenMMLab. All rights reserved. #include "operator.h" #include <algorithm> namespace mmdeploy::graph { Result<void> Gather(const Value::Array& array, const vector<int>& idxs, Value::Array& output) { if (idxs.empty()) { return success(); } auto max_idx = *max_element(begin(idxs), end(idxs)...
1,724
1,359
package com.kalessil.phpStorm.phpInspectionsEA.inspectors.languageConstructions; import com.intellij.codeInspection.ProblemsHolder; import com.intellij.openapi.util.Couple; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiElementVisitor; import com.intellij.psi.PsiWhiteSpace; import com.jetbrains.php.lan...
7,214
1,442
<reponame>VersiraSec/epsilon-cfw #ifndef SHARED_MESSAGE_VIEW_H #define SHARED_MESSAGE_VIEW_H #include <escher/i18n.h> #include <escher/message_text_view.h> #include <escher/view.h> namespace Shared { class MessageView : public Escher::View { public: MessageView(const I18n::Message * messages, const KDColor * color...
308
820
import unittest from datetime import datetime import pandas as pd import numpy as np from msticpy.analysis.anomalous_sequence.utils.data_structures import Cmd from msticpy.analysis.anomalous_sequence import anomalous class TestAnomalous(unittest.TestCase): def setUp(self) -> None: self.sessions1 = [ ...
1,707
852
#ifndef SimG4Core_PhysicsLists_FTFPCMS_BERT_EMN_H #define SimG4Core_PhysicsLists_FTFPCMS_BERT_EMN_H #include "SimG4Core/Physics/interface/PhysicsList.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" class FTFPCMS_BERT_EMN : public PhysicsList { public: FTFPCMS_BERT_EMN(const edm::ParameterSet& p); }; #en...
139
559
<reponame>sghill/msl /** * Copyright (c) 2014 Netflix, 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 * ...
2,698
428
<filename>src/main/java/info/ata4/bsplib/BspException.java /* ** 2011 April 5 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freel...
348
994
<reponame>YiuChoi/MicroReader package name.caiyao.microreader.presenter.impl; import android.content.Context; import android.text.TextUtils; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import java.util.ArrayList; import name.caiyao.microreader.api.weiboVideo.VideoRequest; import name.caiy...
2,144
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.billing.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.core.management.ProxyResource; import com.azure...
3,309
689
from chemprop.args import HyperoptArgs import os import pickle from typing import List, Dict import csv import json from hyperopt import Trials from chemprop.constants import HYPEROPT_SEED_FILE_NAME from chemprop.utils import makedirs def merge_trials(trials: Trials, new_trials_data: List[Dict]) -> Trials: """ ...
3,194
542
<reponame>js20166098/sxfStandard<gh_stars>100-1000 /* * Copyright ©2018 vbill.cn. * <p> * 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/LIC...
1,111
1,738
<filename>dev/Gems/CloudGemAWSScriptBehaviors/Code/Source/AWSBehaviorS3Upload.h /* * 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 s...
953
11,750
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Tiling(_BaseTraceHierarchyType): # class properties # -------------------- _parent_path_str = "treemap" _path_str = "treemap.tiling" _valid_props = {"flip", "packing", "pad", "squarifyrat...
3,346
1,073
<reponame>oubotong/Armariris<gh_stars>1000+ // Tests for instrumentation of C++ constructors and destructors. // // RUN: %clang_cc1 -triple x86_64-apple-macosx10.11.0 -x c++ %s -o - -emit-llvm -fprofile-instrument=clang | FileCheck %s struct Foo { Foo() {} Foo(int) {} ~Foo() {} }; struct Bar : public Foo { Ba...
334
513
<gh_stars>100-1000 /* * The MIT License * * Copyright (C) 2010-2016 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * 'Software'), to deal in the Software without restriction, including * without limitat...
3,607
2,144
<reponame>fredsterorg/incubator-pinot /** * 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 Licens...
57,549
348
{"nom":"<NAME>","circ":"1ère circonscription","dpt":"Eure","inscrits":206,"abs":117,"votants":89,"blancs":3,"nuls":3,"exp":83,"res":[{"nuance":"REM","nom":"<NAME>","voix":60},{"nuance":"FN","nom":"<NAME>","voix":23}]}
87
1,953
/* * Copyright 2011 SpringSource * * 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 t...
751
5,216
// // BabyTestExpretaion.h // BabyTestProject // // Created by 刘彦玮 on 16/3/14. // Copyright © 2016年 liuyanwei. All rights reserved. // #import <XCTest/XCTest.h> @interface BabyTestExpretaion : NSObject @property (nonatomic, assign) BOOL hasFulfill; - (instancetype) initWithExp:(XCTestExpectation *)exp; - (void...
139
1,555
<filename>c-tests/lacc/function-pointer.c<gh_stars>1000+ int puts(const char *); int (*g1)(const char *) = puts; int (*g2)(const char *) = &puts; int (*g3)(const char *) = *puts; static void foo(void) { puts("Foo to you too!"); } int main(void) { void (*p1_foo)() = foo; void (*p2_foo)() = *foo; void (*p3_foo)() ...
296
450
<reponame>YangHao666666/hawq /*------------------------------------------------------------------------- * * primary_mirror_mode.h * Exports from primary_mirror_mode.c. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed wi...
3,376
319
/** * 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 source code must retain ...
1,340
7,158
<gh_stars>1000+ // This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Tencent is pleased to support the open source community by making WeChat QRCode available. // Copyright ...
930
2,151
#!/usr/bin/python # 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. """Convert GN Xcode projects to platform and configuration independent targets. GN generates Xcode projects that build one configuration o...
2,866
796
<gh_stars>100-1000 package top.littlerich.virtuallocation.activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget...
1,735
643
import android.widget.EditText; public class TestWidget { private void sink(Object sink) {} public void test(EditText t) { sink(t.getText().toString()); // $ hasTaintFlow } }
72
488
<reponame>maurizioabba/rose<gh_stars>100-1000 #ifndef ROSE_QM_GEN_COMMAND_LINE_PREPROCESSING_H #define ROSE_QM_GEN_COMMAND_LINE_PREPROCESSING_H #include <string> std::pair< std::string, std::string > commandLinePreprocessor( const std::string &s ); void commandLinePreprocessing(); #endif
117
926
<reponame>dlmarquis/dfhack #include "DataDefs.h" #include "MiscUtils.h" #include "modules/Renderer.h" using namespace DFHack; using df::global::enabler; using df::global::gps; using DFHack::Renderer::renderer_wrap; static renderer_wrap *original_renderer = NULL; bool init() { if (!original_renderer) orig...
1,880
617
<gh_stars>100-1000 // Copyright (c) Open Enclave SDK contributors. // Licensed under the MIT License. #include "ctr_drbg.h" #include <mbedtls/entropy.h> #include <openenclave/enclave.h> #include <openenclave/internal/raise.h> #include <openenclave/internal/thread.h> /* **==============================================...
483
403
<filename>one-time-examples/bestellprozess-java-ee6/src/main/java/com/camunda/demo/outerspace/wjax/controller/BasketController.java package com.camunda.demo.outerspace.wjax.controller; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.enterprise.context.SessionScoped; import...
727
435
{ "copyright_text": "Standard YouTube License", "description": "Speakers: <NAME>, <NAME>, <NAME>\n\nIn this tutorial, we will begin by exploring the features of the NLTK library. We will then focus on building a language-aware data product - a topic identification and document clustering algorithm from a web crawl ...
442
348
<filename>docs/data/t2/055/55453.json {"nom":"Saint-André-en-Barrois","dpt":"Meuse","inscrits":56,"abs":13,"votants":43,"blancs":9,"nuls":0,"exp":34,"res":[{"panneau":"1","voix":21},{"panneau":"2","voix":13}]}
91
454
<gh_stars>100-1000 package com.zfy.social.core.model; import com.zfy.social.core.exception.SocialError; /** * CreateAt : 2019/5/17 * Describe : * * @author chendong */ public class Result { public static final int STATE_START = 0; public static final int STATE_SUCCESS = 2; public static final int ST...
315
506
<filename>src/regexp.h #ifndef REGEXP_H #define REGEXP_H #include <stdio.h> #include <sys/types.h> #include <regex.h> /* Regular expression convenience structure. */ typedef struct regexp { const char *pattern; /* Regular expression pattern string. */ regex_t *preg; /* Compiled regular expression. */ size_t nm...
205
618
import scannerpy as sp import sys import os.path sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/..') import util ################################################################################ # This tutorial shows how to write and use your own C++ custom op. # ###########################...
645
352
/* *Author:GeneralSandman *Code:https://github.com/GeneralSandman/TinyWeb *E-mail:<EMAIL> *Web:www.generalsandman.cn */ /*---class Semaphore--- * **************************************** * *Semaphore():create memory-based semaphore and initialize the value of semaphore to the pararm *wait():wait semaphore(...
348
303
/* Copyright (C) 2005-2011 <NAME> */ package com.lightcrafts.image.metadata; import com.lightcrafts.app.Application; import com.lightcrafts.image.metadata.values.ByteMetaValue; import com.lightcrafts.image.metadata.values.ImageMetaValue; import com.lightcrafts.image.metadata.values.UndefinedMetaValue; import com.ligh...
4,342
317
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.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 ...
5,582
372
<reponame>TriceHelix/vilib-win /* * High-level functions for image preprocessing * image_preprocessing.cpp * * Copyright (c) 2019-2020 <NAME>, * Robotics and Perception Group, University of Zurich * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are...
1,035
1,056
/* * 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 ...
4,103
4,812
//===- PDBSymbolBlock.h - Accessors for querying PDB blocks -------------*-===// // // 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 // //===---------------------------...
402
485
# -*- coding: utf-8 -*- # License: BSD 2 clause import os import torch import torch.nn as nn import pickle import warnings import torchvision.models as models from ._loss import callLoss from ._dlbase import BaseControler from pyhealth.data.data_reader.ecg import denseconv_reader from collections import OrderedDict f...
5,418
3,631
<reponame>kostola/drools<filename>drools-core/src/test/java/org/drools/core/reteoo/TupleSourceTest.java<gh_stars>1000+ /* * Copyright 2005 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
1,672
1,306
/* * Copyright (C) 2011 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...
4,825
333
package com.alipay.api.response; import java.util.List; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; import com.alipay.api.domain.CampVoucherInfo; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.commerce.goods.voucher.batchquery respo...
352
971
<filename>src/include/catalog/postgres/pg_type_impl.h<gh_stars>100-1000 #pragma once #include <string> #include "catalog/postgres/pg_type.h" #include "common/managed_pointer.h" #include "storage/projected_row.h" #include "storage/storage_defs.h" namespace noisepage::storage { class RecoveryManager; class SqlTable; ...
1,166
892
<filename>advisories/unreviewed/2022/05/GHSA-f8hq-m4jp-88m5/GHSA-f8hq-m4jp-88m5.json { "schema_version": "1.2.0", "id": "GHSA-f8hq-m4jp-88m5", "modified": "2022-05-13T01:33:08Z", "published": "2022-05-13T01:33:08Z", "aliases": [ "CVE-2018-1552" ], "details": "IBM Robotic Process Automation with Automa...
578
334
/* * Copyright © 2013-2016 The Nxt Core Developers. * Copyright © 2016-2020 Jelurida IP B.V. * * See the LICENSE.txt file at the top-level directory of this distribution * for licensing information. * * Unless otherwise agreed in a custom licensing agreement with Jelurida B.V., * no part of the Nxt software, in...
436
417
#import "FOXMacros.h" @protocol FOXGenerator; @class FOXRunnerResult; /*! A set of options used to configure the behavior of FOXAssert. */ typedef struct { /*! The seed used when generated random data. * The same seed will produce the same data. * Set this to 0 (the default value) to generate a rando...
714
1,428
{ "room.room.sendrpc": { "server": "Response" }, "room.room.entry": { "server": "Response" }, "room.room.message": { "client": "UserMessage" }, "room.room.join": { "server": "Response" }, "onMessage": { "server": "UserMessage" }, "onNewUser": { "server": "NewUser" }, "o...
163
348
<gh_stars>100-1000 {"nom":"Chartuzac","circ":"4ème circonscription","dpt":"Charente-Maritime","inscrits":134,"abs":72,"votants":62,"blancs":2,"nuls":3,"exp":57,"res":[{"nuance":"REM","nom":"<NAME>","voix":30},{"nuance":"LR","nom":"<NAME>","voix":27}]}
101
362
package net.ripe.db.whois.common.etree; import net.ripe.db.whois.common.ip.Interval; import java.util.List; public final class SynchronizedIntervalMap<K extends Interval<K>, V> implements IntervalMap<K, V> { private final Object mutex; private final IntervalMap<K, V> wrapped; public static <K extends I...
1,240
1,338
<filename>src/add-ons/kernel/bus_managers/pci/arch/x86/pci_irq.cpp /* * Copyright 2006, <NAME>. All rights reserved. * * Distributed under the terms of the MIT License. */ #include "pci_irq.h" status_t pci_x86_irq_init(void) { return B_OK; } status_t pci_x86_irq_read(void *cookie, uint8 bus, uint8 devic...
238
2,406
<gh_stars>1000+ # Copyright (C) 2018-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from extensions.ops.normalize import NormalizeOp from mo.front.caffe.collect_attributes import collect_attributes from mo.front.caffe.extractors.utils import weights_biases from mo.front.extractor import FrontExtractorOp ...
288
619
/* * Author: <NAME> <<EMAIL>> * Copyright (c) 2016 Intel Corporation. * * This program and the accompanying materials are made available under the * terms of the The MIT License which is available at * https://opensource.org/licenses/MIT. * * SPDX-License-Identifier: MIT */ #include "dfrorp.h" #include "upm_f...
874
828
/* * Copyright 2008-2009 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
3,730
575
// 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/chromeos/power/auto_screen_brightness/fake_brightness_monitor.h" namespace chromeos { namespace power { namespace auto_screen_br...
564
14,668
<reponame>zealoussnow/chromium<filename>content/browser/file_system_access/file_system_access_capacity_allocation_host_impl.cc<gh_stars>1000+ // Copyright 2021 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 "co...
1,771
2,797
""" Problem: https://en.wikipedia.org/wiki/Modular_multiplicative_inverse """ import GCD as gcd def modular_multiplicative_inv(a, m): if m == 1: return 0 if m < 1: raise ValueError('Modulus should be ve+ int > 0') # check for co-prime condition if gcd.greatest_common_divisor(a, m) != 1: raise ValueError('a a...
335
335
<gh_stars>100-1000 { "word": "Statutory", "definitions": [ "Required, permitted, or enacted by statute.", "Having come to be required or expected through being done or made regularly." ], "parts-of-speech": "Adjective" }
94
348
<filename>docs/data/leg-t2/066/06603149.json<gh_stars>100-1000 {"nom":"Prades","circ":"3ème circonscription","dpt":"Pyrénées-Orientales","inscrits":4314,"abs":2365,"votants":1949,"blancs":184,"nuls":100,"exp":1665,"res":[{"nuance":"REM","nom":"<NAME>","voix":1069},{"nuance":"FN","nom":"<NAME>","voix":596}]}
128
711
<filename>manager/api/core/src/main/java/io/apiman/manager/api/core/download/DownloadManager.java<gh_stars>100-1000 /* * Copyright 2015 JBoss 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 Lic...
1,222
631
<filename>dorado/dorado-core/src/main/java/com/meituan/dorado/cluster/router/RouterFactory.java<gh_stars>100-1000 /* * Copyright 2018 <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 ...
963
317
// Released under the MIT License. See LICENSE for details. #include "ballistica/core/macros.h" #include "ballistica/platform/platform.h" #include "ballistica/python/python.h" // Snippets of compiled functionality used by our evil macros. namespace ballistica { void MacroFunctionTimerEnd(millisecs_t starttime, mil...
1,358
799
<reponame>diCagri/content import demistomock as demisto from CommonServerPython import * from IAMApiModule import * import traceback import urllib3 # Disable insecure warnings urllib3.disable_warnings() ERROR_CODES_TO_SKIP = [ 404 ] ''' CONSTANTS ''' SCIM_EXTENSION_SCHEMA = "urn:scim:schemas:extension:custom:1.0...
8,513
17,318
<gh_stars>1000+ /* * Copyright (c) 2011-2018, <NAME>. All Rights Reserved. * * 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 fil...
4,247
4,081
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
570
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Avesnes-le-Sec","circ":"19ème circonscription","dpt":"Nord","inscrits":1062,"abs":536,"votants":526,"blancs":12,"nuls":2,"exp":512,"res":[{"nuance":"FN","nom":"<NAME>","voix":149},{"nuance":"MDM","nom":"Mme <NAME>","voix":117},{"nuance":"FI","nom":"M. <NAME>","voix":69},...
278
562
#include <sqlpp11/sqlpp11.h> int main() { sqlpp::connection c; }
31
349
<reponame>alexanderbock/inviwo /********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2020-2021 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modifica...
915
678
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "CATiledLayer.h" @interface QTiledLayer : CATiledLayer { } @end
86
538
<gh_stars>100-1000 package com.wangjie.androidbucket.support.recyclerview.listener; import android.support.v7.widget.RecyclerView; /** * 特殊的滚动监听,可以监听滚动到顶部还是底部 * Author: wangjie * Email: <EMAIL> * Date: 1/22/15. */ public interface OnRecyclerViewScrollLocationListener { void onTopWhenScrollIdle(RecyclerView r...
181
335
<gh_stars>100-1000 { "word": "Feud", "definitions": [ "Be engaged in a prolonged and bitter quarrel or dispute." ], "parts-of-speech": "Verb" }
72
6,215
<reponame>darian-heede/airbyte<gh_stars>1000+ /* * Copyright (c) 2021 Airbyte, Inc., all rights reserved. */ package io.airbyte.analytics; import java.util.Map; import java.util.UUID; public interface TrackingClient { void identify(UUID workspaceId); void alias(UUID workspaceId, String previousCustomerId); ...
139
2,999
<filename>tests/pe/test_hooking.py #!/usr/bin/env python # -*- coding: utf-8 -*- import lief import unittest import logging import os import sys import stat import re import subprocess import tempfile import shutil import time import ctypes from subprocess import Popen from unittest import TestCase from utils import...
4,714
713
ConfigurationBuilder builder = new ConfigurationBuilder(); builder.memory().storage(StorageType.OFF_HEAP).maxCount(500);
29
2,211
#!/usr/local/subliminal/env/bin/python from application import db, direct if __name__ == '__main__': db.setup() subliminal = direct.Subliminal() subliminal.setup()
67
2,486
<filename>tests/slack_sdk_async/my_retry_handler.py<gh_stars>1000+ from typing import Optional from aiohttp import ServerDisconnectedError, ClientOSError from slack_sdk.http_retry.async_handler import AsyncRetryHandler from slack_sdk.http_retry.interval_calculator import RetryIntervalCalculator from slack_sdk.http_ret...
515
1,338
// AuthenticationServer.h #ifndef NET_FS_AUTHENTICATION_SERVER_H #define NET_FS_AUTHENTICATION_SERVER_H #include <OS.h> class AuthenticationServer { public: AuthenticationServer(); ~AuthenticationServer(); status_t InitCheck() const; status_t GetAuthentication(const char* context, ...
259
1,145
// Copyright 2011 Google Inc. All rights reserved. // Author: <EMAIL> (<NAME>) // // This code is adapted from Plan 9's cleanname() routine. Hence we also // include the following: // // Copyright (C) 2003, Lucent Technologies Inc. and others. All Rights // Reserved. #ifndef FILE_BASE_CLEANPATH_H__ #define FILE_BASE...
181
373
<filename>content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java // 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. package org.chromium.content_public.browser; /** ...
458
2,960
#include <bits/stdc++.h> using namespace std; class Solution { public: vector<int> twoSum(vector<int>& numbers, int target) { vector<int> res; int i = 0; int j = numbers.size() - 1; while (i < j) { int diff = target - numbers[i] - numbers[j]; if (diff > 0) {...
336
2,406
# Copyright (C) 2018-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from mo.front.extractor import FrontExtractorOp, MXNetCustomFrontExtractorOp from mo.front.mxnet.extractors.utils import get_mxnet_layer_attrs class CustomFrontExtractorOp(FrontExtractorOp): op = 'Custom' enabled = True de...
279
350
<filename>data/dataset/builting.py from .crowd_human import register_crowd from .coco_class import register_coco_class from .wider_mafa_face import register_face from .pseudo_label import register_pseudo from detectron2.data import MetadataCatalog import os def register_all_crowd(root): SPLITS = [ ("crowd_...
1,919
852
<filename>SimG4Core/Geometry/interface/CMSG4CheckOverlap.h #ifndef SimG4Core_CMSG4CheckOverlap_H #define SimG4Core_CMSG4CheckOverlap_H #include "FWCore/ParameterSet/interface/ParameterSet.h" #include <fstream> class CustomUIsession; class G4VPhysicalVolume; class CMSG4CheckOverlap { public: CMSG4CheckOverlap(edm:...
241
435
<filename>web-services/security/src/test/java/datawave/security/util/MockDatawaveCertVerifier.java package datawave.security.util; import java.security.KeyStore; import java.security.cert.X509Certificate; import datawave.security.login.DatawaveCertVerifier; public class MockDatawaveCertVerifier extends DatawaveCertV...
235
14,668
// Copyright 2021 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/autofill_assistant/content/renderer/autofill_assistant_agent.h" #include "content/public/renderer/render_frame.h" #include "third_pa...
900
348
<gh_stars>100-1000 {"nom":"<NAME>","circ":"1ère circonscription","dpt":"Haut-Rhin","inscrits":1505,"abs":673,"votants":832,"blancs":20,"nuls":6,"exp":806,"res":[{"nuance":"LR","nom":"<NAME>","voix":586},{"nuance":"REM","nom":"<NAME>","voix":220}]}
101
11,699
// vim: ft=glsl // NOLINTBEGIN(*) #include "taichi/util/macros.h" #ifndef TI_INSIDE_OPENGL_CODEGEN static_assert(false, "Do not include"); #endif #define GENERATE_OPENGL_ATOMIC_F32(NAME) \ constexpr auto kOpenGlAtomicF32Source_##NAME = STR( \ float atomicAd...
1,882
359
import glob import numpy as np import random from typing import Union import cv2 import matplotlib.pyplot as plt from PIL import Image from PIL.Image import Image as PIL_image # for typing import pytest from torchvision import transforms as pil_transforms from torchvision.transforms import functional as F_pil from o...
986
6,457
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2019 Intel Corporation. All Rights Reserved. #pragma once /* The 68-point annotations for the iBUG 300-W face landmark dataset. See this picture: https://ibug.doc.ic.ac.uk/media/uploads/images/annotpics/figure_68_markup.jpg ...
1,259
12,820
<reponame>pchandrasekaran1595/onnx # SPDX-License-Identifier: Apache-2.0 """onnx version converter This enables users to convert their models between different opsets within the default domain ("" or "ai.onnx"). """ from __future__ import absolute_import from __future__ import division from __future__ import print_fu...
2,425