max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
5,169
{ "name": "JDKeplerSDK-wsgw", "version": "2.2.5", "summary": "京东开普勒sdk(网上国网).", "description": "京东开普勒SDK(网上国网:com.wsgw.zsdl95598)", "homepage": "https://github.com/kevincwt/JDKeplerSDK-wsgw.git", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "wtchang": "<EMAIL>" }, "platf...
395
11,433
<gh_stars>1000+ from allennlp.data.tokenizers import CharacterTokenizer tokenizer = CharacterTokenizer() passage = ( "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor " "incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis " "nostrud exercitation ullamco...
255
5,129
# 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 tempfile import unittest import torch from fairseq.data import Dictionary class TestDictionary(unittest.TestCase): def test_fi...
981
561
<filename>app/css.py<gh_stars>100-1000 # Copyright 2013 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
409
5,937
<gh_stars>1000+ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #pragma once #include "dxlcommon.hpp" #include <d3d9types.h> #include <DirectXMath.h> namespace d...
773
348
<reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000 {"nom":"Charnas","circ":"2ème circonscription","dpt":"Ardèche","inscrits":639,"abs":339,"votants":300,"blancs":12,"nuls":4,"exp":284,"res":[{"nuance":"SOC","nom":"<NAME>","voix":213},{"nuance":"REM","nom":"<NAME>","voix":71}]}
119
644
{ "name": "frint-data-validation", "version": "5.7.2", "description": "Validation for Models in FrintJS", "main": "lib/index.js", "homepage": "https://github.com/frintjs/frint/tree/master/packages/frint-data-validation", "scripts": { "lint": "cross-env ../../node_modules/.bin/eslint --color '{src,test}/...
689
430
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
3,345
6,989
/* Copyright (c) 2020-2021 Intel 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/licenses/LICENSE-2.0 Unless required by applicable la...
626
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.devtestlabs.implementation; import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.Response; import com....
2,623
1,756
""" ** deeplean-ai.com ** ** dl-lab ** created by :: GauravBh1010tt """ import pandas as pd import numpy as np import re #from tqdm import tqdm from nltk.corpus import wordnet from nltk import bigrams, trigrams from collections import Counter, defaultdict from gensim.models import Word2Vec from scipy.spatial.distance...
3,947
515
<gh_stars>100-1000 # Copyright (c) 2013-2021 <NAME> # License: MIT License from pathlib import Path import ezdxf OUTBOX = Path("~/Desktop/Outbox").expanduser() doc = ezdxf.new("R2007", setup=True) msp = doc.modelspace() attribs = { "char_height": 0.7, "width": 5.0, "style": "OpenSans", } msp.add_line((-10...
374
573
<gh_stars>100-1000 #!/usr/bin/env python # coding=utf8 import numpy as np from scipy.signal import periodogram from scipy.stats import norm from . import common_args from ..util import read_param_file, ResultDict def analyze(problem, X, Y, M=10, num_resamples=100, conf_level=0.95, print_to_console=False,...
2,531
9,516
<filename>python/dgl/multiprocessing/__init__.py """Wrapper of the multiprocessing module for multi-GPU training.""" # To avoid duplicating the graph structure for node classification or link prediction # training we recommend using fork() rather than spawn() for multiple GPU training. # However, we need to work aroun...
237
348
{"nom":"Airon-Notre-Dame","circ":"4ème circonscription","dpt":"Pas-de-Calais","inscrits":175,"abs":59,"votants":116,"blancs":2,"nuls":8,"exp":106,"res":[{"nuance":"REM","nom":"<NAME>","voix":55},{"nuance":"LR","nom":"<NAME>","voix":51}]}
99
921
// Copyright (c) 2015-2020 <NAME> <<EMAIL>> Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.vladsch.md.nav.testUtil; import com.vladsch.flexmark.util.data.DataHolder; import com.vladsch.md.nav.testUtil.cases.MdEnhCodeInsightFixtureSpecTestCase; import c...
353
497
{ "type": "industrial", "width": 3, "height": 3, "name": "metal_fabricator", "sprite": "metal_fabricator.svg", "description": "Metal Fabricator", "level": 2, "power_required": 3, "pollution": 2, "production": { "consumes": { "labor": 3 }, "produces": { "wholesale_goods": 8 ...
150
975
package com.dianping.agentsdk.framework; /** * Created by hezhi on 16/8/3. */ public interface ItemIdInterface { long getItemId(int section, int position); }
56
315
/** * 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...
5,471
521
<filename>third_party/virtualbox/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxUhgsmiDisp.cpp /* $Id: VBoxUhgsmiDisp.cpp $ */ /** @file * VBoxVideo Display D3D User mode dll */ /* * Copyright (C) 2011-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available fr...
4,526
1,145
import numpy as np from omnizart.music import inference as inf def generate_pred(frame_size, on_pitch, scale=4, occur_num=3): pred = np.zeros((frame_size, 88*scale)) for idx, pitch in enumerate(on_pitch): pitch_range = range(pitch*scale, (pitch+1)*scale) occur_pos = np.random.choice(pitch_ran...
1,860
348
{"nom":"Garindein","circ":"4ème circonscription","dpt":"Pyrénées-Atlantiques","inscrits":410,"abs":185,"votants":225,"blancs":13,"nuls":16,"exp":196,"res":[{"nuance":"DVD","nom":"<NAME>","voix":121},{"nuance":"REM","nom":"<NAME>","voix":75}]}
96
511
/* * * Copyright 2015 gRPC 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 agree...
1,001
2,206
/* * ****************************************************************************** * * * * * * This program and the accompanying materials are made available under the * * terms of the Apache License, Version 2.0 which is available at * * https://www.apache.org/licenses/LICENSE-2.0. * * * * See the NO...
1,393
2,151
<filename>ui/gfx/animation/tween_unittest.cc // 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 "ui/gfx/animation/tween.h" #include <math.h> #include "base/time/time.h" #include "build/build_con...
3,494
938
<reponame>brickviking/TinkersConstruct { "coverTexture": "tconstruct:book/images/covers/materials_and_you_cover.png", "coverColor": -1, "bookTexture": "tconstruct:book/images/covers/materials_and_you_pages.png", "arrowColor": -1, "slotColor": 0xE5C682, "drawSectionListText": true, "largePageTitles": false...
135
640
/***************************************************************************** To be the apostrophe which changed "Impossible" into "I'm possible"! POC code of chapter 11 in book "Bypass SafeSEH by jumping into heap" file name : SEH_Heap.cpp author : zihan date : 2010.04.02 description : demo sho...
1,437
1,540
package test.morten; import org.testng.annotations.Factory; import org.testng.annotations.Test; public class SampleTest { private int capacity = 10; private float loadFactor = 0.3f; public class SampleTestTestFactory { public SampleTestTestFactory() {} // CTR necessary ? @Factory public Object[] c...
276
1,006
<reponame>eenurkka/incubator-nuttx /**************************************************************************** * arch/arm/src/tiva/cc13xx/cc13x0_trim.c * * Copyright (C) 2019 <NAME>. All rights reserved. * Author: <NAME> <<EMAIL>> * * This is a port of TI's setup.c file (revision 49363) which has a fully *...
5,420
6,224
/* * Copyright (c) 2017 Nordic Semiconductor ASA * Copyright (c) 2015 Runtime Inc * * SPDX-License-Identifier: Apache-2.0 */ #include <fs/fcb.h> #include "fcb_priv.h" /* * Call 'cb' for every element in flash circular buffer. If sector is specified, * only elements with that flash_sector are reported. */ int ...
457
310
<filename>Libraries/oneMKL/block_cholesky_decomposition/factor.cpp //============================================================== // Copyright © 2020 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= /* * * Content: * Example of Cholesky fa...
2,916
1,082
package com.jzy.game.bydr.struct.room; /** * 经典渔场 * @author JiangZhiYong * @QQ 359135103 * 2017年9月14日 上午9:30:30 */ public class ClassicsRoom extends Room { }
92
312
package org.eclipse.rdf4j.sail.shacl.ast.planNodes; import org.eclipse.rdf4j.common.iteration.CloseableIteration; import org.eclipse.rdf4j.sail.SailException; import org.eclipse.rdf4j.sail.shacl.GlobalValidationExecutionLogging; public abstract class LoggingCloseableIteration implements CloseableIteration<ValidationT...
597
1,505
{ "preset": "google", "disallowSpacesInsideObjectBrackets": null, "requireSpacesInsideObjectBrackets": { "allExcept": [ "[", "]", "{", "}" ] }, "disallowSpacesInsideArrayBrackets": null, "requireSpacesInsideArrayBrackets": { "allExcept": [ "[", "]", "{", "}" ] }, "disallowKeywordsOnNewLine": [ ]...
152
852
import FWCore.ParameterSet.Config as cms # Reading from DB from CondCore.DBCommon.CondDBSetup_cfi import * PoolDBESSource = cms.ESSource("PoolDBESSource", CondDBSetup, connect = cms.string('frontier://FrontierProd/CMS_COND_21X_ALIGNMENT'), toGet = cms.VPSet(cms.PSet( record = cms.string('TrackerAli...
257
803
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "std.hxx" #include "_bf.hxx" // Only Init requires the global cbPage, subsequent this point the buffer manager is page independent, and // supports multiple page sizes concurrently. // #ifdef g_cbPage #undef g_cbPage #endif #defi...
464,914
419
<reponame>limasigor2/heimdall package br.com.conductor.heimdall.core.service; /*- * =========================LICENSE_START================================== * heimdall-core * ======================================================================== * Copyright (C) 2018 Conductor Tecnologia SA * ===================...
5,064
378
<filename>src/com/njupt/sms/ui/HomeTeacher.java<gh_stars>100-1000 package com.njupt.sms.ui; import com.njupt.sms.Session; import com.njupt.sms.beans.Course; import com.njupt.sms.beans.Grade; import com.njupt.sms.beans.Student; import com.njupt.sms.beans.Teacher; import com.njupt.sms.utils.CourseUtils; import com.njupt...
4,612
455
#include "Stopwatch.h" #include "../TimeManager.h" #include "../Logger.h" namespace star { Stopwatch::Stopwatch() : m_bPaused(false) , m_bStarted(false) , m_TimePairVec() , m_Laps() { } Stopwatch::Stopwatch(const Stopwatch & yRef) : m_bPaused(yRef.m_bPaused) , m_bStarted(yRef.m_bStarte...
1,109
2,257
""" .. _recipes.rasterio: ================================= Parsing rasterio's geocoordinates ================================= Converting a projection's cartesian coordinates into 2D longitudes and latitudes. These new coordinates might be handy for plotting and indexing, but it should be kept in mind that a grid ...
472
2,094
//////////////////////////////////////////////////////////////////////////////////////////////////// // // Project: Embedded Learning Library (ELL) // File: TransformData.cpp (utilities) // Authors: <NAME>, <NAME> // //////////////////////////////////////////////////////////////////////////////////////////////...
6,024
9,156
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
1,213
777
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_GPU_ANDROID_MEDIA_CODEC_VIDEO_DECODER_H_ #define MEDIA_GPU_ANDROID_MEDIA_CODEC_VIDEO_DECODER_H_ #include "base/threading/thread_checker.h" ...
510
1,283
package com.pengrad.telegrambot.model.request; import java.io.Serializable; public class InputInvoiceMessageContent extends InputMessageContent implements Serializable { private final static long serialVersionUID = 0L; private String title; private String description; private String payload; ...
1,191
328
// Copyright 2021 The BladeDISC Authors. All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable l...
1,490
3,282
<filename>chrome/android/java/src/org/chromium/chrome/browser/preferences/LegalInformationPreferences.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.chrome.browser.preferences...
248
10,031
/* * Copyright (c) 2018. paascloud.net All Rights Reserved. * 项目名称:paascloud快速搭建企业级分布式微服务平台 * 类名称:MqMessageDto.java * 创建人:刘兆明 * 联系方式:<EMAIL> * 开源地址: https://github.com/paascloud * 博客地址: http://blog.paascloud.net * 项目官网: http://paascloud.net */ package com.paascloud.base.dto; import lombok.AllArgsConstructor; ...
347
30,023
<reponame>MrDelik/core """The Sonarr component.""" from __future__ import annotations from datetime import timedelta import logging from aiopyarr import ArrAuthenticationException, ArrException from aiopyarr.models.host_configuration import PyArrHostConfiguration from aiopyarr.sonarr_client import SonarrClient from ...
1,627
349
<reponame>bvn13/skin-composer package com.ray3k.skincomposer.dialog.scenecomposer.undoables; import com.ray3k.skincomposer.dialog.scenecomposer.DialogSceneComposer; import com.ray3k.skincomposer.dialog.scenecomposer.DialogSceneComposerModel; public class ScrollPaneForceScrollYUndoable implements SceneComposerUndoable...
730
523
{"type":"newline","line":2} {"type":"mixin","line":2,"val":"article","args":"name"} {"type":"indent","line":3,"val":2} {"type":"tag","line":3,"val":"section","selfClosing":false} {"type":"class","line":3,"val":"article"} {"type":"indent","line":4,"val":4} {"type":"tag","line":4,"val":"h1","selfClosing":false} {"type":"...
866
842
<filename>payload-dependencies/src/main/java/io/jenkins/jenkinsfile/runner/payloadDeps/PayloadDependencies.java package io.jenkins.jenkinsfile.runner.payloadDeps; import org.kohsuke.accmod.Restricted; import org.kohsuke.accmod.restrictions.NoExternalUse; @Restricted(NoExternalUse.class) public class PayloadDependenci...
125
1,338
/* * BeOS Driver for Intel ICH AC'97 Link interface * * Copyright (c) 2002, <NAME> <<EMAIL>> * * 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 ret...
868
545
<gh_stars>100-1000 #include <vector> #include <iostream> #include <sstream> std::vector<int>::const_iterator hasValue(std::vector<int>::const_iterator begin, std::vector<int>::const_iterator end, int k) { for (auto it = begin; it != end; ++it) if (k == *it) return it; return e...
338
14,425
/* * 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 ...
945
421
#using <System.Xml.dll> using namespace System; using namespace System::IO; using namespace System::Xml; using namespace System::Xml::Schema; using namespace System::Xml::Serialization; // <Snippet1> public ref class Vehicle { public: [XmlAttributeAttribute(Form=XmlSchemaForm::Qualified)] Str...
166
1,091
/* * Copyright 2017-present Open Networking Foundation * * 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 appli...
1,931
1,652
package com.ctrip.xpipe.redis.core.proxy.exception; import com.ctrip.xpipe.exception.XpipeRuntimeException; public class ProxyProtocolParseException extends XpipeRuntimeException { public ProxyProtocolParseException(String message) { super(message); } }
90
575
<filename>third_party/blink/renderer/bindings/tests/results/core/v8_test_interface_constructor_4.cc // 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. // This file has been auto-generated from the Jinja2 t...
3,380
5,535
<gh_stars>1000+ //--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2012 EMC Corp. // // @filename: // CCorrelatedExecutionTest.h // // @doc: // Test for correlated subqueries //---------------------------------------------------------------------------...
453
775
<reponame>ntyukaev/training_extensions<gh_stars>100-1000 """ Model exporting tool. """ # Copyright (C) 2021 Intel 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.a...
1,110
360
<filename>contrib/sepgsql/proc.cpp /* ------------------------------------------------------------------------- * * contrib/sepgsql/proc.c * * Routines corresponding to procedure objects * * Copyright (c) 2010-2012, PostgreSQL Global Development Group * * --------------------------------------------------------...
2,063
3,967
# Copyright (c) 2020, NVIDIA CORPORATION. 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 applic...
739
852
import FWCore.ParameterSet.Config as cms from Configuration.Eras.Era_Run2_25ns_cff import Run2_25ns from Configuration.Eras.Modifier_tracker_apv_vfp30_2016_cff import tracker_apv_vfp30_2016 Run2_25ns_HIPM = cms.ModifierChain(Run2_25ns, tracker_apv_vfp30_2016)
108
657
<reponame>sndp487/rescuekerala # Generated by Django 2.2.11 on 2020-06-21 11:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("mainapp", "0112_auto_20200531_2242"), ] operations = [ migrations.AlterField(model_name="hashtag", name="nam...
152
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. #ifndef CHROME_BROWSER_CHROMEOS_POWER_AUTO_SCREEN_BRIGHTNESS_BRIGHTNESS_MONITOR_H_ #define CHROME_BROWSER_CHROMEOS_POWER_AUTO_SCREEN_BR...
702
1,090
#include "stdafx.h" #include "TestProfilerInfo.h" #include "MockProfilerInfo.h" #include "ComBaseTest.h" using ::testing::_; using ::testing::Return; using ::testing::Invoke; class ProfilerInfoBaseTest : public ComBaseTest { public: ProfilerInfoBaseTest() : mockProfilerInfo_(nullptr), testProfilerInfo_...
19,367
348
{"nom":"Champeau-en-Morvan","circ":"4ème circonscription","dpt":"Côte-d'Or","inscrits":239,"abs":114,"votants":125,"blancs":10,"nuls":7,"exp":108,"res":[{"nuance":"REM","nom":"<NAME>","voix":55},{"nuance":"LR","nom":"M. <NAME>","voix":53}]}
101
634
<reponame>vttranlina/james-project /**************************************************************** * 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 copyrigh...
1,176
22,040
import re from ..punctuation import ALPHA_LOWER, ALPHA from ...symbols import ORTH, NORM _exc = {} _abbr_period_exc = [ {ORTH: "A.B.D.", NORM: "Amerika"}, {ORTH: "Alb.", NORM: "albay"}, {ORTH: "Ank.", NORM: "Ankara"}, {ORTH: "Ar.Gör."}, {ORTH: "Arş.Gör."}, {ORTH: "Asb.", NORM: "astsubay"}, ...
3,423
3,442
<filename>src/net/java/sip/communicator/plugin/desktoputil/ScreenInformation.java /* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
976
986
import ibis.expr.operations as ops import ibis.expr.rules as rlz import ibis.expr.types as ir class TypedCaseBuilder: __slots__ = () def type(self): return rlz.highest_precedence_dtype(self.results) def else_(self, result_expr): """ Specify Returns ------- ...
1,519
5,169
{ "name": "Konotor", "version": "3.6.10", "summary": "Konotor - iOS SDK - Rich 2 way messaging inbox for apps", "description": " Konotor enables businesses and app owners to engage, retain and sell more to their mobile app users by powering a rich 2-way messaging inbox for apps.\n\n ...
730
348
<gh_stars>100-1000 {"nom":"Donnery","circ":"6ème circonscription","dpt":"Loiret","inscrits":2000,"abs":1073,"votants":927,"blancs":68,"nuls":34,"exp":825,"res":[{"nuance":"MDM","nom":"<NAME>","voix":458},{"nuance":"UDI","nom":"Mme <NAME>","voix":367}]}
103
778
<reponame>qiongqiong-wu/XPush /* * Copyright (C) 2019 xuexiangjys(<EMAIL>) * * 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 * * Un...
823
8,360
# coding:utf-8 # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License" # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
2,798
868
<reponame>phamleduy04/lavaplayer package com.sedmelluq.discord.lavaplayer.tools.http; import java.util.Collection; import java.util.function.Consumer; import java.util.function.Function; import org.apache.http.client.config.RequestConfig; import org.apache.http.impl.client.HttpClientBuilder; public class MultiHttpCon...
364
379
package com.example.springdemo.springdemo.selenium; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; i...
362
1,768
<reponame>zwergziege/tlaplus /******************************************************************************* * Copyright (c) 2019 Microsoft Research. All rights reserved. * * The MIT License (MIT) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associate...
2,003
2,757
<reponame>KrzysztofKoch1/edk2 /** @file ACPI Watchdog Action Table (WADT) as defined at Microsoft Hardware Watchdog Timers Design Specification. Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the t...
2,216
8,273
// Copyright 2010-2021 Google LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
1,581
1,025
//===================================================================== // Copyright (c) 2012 Advanced Micro Devices, Inc. All rights reserved. // /// \author GPU Developer Tools /// \file $File: //devtools/main/CodeXL/Components/GpuProfiling/AMDTGpuProfiling/TraceView.cpp $ /// \version $Revision: #144 $ /// \brief : ...
41,536
852
#ifndef RecoBTag_FeatureTools_SeedingTrackInfoBuilder_h #define RecoBTag_FeatureTools_SeedingTrackInfoBuilder_h #include "TrackingTools/Records/interface/TransientTrackRecord.h" #include "TrackingTools/IPTools/interface/IPTools.h" #include "RecoBTag/TrackProbability/interface/HistogramProbabilityEstimator.h" namespac...
1,224
1,510
<filename>protocol/src/main/java/org/apache/drill/exec/proto/CoordinationProtos.java /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licens...
53,769
3,970
// OCHamcrest by <NAME>, http://qualitycoding.org/about/ // Copyright 2014 hamcrest.org. See LICENSE.txt #import <OCHamcrest/HCDiagnosingMatcher.h> @interface HCAllOf : HCDiagnosingMatcher + (instancetype)allOf:(NSArray *)matchers; - (instancetype)initWithMatchers:(NSArray *)matchers; @end FOUNDATION_EXPORT id...
331
2,151
<gh_stars>1000+ // 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 "third_party/blink/renderer/modules/webgl/ext_srgb.h" #include "third_party/blink/renderer/modules/webgl/webgl_rendering_context...
324
310
<filename>gear/hardware/m/ms-25-plus.json { "name": "MS 25 Plus", "description": "A typewriter.", "url": "https://www.amazon.com/Olivetti-MS-25-Plus-Typewriter/dp/B00093IW12/" }
78
545
<gh_stars>100-1000 import json import uuid from datetime import timedelta from le_utils.constants import content_kinds from mock import patch from rest_framework.test import APITestCase from kolibri.core.auth.test.helpers import create_superuser from kolibri.core.auth.test.helpers import provision_device from kolibri...
27,497
9,724
<gh_stars>1000+ // From http://rosettacode.org/wiki/Conway%27s_Game_of_Life#C #include <stdio.h> #include <stdlib.h> #include <unistd.h> #define for_x for (int x = 0; x < w; x++) #define for_y for (int y = 0; y < h; y++) #define for_xy for_x for_y void show(void *u, int w, int h) { int (*univ)[w] = u; for_x pri...
1,072
3,799
<reponame>semoro/androidx /* * Copyright 2021 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 * * ...
650
307
/** ****************************************************************************** * @file usbd_hid.h * @author MCD Application Team * @brief Header file for the usbd_hid_core.c file. ****************************************************************************** * @attention * * <h2><cente...
1,502
4,339
/* * 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 ...
325
14,668
<reponame>zealoussnow/chromium<gh_stars>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 "components/autofill/core/browser/test_autofill_profile_validator.h" #include <memory> #include "...
853
397
package com.zrlog.business.service; public interface InstallAction { /** * 当安装流程正常执行完成时,调用了该方法,主要用于配置,启动JFinal插件功能,以及相应的Zrlog的插件服务。 */ void installFinish(); }
147
4,054
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include "named_service.h" #include "monitor.h" #include <vespa/fnet/frt/invoker.h> namespace slobrok { //----------------------------------------------------------------------------- class IRpcServ...
600
577
class foo: def bar(): return 'bar' try: foo.bar() except TypeError: pass else: print 'unbound method must be called with class instance 1st argument'
67
5,133
<gh_stars>1000+ /* * Copyright MapStruct Authors. * * Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0 */ package org.mapstruct.ap.test.nestedsource.parameter; import org.mapstruct.InheritInverseConfiguration; import org.mapstruct.Mapper; import org.mapstruct.M...
458
617
<filename>Source/RTSProject/Plugins/RealTimeStrategy/Source/RealTimeStrategy/Classes/Combat/RTSProjectile.h #pragma once #include "CoreMinimal.h" #include "GameFramework/Actor.h" #include "Templates/SubclassOf.h" #include "RTSProjectile.generated.h" class UProjectileMovementComponent; class USoundCue; /** * Proj...
1,384
2,103
import base64 import pytest from h.models.auth_client import GrantType @pytest.fixture def authority(): return "example.com" @pytest.fixture def user(_user_for_authority, authority): return _user_for_authority(authority) @pytest.fixture def auth_header(auth_header_for_authority, authority): return a...
508
2,151
/************************************************************************** * * Copyright 2009 VMware, Inc. All Rights Reserved. * Copyright 2010 LunarG, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation fil...
22,173
304
<reponame>Megarushing/pook import pook import requests # Enable mock engine pook.on() pook.get('httpbin.org/ip', reply=403, response_type='json', response_headers={'server': 'pook'}, response_json={'error': 'not found'}) pook.get('httpbin.org/headers', reply=404, response_type='j...
330