max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
14,668
<filename>chrome/browser/ui/extensions/settings_overridden_params_providers.h // 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 CHROME_BROWSER_UI_EXTENSIONS_SETTINGS_OVERRIDDEN_PARAMS_PROVIDERS_H_...
378
742
#ifndef SKY_SUN_DEFINITION_H #define SKY_SUN_DEFINITION_H #include "../Assets/TextureAssetReference.h" class SkySunDefinition { private: TextureAssetReference textureAssetRef; public: void init(TextureAssetReference &&textureAssetRef); const TextureAssetReference &getTextureAssetRef() const; }; #endif
101
5,169
<gh_stars>1000+ { "name": "CBCache", "summary": "High performance cache framework for iOS.", "version": "2.0.0", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "cdnbye": "<EMAIL>" }, "social_media_url": "https://docs.cdnbye.com", "homepage": "https://github.com/snowinszu/CBC...
299
1,094
/*********************************************************************************************************************************** Buffer Handler ***********************************************************************************************************************************/ #ifndef COMMON_TYPE_BUFFER_H #define CO...
3,124
668
<reponame>vishal3152/fineract /** * 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...
8,600
935
/* * Copyright 2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
556
2,360
<reponame>LiamBindle/spack<filename>var/spack/repos/builtin.mock/packages/configure-warning/package.py # 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 *...
386
454
package io.vertx.up.eon.em; /* * State machine moving: * STARTING ------| * v * |------> READY <-------------------| * | | | * | | <start> * | | | * | <start> |...
634
348
<filename>docs/data/leg-t1/033/03305300.json {"nom":"Naujac-sur-Mer","circ":"5ème circonscription","dpt":"Gironde","inscrits":872,"abs":465,"votants":407,"blancs":3,"nuls":1,"exp":403,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":109},{"nuance":"FN","nom":"<NAME>","voix":95},{"nuance":"SOC","nom":"Mme <NAME>","voix":...
320
2,881
package com.salesmanager.shop.application.config; import java.util.concurrent.Executor; import java.util.concurrent.Executors; import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler; import org.springframework.aop.interceptor.SimpleAsyncUncaughtExceptionHandler; import org.springframework.conte...
318
329
<gh_stars>100-1000 #include <cstdlib> #include <iostream> #include "Foo.hpp" using namespace rust; int main() { // ANCHOR: call_rust Foo foo(5); int res = foo.f(1, 2); // ANCHOR_END: call_rust if (res == 8) { std::cout << "All works fine\n"; } else { std::cout << "Something...
196
3,428
<reponame>ghalimi/stdlib<filename>lib/node_modules/@stdlib/datasets/spam-assassin/data/easy-ham-1/02290.63a40c780fe1f8e771f62473dc3dce0b.json {"id":"02290","group":"easy-ham-1","checksum":{"type":"MD5","value":"63a40c780fe1f8e771f62473dc3dce0b"},"text":"From <EMAIL> Sat Oct 5 12:37:57 2002\nReturn-Path: <<EMAIL>>\nDe...
528
1,473
<gh_stars>1000+ package com.navercorp.pinpoint.web.calltree.span; import com.navercorp.pinpoint.common.server.bo.SpanBo; import com.navercorp.pinpoint.common.util.CollectionUtils; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.Iterator; import java.util.List; im...
1,369
1,531
<reponame>YANG-DB/cqengine<gh_stars>1000+ /** * Copyright 2012-2015 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
5,790
373
<gh_stars>100-1000 /** @file Gigabit Ethernet policy Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #ifndef _GBE_CONFIG_H_ #define _GBE_CONFIG_H_ #define GBE_CONFIG_REVISION 1 extern EFI_GUID gGbeConfigGuid; #pragma pack (push,1) ...
430
3,442
/* * 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 License. * You may obtain a copy of the License at * * http://www.apache.or...
4,385
793
#ifndef RANDOM_DEP @interface X @end #endif // RANDOM_DEP
26
2,757
/** @file Get SEC platform information(2) PPI and reinstall it. Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The ...
4,590
892
<reponame>westonsteimel/advisory-database-github { "schema_version": "1.2.0", "id": "GHSA-v8fp-2p2f-6r3c", "modified": "2022-05-01T23:44:09Z", "published": "2022-05-01T23:44:09Z", "aliases": [ "CVE-2008-1845" ], "details": "The Korn shell (aka mksh) before R33d on MirOS (aka MirBSD) does not flush the...
591
1,780
<gh_stars>1000+ package io.seata.samples.api.service.impl; import java.sql.SQLException; import io.seata.samples.api.service.AbstractDataCheck; import io.seata.samples.api.service.StorageService; import io.seata.samples.api.utils.DataSourceUtil; /** * The type Storage service. * * @author jimin.jm @alibaba-inc.co...
561
1,720
<reponame>Croden1999/Play-<gh_stars>1000+ #include "InputProviderXInput.h" #include "string_format.h" #define PROVIDER_ID 'xinp' // clang-format off const char* CInputProviderXInput::g_keyNames[CInputProviderXInput::KEYID_MAX] = { "Left Thumb (X Axis)", "Left Thumb (Y Axis)", "Right Thumb (X Axis)", "Right Thumb ...
2,069
1,779
<gh_stars>1000+ /* * Copyright (c) 2020 the original author or authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless...
638
362
<reponame>ayberkgerey5/FrameGraphx<gh_stars>100-1000 // Copyright (c) 2018-2020, <NAME>. For more information see 'LICENSE' #include "Public/VertexInputState.h" #include "Shared/EnumToString.h" namespace FG { /* ================================================= VertexAttrib::operator == ===========================...
2,686
14,668
<reponame>zealoussnow/chromium // Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/layout/line/line_orientation_utils.h" namespace blink { LayoutRectOutsets LineO...
391
335
<filename>U/Unconvincing_adjective.json<gh_stars>100-1000 { "word": "Unconvincing", "definitions": [ "Failing to make someone believe that something is true or valid.", "Failing to impress." ], "parts-of-speech": "Adjective" }
106
879
<reponame>qianfei11/zstack package org.zstack.header.identity; import org.zstack.header.message.APIEvent; import org.zstack.header.rest.RestResponse; /** * Created by frank on 7/9/2015. */ @RestResponse public class APIDeleteUserGroupEvent extends APIEvent { public APIDeleteUserGroupEvent() { } public ...
211
2,338
<filename>clang/test/Sema/attr-availability-iosmac-infer-from-macos-no-sdk-settings.c // RUN: %clang_cc1 "-triple" "x86_64-apple-ios13.1-macabi" -fsyntax-only -verify %s void f0(void) __attribute__((availability(macOS, introduced = 10.11))); // expected-warning@-1 {{macOS availability is ignored without a valid 'SDKSe...
151
1,444
package mage.cards.t; import java.util.UUID; import mage.abilities.Ability; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.OneShotEffect; import mage.abilities.keyword.FlashbackAbility; import mage.cards.Card; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.cards....
1,180
1,473
<reponame>FateForWindows/recompiler #include "build.h" #include "xenonMemory.h" namespace xenon { Memory::Memory(native::IMemory& nativeMemory) : m_nativeMemory(nativeMemory) {} //-- const bool Memory::MemoryClass::Initialize(native::IMemory& memory, const uint32 prefferedBase, const uint32 totalVirtualMemoryA...
2,275
679
<reponame>Grosskopf/openoffice<filename>main/sw/source/core/layout/pagedesc.cxx<gh_stars>100-1000 /************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this wor...
5,541
1,337
# python3 # pylint: disable=g-bad-file-header # Copyright 2019 DeepMind Technologies Limited. 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...
1,573
480
<gh_stars>100-1000 /* * 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 * * Unl...
865
705
<filename>01_Intro to Java/Object-oriented programming_Tools/course_examples-master/src/week03_part01/StandardCar.java package week03_part01; public class StandardCar extends MotorVehicle implements Drivable { protected double currentSpeed; private String make; public StandardCar(String make) { maxSpeed = 170; ...
314
12,004
<reponame>goverdhan07/pulumi # coding=utf-8 # *** WARNING: this file was generated by test. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from enum import Enum __all__ = [ 'SupportedFilterTypes', ] class SupportedFilterTypes(str, Enum): """ Type of product filter. ...
188
3,102
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm %s -o - | FileCheck %s // PR8864 struct Foo { friend bool TryFoo(Foo *f2) { return TryFoo(0, f2); } // CHECK: define{{.*}}Z6TryFooP3Foo // CHECK-NOT: ret // CHECK: call{{.*}}Z6TryFooiP3Foo // CHECK: ret friend bool TryFoo(int, Foo *f3); }; bool TryFoo(Foo *...
176
526
<reponame>rychagova/egeria /* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.userinterface.uichassis.springboot.api; import org.odpi.openmetadata.userinterface.uichassis.springboot.auth.AuthService; import org.odpi.openmetadata.userinterfac...
381
5,727
<reponame>bbbbb1202/tcc-transaction package org.mengyun.tcctransaction.server.dao; import lombok.extern.slf4j.Slf4j; import org.apache.commons.pool2.impl.GenericObjectPoolConfig; import org.mengyun.tcctransaction.repository.helper.JedisCallback; import org.mengyun.tcctransaction.repository.helper.RedisHelper; import o...
4,730
831
/* * Copyright (C) 2016 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...
431
2,549
<filename>hatch/build.py import subprocess from hatch.config import get_proper_python from hatch.utils import NEED_SUBPROCESS_SHELL, chdir def build_package(d, build_dir, universal=None, name=None, pypath=None, verbose=False): command = [pypath or get_proper_python(), 'setup.py'] if not ve...
307
2,591
package liquibase.util.csv; import com.opencsv.CSVWriterBuilder; import com.opencsv.ICSVWriter; import liquibase.util.ISODateFormat; import java.io.Flushable; import java.io.IOException; import java.io.Writer; import java.sql.ResultSet; import java.sql.SQLException; public class CSVWriter implements AutoCloseable, F...
260
879
<gh_stars>100-1000 #if WINDOWS_VERSION #include <windows.h> #include "Mac2Win.H" #endif #include <assert.h> #include "IPlugGroup.h" #include "FicPluginEnums.h" #include "FicProcessTokens.h" #include "CDAEError.h" #include "IPlugProcess.h" #include "CNoResourceView.h" #include "SliderConversions.h" #include "CPlugincont...
4,445
4,415
<filename>neon/layers/layer.py # ****************************************************************************** # Copyright 2017-2018 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 Li...
47,695
3,102
#define FUNC(X) X #define FUNCTOR using FUNCTION = int(); // We should get all three completions when the cursor is at the beginning, // middle, or end. FUNC(int) a = 10; // ^FUNC(int) // RUN: %clang_cc1 -code-completion-at=%s:6:1 -code-completion-macros %s | FileCheck %s // FU^NC(int) // RUN: %clang_cc1 -code-completi...
248
1,235
package com.amazonaws.serverless.proxy.struts2.echoapp; import com.opensymphony.xwork2.ActionSupport; import org.apache.commons.io.IOUtils; import org.apache.struts2.ServletActionContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; public ...
558
344
<filename>src/lac/src/ilac.cpp /* Copyright (c) 2018 Baidu, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
706
4,335
/** ****************************************************************************** * @file stm32f1xx_hal_can_ex.h * @author MCD Application Team * @version V1.0.4 * @date 29-April-2016 * @brief Header file of CAN HAL Extension module. **************************************************************...
2,700
19,529
KS_TE_RESUME_TYPE = { "KS_TERT_RESTART": "int", "KS_TERT_RESUME": "int", "KS_TERT_QUICK": "int", } CThostFtdcReqUserLoginField = { "AccountID": "string", "LoginType": "int", "Password": "string", "LoginIp": "string", "MacAddress": "string", "UserProductionInfo": "string", "Proto...
7,754
14,668
<reponame>zealoussnow/chromium<gh_stars>1000+ // Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/send_tab_to_self/send_tab_to_self_bubble_device_button.h" #include <strin...
1,280
3,189
<reponame>izinga/bluepill<gh_stars>1000+ // // Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // // Copyright (C) 1997-2019 <NAME>. // @class NSString; @protocol XCTMessagingRole_UIApplicationStateUpdating - (void)_XCT_applicationWithBundleID:(NSString *)arg1 didUpdatePID:(in...
136
3,227
namespace CGAL { /*! \ingroup kernel_classes2 An object `c` of type `Circle_2` is a circle in the two-dimensional Euclidean plane \f$ \E^2\f$. The circle is oriented, i.e.\ its boundary has clockwise or counterclockwise orientation. The boundary splits \f$ \E^2\f$ into a positive and a negative side, where the positi...
1,539
754
<filename>com.creditease.uav.jetty.plus.core/src/main/java/com/creditease/uav/jetty/plus/interceptor/ServletContextHandlerWrapper.java /*- * << * UAVStack * == * Copyright (C) 2016 - 2017 UAVStack * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complia...
5,210
852
import FWCore.ParameterSet.Config as cms # AlCaReco for track based alignment using WMuNu events OutALCARECOTkAlWMuNu_noDrop = cms.PSet( SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring('pathALCARECOTkAlWMuNu') ), outputCommands = cms.untracked.vstring( 'keep *_ALCARECOTkAlWMuN...
323
965
// Select the last item in the list box. int nCount = m_myListBox.GetCount(); if (nCount > 0) m_myListBox.SetCurSel(nCount - 1);
50
347
package org.ovirt.engine.core.bll.validator; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Set; import java.util.function.Function; import java.util.stream.Collectors; import org.ovirt.engine.core.bll.ValidationResult; import org.ovirt.engine.co...
5,794
852
import FWCore.ParameterSet.Config as cms process = cms.Process('TrackingTruthPlayback') # Global conditions process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff') # Playback process.load("SimGeneral.TrackingAnalysis.Playback_cfi") # TrackingTruth process.load("SimGeneral.TrackingAnalysis.tr...
3,423
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.databox.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.fasterxml.j...
1,120
424
<gh_stars>100-1000 /* * Copyright (c) 2011-2019 Contributors to the Eclipse Foundation * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 * which is ...
3,755
1,615
<filename>MLN-Android/mlncore/src/main/java/org/luaj/vm2/JavaUserdata.java /** * Created by MomoLuaNative. * Copyright (c) 2019, Momo Group. All rights reserved. * * This source code is licensed under the MIT. * For the full copyright and license information,please view the LICENSE file in the root directory ...
717
1,602
#ifdef HAVE_CONFIG_H # include "config.h" #endif /* The API */ #include "qthread/qthread.h" /* System Headers */ #include <stdio.h> /* Internal Headers */ #include "qt_teams.h" #include "qt_subsystems.h" #include "qt_qthread_struct.h" #include "qt_qthread_mgmt.h" #include "qt_visibility.h" #include "qt_mpool.h" #inc...
8,004
1,276
#include <iostream> #include <vector> #include <cmath> #include <cstring> #include <cstdlib> #include <array> #include <benchmark/benchmark.h> #include <x86intrin.h> #include <omp.h> // L1: 32KB // L2: 256KB // L3: 12MB constexpr size_t n = 1<<9; static uint32_t randomize(uint32_t i) { i = (i ^ 61) ^ (i >> 16); i ...
863
5,169
{ "name": "UKLFNetworking", "version": "1.2.6", "license": "MIT", "summary": "A delightful iOS and OS X networking framework.", "homepage": "https://github.com/LaiFengiOS/UKLFNetworking", "authors": { "wangxiaoxiang": "<EMAIL>" }, "source": { "git": "https://github.com/LaiFengiOS/UKLFNetworking....
1,251
347
<filename>backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetPermissionsForObjectQuery.java package org.ovirt.engine.core.bll; import java.util.List; import javax.inject.Inject; import org.ovirt.engine.core.bll.context.EngineContext; import org.ovirt.engine.core.common.businessentities.Permission...
541
799
<gh_stars>100-1000 users_list_mock = [ { 'id': '08779ba7-f3ed-4344-b9d7-98b9911ea8a8', 'displayName': 'Test User', 'jobTitle': "Magician", 'mobilePhone': None, 'mail': None }, { 'id': '670edadc-0197-45b0-90e6-ee061e25ab73', 'displayName': 'Test1', ...
1,629
9,088
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. #include <catch/catch.hpp> #include <utils/string.h> using namespace napa; TEST_CASE("utils", "[string]") { SECTION("ReplaceAll - No match") { std::string str = "no match at all"; utils::string::Repla...
1,117
1,025
<filename>examples/plot_nyc_collision_factors.py """ KDEPlot of two NYC traffic accident contributing factors ======================================================== This example shows traffic accident densities for two common contributing factors: loss of consciousness and failure to yield right-of-way. These factor...
667
524
#pragma once #include "fetch_event.h" namespace core { namespace wim { class fetch_event_typing: public fetch_event { bool is_typing_ = false; std::string aimid_; std::string chatter_aimid_; std::string chatter_name_; public: ...
424
446
from django.test import TestCase from .federation import * # Create your tests here. class BaseTest(TestCase): def setUp(self): super().setUp() def tearDown(self): super().tearDown() def test_harness(self): return
101
3,215
<reponame>listuser/jc<gh_stars>1000+ {"user_time":0.0,"system_time":0.0,"elapsed_time":"0:00.00","cpu_percent":100,"average_shared_text":"0","average_unshared_data_size":0,"maximum_resident_set_size":2064,"block_input_operations":0,"block_output_operations":0,"major_pagefaults":0,"minor_pagefaults":71,"swaps":0,"elapse...
174
649
# -*- coding: utf-8 -*- # 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 require...
11,622
876
// // DateUtils.h // CovidShield // // Created by <NAME> on 2021-05-07. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface DateUtils : NSObject + (BOOL)isSameDay:(NSDate *)date1 date2:(NSDate *)date2; + (NSDate *)getCurrentUTCDate; @end NS_ASSUME_NONNULL_END
124
559
/** * Copyright (c) 2016-2017 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 * * Unless requir...
3,335
6,390
import unittest import numpy as np import scipy.sparse from autosklearn.pipeline.implementations.CategoryShift import CategoryShift class CategoryShiftTest(unittest.TestCase): def test_dense(self): X = np.random.randint(0, 255, (3, 4)) Y = CategoryShift().fit_transform(X) self.assertTrue...
526
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 ...
2,484
517
/* * Copyright (c) 2008. All rights reserved. */ package ro.isdc.wro.model.resource.processor.support; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PushbackInputStream; /** * JsMin.java. * <p> * Copyright (c) 2006 <NAME> (www.inconspicuous.org) This work is ...
3,674
334
<gh_stars>100-1000 // Auto generated code, do not modify package nxt.http.callers; import nxt.http.APICall; public class GetDGSTagCountCall extends APICall.Builder<GetDGSTagCountCall> { private GetDGSTagCountCall() { super(ApiSpec.getDGSTagCount); } public static GetDGSTagCountCall create() { ...
282
1,939
<reponame>Kinway050/bk-ci package com.tencent.devops.common.api.clusterresult; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.List; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; @Data @ApiModel @NoArgsConstructor @Equals...
306
850
// GENERATED FILE - DO NOT MODIFY #include "tensorflow/core/framework/log_memory.pb_text-impl.h" using ::tensorflow::strings::Scanner; using ::tensorflow::strings::StrCat; namespace tensorflow { string ProtoDebugString( const ::tensorflow::MemoryLogStep& msg) { string s; ::tensorflow::strings::ProtoTextOutpu...
7,864
4,822
<gh_stars>1000+ /* * 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...
624
14,668
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROMEOS_SERVICES_MULTIDEVICE_SETUP_FAKE_HOST_STATUS_PROVIDER_H_ #define CHROMEOS_SERVICES_MULTIDEVICE_SETUP_FAKE_HOST_STATUS_PROVIDER_H_ #includ...
663
348
{"nom":"Dampvalley-lès-Colombe","dpt":"Haute-Saône","inscrits":89,"abs":12,"votants":77,"blancs":5,"nuls":4,"exp":68,"res":[{"panneau":"2","voix":39},{"panneau":"1","voix":29}]}
80
892
{ "schema_version": "1.2.0", "id": "GHSA-vwq6-34g6-9p39", "modified": "2022-04-30T18:19:23Z", "published": "2022-04-30T18:19:23Z", "aliases": [ "CVE-2002-0505" ], "details": "Memory leak in the Call Telephony Integration (CTI) Framework authentication for Cisco CallManager 3.0 and 3.1 before 3.1(3) al...
469
315
// -*- mode: c++; indent-tabs-mode: nil; -*- // // // Copyright (c) 2010-2015 Illumina, Inc. // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistributions of source code must retain th...
1,025
2,944
<reponame>mytory/android-saripaar-custom /* * 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,...
1,429
386
package se.magnus.microservices.core.recommendation.services; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RestController; import se.magnus.api.core.recommendation.Recommendation; import se.magnus....
588
831
/* * Copyright (C) 2016 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...
2,425
317
<reponame>rachelaus/perma import json import shutil import os from urllib.parse import urlencode from django.conf import settings from django.test import TestCase from django.urls import reverse from perma.models import LinkUser class SentinelException(Exception): pass failed_test_files_path = os.path.join(s...
2,300
1,044
{ "manufacturer": "TCL", "supportedModels": [ "43S6500FS" ], "supportedController": "Broadlink", "commandsEncoding": "Base64", "commands": { "off": "<KEY> "on": "<KEY> "previousChannel": "JgBsAIKDEkISQhFCEkIRIhIgEkISIRJBEkISIRIhESIRIxIgEiESQhJBEiESQhEhEiESQhJBEgABGIOEEkISQhJB...
712
4,002
<gh_stars>1000+ package com.lukflug.panelstudio; /** * Interface representing a drawable object in the GUI. * * @author lukflug */ public interface Component { /** * Get the caption of the component. String may also be empty. * * @return the caption of the component */ String getTitle()...
889
854
<filename>C++/1282.cpp __________________________________________________________________________________________________ sample 12 ms submission class Solution { public: vector<vector<int>> groupThePeople(vector<int>& groupSizes) { int n = groupSizes.size(); unordered_map<int, vector<int>> um; ...
1,172
364
<reponame>xiaobing007/dagli package com.linkedin.dagli.objectio; import it.unimi.dsi.fastutil.BigList; import java.util.Collection; import java.util.List; import java.util.Spliterator; import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Predicate; import java.util.stream.S...
1,094
3,489
<gh_stars>1000+ /* graph_builder.h --------------- For graphs it's sometimes impractical to assume that the vertices will arrive in sorted order, which is required for constructing a compressed sparse row (CSR) matrix. This is simply a coordinate matrix (COO) style constructor where the rows/columns do not need to be ...
448
1,007
<filename>src/main/java/io/appium/java_client/ios/options/simulator/SupportsScaleFactorOption.java /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional * information reg...
665
337
import xarray import pyarrow as pa def test_to_items(df_local): df = df_local items = df.to_items(['x', 'y']) (xname, xvalues), (yname, yvalues) = items assert xname == 'x' assert yname == 'y' assert xvalues.tolist() == df.x.tolist() assert yvalues.tolist() == df.y.tolist() for i1, i2...
1,035
765
/* * Copyright (c) 2018 Metempsy Technology Consulting * All rights reserved. * * Copyright (c) 2006 INRIA (Institut National de Recherche en * Informatique et en Automatique / French National Research Institute * for Computer Science and Applied Mathematics) * * All rights reserved. * * Redistribution and u...
6,874
1,821
package com.twitter.util.jackson.tests; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; import org.junit.Assert; import org.junit.Test; import com.twitter.util.jackson.ScalaObjectMapper; public class ScalaObjectMapperJavaTest extends Assert { /* Class unde...
615
496
<gh_stars>100-1000 package com.telerik.metadata.analytics.enabled; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.telerik.metadata.analytics.AnalyticsCollector; import java.nio.charset.StandardCharsets; import java.nio...
1,613
351
<filename>applications/cableplan/aciCableplan_test.py ################################################################################ # _ ____ ___ # # / \ / ___|_ _| # # ...
28,361
485
package com.github.florent37.carpaccio.sample.androidversion; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.github.florent37.carpaccio.sample.R; import com.github.florent37.carpaccio.sample.model.AndroidVersion; ...
467
348
{"nom":"Fernoël","circ":"2ème circonscription","dpt":"Puy-de-Dôme","inscrits":117,"abs":46,"votants":71,"blancs":4,"nuls":0,"exp":67,"res":[{"nuance":"LR","nom":"Mme <NAME>","voix":20},{"nuance":"REM","nom":"<NAME>","voix":18},{"nuance":"FN","nom":"M. <NAME>","voix":14},{"nuance":"SOC","nom":"Mme <NAME>","voix":11},{"n...
225
312
<reponame>yanaspaula/rdf4j /******************************************************************************* * Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v...
661