max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
375
/* * Copyright 2016 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file for details. */ package org.robotframework.ide.eclipse.main.plugin.console; import java.util.ArrayList; import java.util.List; import org.eclipse.jface.action.Action; import org.ecl...
632
5,169
<reponame>Gantios/Specs { "name": "STAIdentify", "version": "1.3.0", "summary": "Stone Age Identify SDK for iOS.", "description": "You can use the Identify SDK for iOS as a solution for onboarding, digital signature and transactions. Easily collect, analyze and authenticate data, documents and faces from your c...
550
1,144
package de.metas.inoutcandidate.api.impl; /* * #%L * de.metas.swat.base * %% * Copyright (C) 2015 metas GmbH * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 2 of the...
2,366
364
<reponame>wwj-git-rgb/arthas-idea-plugin<gh_stars>100-1000 package com.github.wangji92.arthas.plugin.action.arthas; import com.github.wangji92.arthas.plugin.setting.AppSettingsState; import com.github.wangji92.arthas.plugin.ui.ArthasActionStaticDialog; import com.github.wangji92.arthas.plugin.utils.NotifyUtils; import...
1,329
344
#pragma once #define FLAG_TEMP_1 0x001 #define FLAG_TEMP_2 0x002 #define FLAG_TEMP_3 0x003 #define FLAG_TEMP_4 0x004 #define FLAG_TEMP_5 0x005 #define FLAG_TEMP_6 0x006 #define FLAG_TEMP_7 0x007 #define FLAG_TEMP_8 ...
53,687
348
{"nom":"Sos","circ":"1ère circonscription","dpt":"Lot-et-Garonne","inscrits":490,"abs":231,"votants":259,"blancs":24,"nuls":16,"exp":219,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":142},{"nuance":"UDI","nom":"<NAME>","voix":77}]}
94
678
<reponame>RockerHX/FishChat<filename>WeChat-Headers/MMDBRecoverViewController.h // // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "MMWindowViewController.h" #import "MMDatabaseRecoverMgrDelegate.h" #import "UIAlertViewDelegate.h...
1,061
310
<filename>gear/software/r/rain-house-eternity.json { "name": "Rain, House, Eternity", "description": "A video game.", "url": "https://kittyhorrorshow.itch.io/rain-house-eternity" }
70
389
<reponame>dmcreyno/gosu-lang<filename>gosu-lab/src/main/java/editor/ClearablePanel.java<gh_stars>100-1000 package editor; import editor.util.IDisposable; import javax.swing.*; import java.awt.*; /** */ public abstract class ClearablePanel extends JPanel implements IDisposable { public ClearablePanel() { sup...
155
2,487
/* * Copyright (C) 2018 Zhejiang xiaominfo Technology CO.,LTD. * All rights reserved. * Official Web Site: http://www.xiaominfo.com. * Developer Web Site: http://open.xiaominfo.com. */ package com.github.xiaoymin.knife4j.data.impl; import com.github.xiaoymin.knife4j.aggre.core.common.RouteRepositoryEnum; import...
700
1,738
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
1,089
826
#include "tint.h" #include <vector> namespace weserv { namespace api { namespace processors { using parsers::Color; VImage Tint::process(const VImage &image) const { auto tint = query_->get<Color>("tint", Color::DEFAULT); // Don't process the image if the tint is completely transparent if (tint.is_tran...
536
777
<reponame>google-ar/chromium<filename>components/gcm_driver/gcm_profile_service.h // Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_GCM_DRIVER_GCM_PROFILE_SERVICE_H_ #define COMPONE...
925
348
<filename>docs/data/leg-t2/071/07101441.json {"nom":"Saint-Léger-sous-la-Bussière","circ":"1ère circonscription","dpt":"Saône-et-Loire","inscrits":229,"abs":116,"votants":113,"blancs":1,"nuls":9,"exp":103,"res":[{"nuance":"REM","nom":"<NAME>","voix":56},{"nuance":"LR","nom":"<NAME>","voix":47}]}
126
1,451
<reponame>luxy25/pandora package tech.linjiang.pandora.cache; import android.provider.BaseColumns; import java.util.List; /** * Created by linjiang on 2019/3/3. */ @CacheDatabase.Table("activity_history") public class History { static { clear(); } @CacheDatabase.Column(value = BaseColumns._I...
322
2,990
/* * GDevelop Core * Copyright 2008-2018 <NAME> (<EMAIL>). All rights * reserved. This project is released under the MIT License. */ #ifndef GDCORE_LOADINGSCREEN_H #define GDCORE_LOADINGSCREEN_H #include "GDCore/String.h" namespace gd { class SerializerElement; } namespace gd { /** * \brief Describe the content...
1,369
8,054
<reponame>addstone/vnote #ifndef BUFFERPROVIDER_H #define BUFFERPROVIDER_H #include <QObject> #include <QDateTime> #include "buffer.h" namespace vnotex { class Node; // Content provider for Buffer. class BufferProvider : public QObject { Q_OBJECT public: BufferProvider(QObject *p...
936
2,132
// Targeted by JavaCPP version 1.5.7-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencv.opencv_dnn; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.openblas.global.openblas_nolapack.*...
568
550
package uk.co.deanwild.flowtextview.listeners; /** * Created by Dean on 24/06/2014. */ public interface OnLinkClickListener { public void onLinkClick(String url); }
58
476
/* * Copyright (C) 2018-2020. Huawei Technologies Co., Ltd. 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...
1,173
353
package me.maxdev.popularmoviesapp.data; import android.content.ContentProvider; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteQueryBuilder; import android.net.Uri; import andr...
6,282
1,284
""" Multi-object Panoptic Tracking evaluation. Code written by Motional and the Robot Learning Lab, University of Freiburg. """ from typing import Dict, List, Tuple import numpy as np from nuscenes.eval.panoptic.panoptic_seg_evaluator import PanopticEval class PanopticTrackingEval(PanopticEval): """ Panoptic tr...
13,139
358
from __future__ import absolute_import, print_function, unicode_literals __all__ = ["WLSerializable"] class WLSerializable: """A class that can be serialized using :func:`~wolframclient.serializers.export`. Custom serialization of a class is done by subclassing this class:: from wolframclient.seria...
530
320
<gh_stars>100-1000 // Copyright 2016 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless req...
881
334
<gh_stars>100-1000 # -*- coding: utf-8 -*- # Copyright (c) 2015 Ericsson AB # # 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 requ...
592
922
<filename>core/migrations/0019_tag_tagged_note_tags.py # Generated by Django 4.0.3 on 2022-03-08 11:51 import core.models import django.core.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ...
2,346
507
<gh_stars>100-1000 # tests/test_provider_vmware_avi.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:12:08 UTC) def test_provider_import(): import terrascript.provider.vmware.avi def test_resource_import(): from terrascript.resource.vmware.avi import avi_actiongroupconfig from terrascr...
4,863
1,229
<reponame>StarWang/detext from functools import partial import tensorflow as tf from detext.train.constant import Constant from detext.utils.parsing_utils import get_input_files, InputFtrType, TaskType, iterate_items_with_list_val, as_list def _read_specified_features(inputs, feature_type2name): """Only reads in...
12,007
653
<reponame>akrherz/PROJ<filename>docs/plot/figure_captions.py import sys import os import json import pathlib import re def update_caption(image_filename, proj_string, doc_directory, doc_extension='rst'): """ Update the figure caption with a proj-string This function assumes that within...
1,036
348
{"nom":"Wasquehal","circ":"7ème circonscription","dpt":"Nord","inscrits":15191,"abs":8839,"votants":6352,"blancs":393,"nuls":144,"exp":5815,"res":[{"nuance":"MDM","nom":"M. <NAME>","voix":3151},{"nuance":"UDI","nom":"<NAME>","voix":2664}]}
98
1,993
/* * Copyright 2013-2020 The OpenZipkin Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
498
325
/* * The MIT License (MIT) * * Copyright (c) 2014-2018, <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 to use,...
1,115
1,199
<filename>concurrent-servers/select-server.c // Asynchronous socket server - accepting multiple clients concurrently, // multiplexing the connections with select. // // <NAME> [http://eli.thegreenplace.net] // This code is in the public domain. #include <assert.h> #include <errno.h> #include <stdbool.h> #include <stdin...
4,222
4,242
<gh_stars>1000+ /* Copyright (c) 2014, 2016-2020, <NAME> Copyright (c) 2016, <NAME> 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 the above copyright ...
1,534
474
/* * Copyright (c) 2016. Samsung Electronics Co., 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 applicab...
1,494
1,921
<reponame>ksvr444/daily-coding-problem def profit_helper(prices, curr_index, curr_profit, buys_left, sells_left): if curr_index == len(prices) or not sells_left: # reached end of chronology or exhausted trades return curr_profit if buys_left == sells_left: # buy or wait return ...
610
816
/* * Copyright 2016-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
836
1,821
<reponame>cyyeh/exercises-in-programming-style<filename>38-neuro-monolithic/tf-38.py<gh_stars>1000+ from keras.models import Sequential from keras.layers import Dense import numpy as np import sys, os, string characters = string.printable char_indices = dict((c, i) for i, c in enumerate(characters)) indices_char = dic...
1,520
852
// -*- C++ -*- // // Package: Validation/RecoVertex // Class: BSvsPVAnalyzer // /**\class BSvsPVAnalyzer BSvsPVAnalyzer.cc Validation/RecoVertex/plugins/BSvsPVAnalyzer.cc Description: <one line class summary> Implementation: <Notes on implementation> */ // // Original Author: <NAME> // Created...
1,369
507
<filename>tests/test_provider_Ouest_France_ldap.py # tests/test_provider_Ouest-France_ldap.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:20:59 UTC) def test_provider_import(): import terrascript.provider.Ouest_France.ldap def test_resource_import(): from terrascript.resource.Ouest_France...
350
764
{"symbol": "SST","address": "0x2863916C6ebDBBf0c6f02F87b7eB478509299868","overview":{"en": ""},"email": "","website": "https://simba.storage/","state": "NORMAL","links": {"blog": "https://medium.com/@simbastorage","twitter": "https://twitter.com/SWISSSST","telegram": "","github": ""}}
110
4,822
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
1,540
313
# Copyright 2018 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 # # Unless required by applicable la...
1,143
609
<reponame>Qingtian-Zou/AIX360<filename>aix360/algorithms/lwbe.py # Module for local white box explainer base classes for text, image, and tabular data. # All local WB explainer algorithms (e.g. CEM, etc.) would inherit these classes. import abc import sys # Ensure compatibility with Python 2/3 if sys.version_info...
662
2,209
<filename>matchzoo/preprocessors/build_unit_from_data_pack.py """Build unit from data pack.""" from tqdm import tqdm import matchzoo as mz from .units import StatefulUnit def build_unit_from_data_pack( unit: StatefulUnit, data_pack: mz.DataPack, mode: str = 'both', flatten: bool = True, verbose: int = 1...
548
2,151
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_CONTENT_RESOURCE_TYPE_PROVIDER_H_ #define COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_CONTENT_...
467
1,062
/** * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
1,065
763
<gh_stars>100-1000 package org.batfish.representation.arista; import com.google.common.collect.ImmutableList; import java.util.List; import org.batfish.common.Warnings; import org.batfish.datamodel.Configuration; import org.batfish.datamodel.routing_policy.communities.CommunityMatchAny; import org.batfish.datamodel.ro...
635
1,083
//===--- PrettyStackTrace.cpp - Defines PIL crash prettifiers -------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
1,488
492
/* * -------------------------------------------------------------------------- * "THE BEER-WARE LICENSE" (Revision 42): * <<EMAIL>>, <<EMAIL>>, <<EMAIL>> * wrote this file. As long as you retain this notice you can do whatever you * want with this stuff. If you meet any of us some day, and you think this * stuff...
447
335
<reponame>ford442/openmpt /* SPDX-License-Identifier: BSL-1.0 OR BSD-3-Clause */ #ifndef MPT_FORMAT_DEFAULT_STRING_HPP #define MPT_FORMAT_DEFAULT_STRING_HPP #include "mpt/base/namespace.hpp" #include "mpt/string_transcode/transcode.hpp" namespace mpt { inline namespace MPT_INLINE_NS { template <typename Tstrin...
226
335
<reponame>Safal08/Hacktoberfest-1<gh_stars>100-1000 { "word": "Whoop", "definitions": [ "A loud cry of joy or excitement.", "A long rasping indrawn breath, characteristic of whooping cough.", "(in motorcycling or cycling) a bump or dip on an off-road racetrack or rally course." ], ...
141
338
# -*- coding: utf-8 -*- __author__ = 'XESS Corporation' __email__ = '<EMAIL>' # Export .version.__version__ as a module version from .version import __version__, __build__ # noqa: F401 class DistData(object): '''@brief Data from a distributor related to a part.''' def __init__(self): self...
867
2,392
// Copyright (c) 2005 Tel-Aviv University (Israel). // All rights reserved. // // This file is part of CGAL (www.cgal.org). // // $URL: https://github.com/CGAL/cgal/blob/v5.1/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Point_with_vertex.h $ // $Id: Point_with_vertex.h 0779373 2020-03-26T13:31:46+01:...
469
5,169
<reponame>Gantios/Specs { "name": "WeatherKit", "version": "0.1.4", "summary": "A simple swift kit for weather information, forecasts, and city searching. All weather information is from Yahoo!", "description": "A small concise Swift kit for retrieving weather info. No extra dependency needed. All weather infor...
299
677
<filename>Core/parser/render_tokenizer_unittest.cc<gh_stars>100-1000 // Copyright 2017 The Lynx Authors. All rights reserved. #include "parser/render_tokenizer.h" #include "parser/utils.h" #include "gtest/gtest.h" namespace parser { TEST(RenderTokenizerTest, TestBeginTag) { InputStream input; RenderTokenizer t...
975
9,425
<reponame>tomdoherty/salt """ :codeauthor: <NAME> <<EMAIL>> """ import pytest import salt.modules.napalm_network as napalm_network import tests.support.napalm as napalm_test_support from tests.support.mock import MagicMock, patch @pytest.fixture def configure_loader_modules(): module_globals = { "__...
3,166
1,738
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
1,635
2,360
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Xsbench(MakefilePackage): """XSBench is a mini-app representing a key computational ...
975
14,668
<filename>ash/services/quick_pair/public/cpp/battery_notification.cc // 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 <cstdint> #include <vector> #include "ash/services/quick_pair/public/cpp/ba...
1,507
1,041
/** * Provides text search expressions like Match, TextQueryString etc. */ package io.ebean.search;
27
655
#pragma once #include <core/smartview/block/block.h> #include <core/smartview/block/blockT.h> namespace smartview { class SYSTEMTIMEBlock : public block { private: void parse() override; void parseBlocks() override; std::shared_ptr<blockT<WORD>> wYear = emptyT<WORD>(); std::shared_ptr<blockT<WORD>> wMonth ...
644
480
/* * Copyright [2013-2021], Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
2,081
1,545
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/100c_models.explainability.ipynb (unless otherwise specified). __all__ = ['get_acts_and_grads', 'get_attribution_map'] # Cell from ..imports import * from ..utils import * from .layers import * from .utils import * # Cell def get_acts_and_grads(model, modules, x, y=Non...
980
558
package com.endava.cats.fuzzer.headers; import com.endava.cats.fuzzer.http.ResponseCodeFamily; import com.endava.cats.io.ServiceCaller; import com.endava.cats.io.TestCaseExporter; import com.endava.cats.model.CatsHeader; import com.endava.cats.model.CatsResponse; import com.endava.cats.model.FuzzingData; import com.en...
1,324
575
/* <NAME> `gentilkiwi` http://blog.gentilkiwi.com <EMAIL> Licence : https://creativecommons.org/licenses/by/4.0/ */ #pragma once #include "globals_sekurlsa.h" #include "kuhl_m_sekurlsa.h" #include "../modules/kull_m_memory.h" PLIST_ENTRY LogonSessionList; PULONG LogonSessionListCount; PVOID kuhl_m_sekurlsa_utils_p...
3,567
916
<reponame>asnt/moderngl #pragma once #ifndef max #define max(a,b) (((a) > (b)) ? (a) : (b)) #endif #ifndef min #define min(a,b) (((a) < (b)) ? (a) : (b)) #endif inline void clean_glsl_name(char * name, int & name_len) { if (name_len && name[name_len - 1] == ']') { name_len -= 1; while (name_len && name[name_len]...
1,477
3,457
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2016 // <NAME> Codeplay Software Ltd. // <NAME> Codeplay Software Ltd. // <NAME> Codeplay Software Ltd. // Contact: <<EMAIL>> // // This Source Code Form is subject to the terms of the Mozilla // Public Lic...
1,052
575
<reponame>Ron423c/chromium // Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_DRM_GPU_CRTC_COMMIT_REQUEST_H_ #define UI_OZONE_PLATFORM_DRM_GPU_CRTC_COMMIT_REQUEST_H_ #include <st...
960
360
<gh_stars>100-1000 import gym import numpy as np from igibson.robots.robot_locomotor import LocomotorRobot class Ant(LocomotorRobot): """ OpenAI Ant Robot Uses joint torque control """ def __init__(self, config): self.config = config self.torque = config.get("torque", 1.0) ...
514
648
<reponame>swrobel/fhir {"resourceType":"DataElement","id":"AllergyIntolerance.reaction.manifestation","meta":{"lastUpdated":"2015-10-24T07:41:03.495+11:00"},"url":"http://hl7.org/fhir/DataElement/AllergyIntolerance.reaction.manifestation","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"...
332
2,527
<filename>components/tensorflow-notebook-image/versions/1.11.0/version-config.json { "BASE_IMAGE": "ubuntu:18.04@sha256:de774a3145f7ca4f0bd144c7d4ffb2931e06634f11529653b23eba85aef8e378", "TF_PACKAGE": "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.11.0-cp36-cp36m-linux_x86_64.whl", "TF_PACKAGE_...
236
1,847
<filename>src/OrbitGl/TrackTestData.cpp // Copyright (c) 2021 The Orbit 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 "TrackTestData.h" using orbit_client_data::CaptureData; namespace orbit_gl { std::unique_ptr<CaptureD...
664
852
<reponame>ckamtsikis/cmssw import FWCore.ParameterSet.Config as cms from L1Trigger.L1TCalorimeter.caloParams_cfi import caloParamsSource import L1Trigger.L1TCalorimeter.caloParams_cfi caloStage2Params = L1Trigger.L1TCalorimeter.caloParams_cfi.caloParams.clone() # towers caloStage2Params.towerLsbH = cms.double(...
8,049
11,356
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #ifndef TURI_SFRAME_QUERY_MANAGER_IDENTITY_NODE_HPP_ #define TURI_SFRAME_QUERY_MANAGER_IDENTITY_NODE...
816
14,668
// 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. package org.chromium.net.smoke; import android.support.test.InstrumentationRegistry; import org.junit.runner.Description; import org.junit.runners.model...
855
2,151
<reponame>zipated/src // 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. package org.chromium.chrome.browser.download.home; import android.content.Context; import android.view.View; import org.chromium.c...
802
1,475
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
3,362
777
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "core/layout/LayoutInline.h" #include "core/layout/LayoutBlockFlow.h" #include "core/layout/LayoutTestHelper.h" #include "testing/gtest/include/...
1,035
2,512
# Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import unittest import torch import torch.multiprocessing as mp from vissl.losses.barlow_twins_loss import BarlowTwinsCriterion from vissl.lo...
1,983
1,261
<reponame>danielrh/losslessh264 #ifndef _COMPRESSION_STREAM_H_ #define _COMPRESSION_STREAM_H_ #include <algorithm> //#include <array> #include <string> #include <vector> #include <map> #include <assert.h> #include "array_nd.h" #include "bitreader.h" #include "bitwriter.h" //#define CONTEXT_DIFF //#define ROUNDTRIP_T...
9,304
310
{ "name": "iTunes Match", "description": "An online music backup/streaming service.", "url": "https://support.apple.com/en-us/HT204146" }
51
2,151
<reponame>zipated/src<filename>chrome/browser/ui/cocoa/page_info/page_info_utils_cocoa.h // Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_COCOA_PAGE_INFO_PAGE_INFO_UTILS_COCOA_H...
230
301
{ "parameters": { "excludedNamespaces": { "value": [ "kube-system", "azure-arc" ] }, "allowedCapabilities": { "value": [ "allowedcapability" ] }, "requiredDropCapabilities": { "value": [ "requireddropcapability" ] } } }
86
357
#include "CuTest.h" #include "../server/common/includes.h" #include "vmdnscommon.h" extern int vmdns_syslog_level; #define DEFAULT_EXPIRE (60*60*24*30*6) #define DEFAULT_TTL (60*30) #define DEFAULT_SERIAL 1 #define DEFAULT_REFRESH (60*60) #define DEFAULT_RETRY (60*10) static DWORD CachePurgeProc( PVMDNS...
1,398
990
<reponame>wwjiang007/sparkling-water<filename>py-scoring/src/ai/h2o/sparkling/ml/params/H2OGLRMExtraParams.py # # 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 ownershi...
821
2,833
<reponame>josephwhite13/netmiko from netmiko.allied_telesis.allied_telesis_awplus import AlliedTelesisAwplusSSH __all__ = ["AlliedTelesisAwplusSSH"]
59
530
package org.carlspring.strongbox.services; import java.io.IOException; import org.carlspring.strongbox.data.criteria.Selector; import org.carlspring.strongbox.domain.ArtifactEntry; import org.carlspring.strongbox.storage.search.SearchResults; public interface AqlSearchService { public SearchResults search(Selec...
121
734
// // ██████ ██  ██  ██████  ██████ // ██      ██  ██ ██    ██ ██       ** Clean Header-Only Classes ** // ██  ███████ ██  ██ ██ // ██  ██   ██ ██  ██ ██ https://github.com/Tracktion/choc //  ██████ ██  ██  ██████   ██████ // // CHOC is (C)2021 Tracktion Corporation, and is o...
7,904
1,963
<filename>variants/STM32F0xx/F072R8T_F072RB(H-I-T)/variant_DISCO_F072RB.h /* ******************************************************************************* * Copyright (c) 2021, STMicroelectronics * All rights reserved. * * This software component is licensed by ST under BSD 3-Clause license, * the "License"; Yo...
3,657
482
// SPDX-License-Identifier: BSD-2-Clause // Copyright (C) 2015, The LabSound Authors. All rights reserved. #ifndef AudioSetting_h #define AudioSetting_h #include "LabSound/core/AudioBus.h" #include <cstdint> #include <functional> #include <memory> #include <string> #include <vector> namespace lab { // value defaul...
1,704
1,192
/////////////////////////////////////////////////////////////////////////////// // // // DxilValidation.h // // Copyright (C) Microsoft Corporation. All rights reserved. // ...
2,514
312
<filename>poetrygenerator.py #!/usr/bin/env python from cgi import parse_qs, escape from time import sleep import json import os import random import re from poem import * html_template = """ <html> <head> <title>A simple poem generator</title> <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3....
2,924
476
<reponame>tejasvinu/hetu-core /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
1,001
416
package com.ecwid.consul.v1.agent.model; import com.google.gson.annotations.SerializedName; import java.util.List; import java.util.Map; /** * @author <NAME> (<EMAIL>) */ public class Service { @SerializedName("ID") private String id; @SerializedName("Service") private String service; @SerializedName("Tags...
782
1,647
<reponame>davidbrochart/pythran #ifndef PYTHONIC_OPERATOR_LSHIFT_HPP #define PYTHONIC_OPERATOR_LSHIFT_HPP #include "pythonic/include/operator_/lshift.hpp" #include "pythonic/operator_/overloads.hpp" #include "pythonic/utils/functor.hpp" PYTHONIC_NS_BEGIN namespace operator_ { template <class A, class B> auto l...
269
1,253
//Longest Common Subsequence with O(n ^ 2) complexity and O(n) memory /* Test: In: 5 6 1 1 2 3 5 1000 1000 3 5 1 1 2 Out: 3 */ #include <bits/stdc++.h> using namespace std; int a[100005], b[100005], f[100005]; int n, m; void process() { memset(f, 0, sizeof(f)); for(int i = 1; i <= ...
452
333
#ifndef RS_FILE_CREATE_HPP #define RS_FILE_CREATE_HPP #include "rodsConnect.h" #include "fileOpen.h" #include "fileCreate.h" int rsFileCreate( rsComm_t *rsComm, fileCreateInp_t *fileCreateInp, fileCreateOut_t** ); int _rsFileCreate( rsComm_t *rsComm, fileCreateInp_t *fileCreateInp, rodsServerHost_t *rodsServerHost, f...
181
2,116
{ "asset": { "ancestors": [ "projects/717196263256", "folders/1094373516899", "folders/273647969471", "organizations/116143322321" ], "assetType": "compute.googleapis.com/Subnetwork", "name": "//compute.googleapis.com/projects/apszaz-shsvc-services-5af0da/regions/asia-east1/sub...
870
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...
1,031