max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
350
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
7,085
10,225
<filename>integration-tests/artemis-jms/src/test/java/io/quarkus/it/artemis/ArtemisHealthCheckITCase.java<gh_stars>1000+ package io.quarkus.it.artemis; import io.quarkus.test.junit.NativeImageTest; @NativeImageTest public class ArtemisHealthCheckITCase extends ArtemisHealthCheckTest { }
101
347
<reponame>liranr23/ovirt-engine package org.ovirt.engine.core.bll.storage.disk; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.concurrent.locks.Lock; import javax.inject.Inject; import org.ovirt.engine.core.bll.LockMessagesMatchUtil; import org.ovirt.engine.core.bll.No...
4,076
335
<filename>M/Mustard_noun.json { "word": "Mustard", "definitions": [ "A hot-tasting yellow or brown paste made from the crushed seeds of certain plants, typically eaten with meat or used as a cooking ingredient.", "The yellow-flowered Eurasian plant of the cabbage family whose seeds are used to m...
174
392
<reponame>paralax/apollo<gh_stars>100-1000 package io.logz.apollo.excpetions; /** * Created by roiravhon on 1/30/17. */ public class ApolloParseException extends Exception { public ApolloParseException() { } public ApolloParseException(String message) { super(message); } public ApolloPa...
241
346
<reponame>FluffyQuack/ja2-stracciatella #include "Debug.h" #include "FileMan.h" #include "LoadSaveData.h" #include "LoadSaveEMail.h" static void LoadEMailFromFile(HWFILE const File) { UINT32 uiSizeOfSubject; File->read(&uiSizeOfSubject, sizeof(UINT32)); // XXX HACK000B File->seek(uiSizeOfSubject, FILE_SEEK_FROM_CU...
918
11,868
<reponame>therockstorm/openapi-generator /* * test * test * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package org.openapitools.client.mode...
429
1,338
/* * Copyright 2001-2010, Haiku Inc. All rights reserved. * This file may be used under the terms of the MIT License. * * Authors: * <NAME> */ #include "DataStream.h" #include "CachedBlock.h" #include "Volume.h" //#define TRACE_EXT2 #ifdef TRACE_EXT2 # define TRACE(x...) dprintf("\33[34mext2:\33[0m " x) #el...
7,926
1,168
<filename>java-sample/release/output.json<gh_stars>1000+ [{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":58},"path":"BLE-v3.1.0.apk","properties":{"packageId":"com.example.admin.mybledemo","split":"","minSdkVersion":"19"}}]
88
1,293
<reponame>ricbit/manifold<gh_stars>1000+ /* * Copyright (c) 2019 - Manifold Systems 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...
1,447
348
<filename>docs/data/leg-t1/038/03807034.json {"nom":"Beaurepaire","circ":"7ème circonscription","dpt":"Isère","inscrits":3080,"abs":1612,"votants":1468,"blancs":27,"nuls":17,"exp":1424,"res":[{"nuance":"REM","nom":"<NAME>","voix":472},{"nuance":"FN","nom":"<NAME>","voix":285},{"nuance":"LR","nom":"<NAME>","voix":283},{...
244
784
#include "ocvrs_common.hpp" #include <opencv2/dnn.hpp> #if CV_VERSION_MAJOR == 4 #include <opencv2/dnn/version.hpp> #endif #include <opencv2/dnn/all_layers.hpp> #include <opencv2/dnn/shape_utils.hpp>
96
1,338
<gh_stars>1000+ #include <../private/shared/Keymap.h>
22
379
<gh_stars>100-1000 """Fonduer's parser module.""" from fonduer.parser.parser import Parser __all__ = ["Parser"]
39
884
{ "documentVersion": "1.1.1", "jsonSchemaSemanticVersion": "1.0.0", "manifestName": "Group", "entities": [ { "type": "LocalEntity", "entityName": "PayrollTaxGroup", "entityPath": "PayrollTaxGroup.cdm.json/PayrollTaxGroup" }, { "type": "LocalEntity", "entityName": "Payro...
1,684
1,055
// // Created by lakinduakash on 14/04/19. // /* Copyright (c) 2019, lakinduaksh 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,889
432
/////////////////////////////////////////////////////////////////////////////// // /// \file main.h /// \brief Miscellaneous declarations // // Author: <NAME> // // This file has been put into the public domain. // You can do whatever you want with this file. // ///////////////////////////////////////...
268
643
<reponame>TJUsym/TJU_Advanced_CV_Homework from .functions.roi_align_rotated import roi_align_rotated from .modules.roi_align_rotated import RoIAlignRotated __all__ = ['roi_align_rotated', 'RoIAlignRotated']
84
525
// ***************************************************************************** // ***************************************************************************** // Copyright 2013 - 2015, Cadence Design Systems // // This file is part of the Cadence LEF/DEF Open Source // Distribution, Product Version 5.8. ...
4,174
1,787
{ "typeName": "AWS::CUR::ReportDefinition", "description": "The AWS::CUR::ReportDefinition resource creates a Cost & Usage Report with user-defined settings. You can use this resource to define settings like time granularity (hourly, daily, monthly), file format (Parquet, CSV), and S3 bucket for delivery of these r...
1,957
4,332
<filename>vowpalwabbit/core/src/parse_primitives.cc // Copyright (c) by respective owners including Yahoo!, Microsoft, and // individual contributors. All rights reserved. Released under a BSD (revised) // license as described in the file LICENSE. #include "vw/core/parse_primitives.h" #include "vw/common/hash.h" #inc...
1,840
448
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #ifndef ThreadLocal_hpp #define ThreadLocal_hpp #include <IOKit/IOService.h> #include <IOKit/IOLib.h> #include "Trie.hpp" #define ThreadLocal BXL_CLASS(ThreadLocal) ...
866
22,481
<filename>homeassistant/components/yamaha_musiccast/__init__.py """The MusicCast integration.""" from __future__ import annotations from datetime import timedelta import logging from aiomusiccast import MusicCastConnectionException from aiomusiccast.capabilities import Capability from aiomusiccast.musiccast_device im...
3,140
14,564
package com.alibaba.datax.plugin.reader.otsstreamreader.internal.model; import com.alibaba.datax.plugin.reader.otsstreamreader.internal.config.StatusTableConstants; import com.alicloud.openservices.tablestore.model.ColumnValue; import com.alicloud.openservices.tablestore.model.Row; import com.alicloud.openservices.tab...
1,522
1,355
package li.cil.oc.api.internal; import li.cil.oc.api.Persistable; import li.cil.oc.api.network.Environment; import net.minecraft.entity.player.EntityPlayer; /** * This interface is implemented by the keyboard component, to allow more * flexible use of it. * <p/> * You can obtain an instance of the keyboard compon...
556
14,668
<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. #ifndef CHROME_BROWSER_NEW_TAB_PAGE_PROMOS_PROMO_SERVICE_H_ #define CHROME_BROWSER_NEW_TAB_PAGE_PROMOS_PROMO_SERVICE_H_ #include <memory>...
1,225
2,875
# -*- coding: utf-8 -*- # @Time : 2017/7/13 上午10:59 # @Author : play4fun # @File : OpenCV中的傅里叶变换-DFT.py # @Software: PyCharm """ OpenCV中的傅里叶变换-DFT.py: OpenCV 中相应的函数是 cv2.dft() 和 cv2.idft()。和前 出的结果 一样 但是是双通道的。 第一个通道是结果的实数部 分 第二个通道是结果的虚数部分。 输入图像 先 换成 np.float32 格式 使用函数 cv2.cartToPolar() 它会同时返回幅度和相位。 """ impo...
548
10,225
package io.quarkus.devtools.codestarts; import java.io.IOException; import java.nio.file.Path; import java.util.List; import java.util.Map; import java.util.Optional; public interface CodestartProjectDefinition { void generate(Path targetDirectory) throws IOException; List<Codestart> getCodestarts(); C...
243
14,668
// 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. #include "ui/aura/cursor/cursor_loader.h" #include "base/memory/scoped_refptr.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/aura/test/au...
364
5,903
<reponame>zhouguangping/pentaho-kettle /*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2019 by <NAME> : http://www.pentaho.com * ******************************************************************************* * * Licensed under th...
939
7,482
<gh_stars>1000+ /** ****************************************************************************** * @file lib_conf.c * @author Application Team * @version V4.4.0 * @date 2018-09-27 * @brief Dirver configuration. ****************************************************************************** * ...
587
5,133
/* * 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.bugs._849; import java.util.Arrays; import org.mapstruct.ap.testutil.IssueKey; import org.mapstruct.ap.testutil.ProcessorTest; import org.ma...
318
395
/* Copyright (c) 2012-2021 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ #pragma once #include <cassert> #include <type_traits> namespace antlrcpp { template <typename To, typename From> To do...
415
7,181
#!/usr/bin/env python # Copyright 2015 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 required...
5,673
2,053
/* * Copyright 2015 the original author or authors. * @https://github.com/scouter-project/scouter * * 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...
5,613
726
<gh_stars>100-1000 class Solution { public ListNode mergeTwoLists(ListNode l1, ListNode l2) { if(l1==null) { return l2; } if(l2==null) { return l1; } ListNode head = new ListNode(0); ListNode result = head; while...
620
1,988
<reponame>clayne/botan /* * (C) 1999-2009,2016,2020 <NAME> * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/internal/es_win32.h> #define NOMINMAX 1 #define _WINSOCKAPI_ // stop windows.h including winsock.h #include <windows.h> namespace Botan { size_t Win32_EntropySource:...
521
335
{ "word": "Urbanity", "definitions": [ "Courteousness and refinement of manner.", "Urban life." ], "parts-of-speech": "Noun" }
73
467
package com.yoyiyi.soleil.mvp.presenter.home; import com.google.gson.Gson; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.yoyiyi.soleil.base.BaseSubscriber; import com.yoyiyi.soleil.base.RxPresenter; import com.yoyiyi.soleil.bean.chase.ChaseBangumi; import com.yoyiyi.soleil.bean.chase...
1,555
14,668
<reponame>zealoussnow/chromium<gh_stars>1000+ // Copyright (c) 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROMECAST_PUBLIC_GRAPHICS_TYPES_H_ #define CHROMECAST_PUBLIC_GRAPHICS_TYPES_H_ namespace chrom...
394
317
<gh_stars>100-1000 #include "smack.h" #include <assert.h> #include <stdint.h> // @expect verified uint32_t cttz32(uint32_t x) { uint32_t n = 0; /* number of bits */ if (!(x & 0x0000FFFF)) { n += 16; x >>= 16; } if (!(x & 0x000000FF)) { n += 8; x >>= 8; } if (!(x & 0x0000000F)) { n += ...
574
777
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.net; import android.os.ConditionVariable; import org.chromium.base.annotations.CalledByNative; import org.chromium.base.annotations...
569
3,968
<gh_stars>1000+ #!/usr/bin/env python import wandb wandb.require("service") run = wandb.init() print("somedata") run.define_metric("m2", summary="max") run.log(dict(m1=1)) run.log(dict(m2=2)) run.log(dict(m2=8)) run.log(dict(m2=4)) run.finish()
116
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Noyers-sur-Jabron","circ":"2ème circonscription","dpt":"Alpes-de-Haute-Provence","inscrits":409,"abs":217,"votants":192,"blancs":18,"nuls":3,"exp":171,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":110},{"nuance":"FI","nom":"M. <NAME>","voix":61}]}
126
3,765
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.dfa; /** * Represents the type (DFA-wise) of a DataFlowNode. * * @author raik * @deprecated See {@link DataFlowNode} */ @Deprecated public enum NodeType { ROOT, /* if - else statement...
466
416
<filename>src/main/java/com/tencentcloudapi/tke/v20180525/models/ClusterAsGroupOption.java /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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. * Y...
10,600
575
<gh_stars>100-1000 // // RCGimbalControlViewController.h // DJISdkDemo // // Copyright © 2018 DJI. All rights reserved. // #import <UIKit/UIKit.h> @interface RCGimbalControlViewController : UIViewController @end
81
634
<reponame>halotroop2288/consulo /* * Copyright 2000-2015 JetBrains s.r.o. * * 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 re...
901
32,544
package com.baeldung.protobuf; import org.junit.After; import org.junit.Test; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Random; import static org.junit.Assert.assertEquals; public class Proto...
1,184
2,151
<reponame>clairechingching/ScaffCC<gh_stars>1000+ //===-- SparcSelectionDAGInfo.cpp - Sparc SelectionDAG Info ---------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-----...
241
488
<gh_stars>100-1000 /* PR fortran/37201. Linked with bind_c_usage_17.f90. */ char cdir(void){return '/';}
50
648
<gh_stars>100-1000 {"resourceType":"SearchParameter","id":"ClinicalImpression-action","url":"http://hl7.org/fhir/SearchParameter/ClinicalImpression-action","name":"action","status":"draft","experimental":false,"date":"2017-04-19T07:44:43+10:00","publisher":"Health Level Seven International (Patient Care)","contact":[{"...
226
4,538
/* * Copyright (C) 2015-2020 Alibaba Group Holding Limited */ #ifndef __BLUETOOTH_H__ #define __BLUETOOTH_H__ #include "stdint.h" #include "string.h" #include "btif_sys_config.h" #ifdef __cplusplus extern "C" { #endif #ifndef BOOL_DEFINED typedef unsigned int BOOL; /* IGNORESTYLE */ #endif typedef unsigned in...
5,203
1,844
// Copyright (c) 2015 Baidu.com, 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 ...
598
7,739
<gh_stars>1000+ import pytest import torch from ludwig.encoders.generic_encoders import DenseEncoder, PassthroughEncoder @pytest.mark.parametrize("input_size", [1, 2, 10]) @pytest.mark.parametrize("categorical", [True, False]) def test_generic_passthrough_encoder(input_size: int, categorical: bool): passthrough_...
489
368
from nose.tools import assert_equal from cutecharts.charts import Scatter from cutecharts.render.engine import remove_key_with_none_value def gen_scatter_base() -> Scatter: c = Scatter("Scatter") c.set_options(x_label="I'm xlabel", y_label="I'm ylabel") c.add_series("series-A", [("1", 1), ("2", 2)]) ...
851
552
from math import sqrt from random import gauss, randint, uniform from DaPy.core.base import Matrix from .models import BaseEngineModel class Layer(BaseEngineModel): def __init__(self, engine, function, str_activation): BaseEngineModel.__init__(self, engine) self.activation = function sel...
1,584
602
<filename>game/overlord/ssound.h #pragma once #ifndef JAK_V2_SSOUND_H #define JAK_V2_SSOUND_H void InitSound_Overlord(); #endif // JAK_V2_SSOUND_H
73
367
@import UIKit; @class MBEMetalView; @interface MBEViewController : UIViewController @property (nonatomic, readonly) MBEMetalView *metalView; @end
53
12,252
<filename>server-spi-private/src/main/java/org/keycloak/scripting/ScriptingProviderFactory.java<gh_stars>1000+ package org.keycloak.scripting; import org.keycloak.provider.ProviderFactory; /** * @author <a href="mailto:<EMAIL>"><NAME></a> */ public interface ScriptingProviderFactory extends ProviderFactory<Scriptin...
108
434
<filename>aws-lambda-java-runtime-interface-client/src/main/java/com/amazonaws/services/lambda/runtime/api/client/api/LambdaCognitoIdentity.java /* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. */ package com.amazonaws.services.lambda.runtime.api.client.api; import com.amazonaws.services.lam...
294
482
package io.cattle.platform.iaas.api.auth.projects; import io.cattle.platform.api.auth.Identity; import io.cattle.platform.api.auth.Policy; import io.cattle.platform.api.resource.AbstractObjectResourceManager; import io.cattle.platform.core.constants.ProjectConstants; import io.cattle.platform.core.dao.GenericResourceD...
3,168
316
<filename>platform/android/src/geometry/lat_lng_bounds.hpp #pragma once #include <mbgl/util/noncopyable.hpp> #include <mbgl/util/geo.hpp> #include <mbgl/util/geometry.hpp> #include <jni/jni.hpp> namespace mbgl { namespace android { class LatLngBounds : private mbgl::util::noncopyable { public: static constexpr...
277
1,131
<reponame>T3sT3ro/Create { "parent": "create:block/encased_shaft/item", "textures": { "casing": "create:block/brass_casing", "opening": "create:block/brass_gearbox" } }
80
7,986
# This file provides the runtime support for running a basic program # Assumes the program has been parsed using basparse.py import sys import math import random class BasicInterpreter: # Initialize the interpreter. prog is a dictionary # containing (line,statement) mappings def __init__(self, prog): ...
10,627
704
<gh_stars>100-1000 from __future__ import absolute_import from .numpy_wrapper import * from . import numpy_boxes from . import numpy_vjps
45
350
<filename>src/4uqi/top.h /* * Copyright (C) 2005-2017 <NAME> (<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 * * Unless re...
3,509
373
<gh_stars>100-1000 /** @file @copyright Copyright 2012 - 2021 Intel Corporation. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/PlatformSetupVariableSyncLib.h> /*++ Description: This function will parse the variable hob and find three vairables: RP var...
737
1,338
/* * Copyright 2017, <NAME>, <EMAIL>. * Copyright 2011, <NAME>, <EMAIL>. * Copyright 2001-2010, <NAME>, <EMAIL>. * This file may be used under the terms of the MIT License. */ #ifndef B_TREE_H #define B_TREE_H #include "btrfs.h" #include "Volume.h" #define BTREE_NULL -1LL #define BTREE_FREE -2LL #define B...
4,073
1,682
<filename>data-avro/src/main/java/com/linkedin/data/avro/SchemaTranslationException.java /* Copyright (c) 2012 LinkedIn Corp. 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...
407
428
<reponame>wanchong/apis<gh_stars>100-1000 /* * Copyright 2012 SURFnet bv, The Netherlands * * 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/LICENS...
3,308
722
import torch import soundfile as sf import numpy as np import os from asteroid.models import ConvTasNet, save_publishable from asteroid.data.wham_dataset import wham_noise_license, wsj0_license def setup_register_sr(): model = ConvTasNet( n_src=2, n_repeats=2, n_blocks=3, bn_chan=1...
664
1,194
<reponame>akawalsky/hapi-fhir { "resourceType": "CodeSystem", "id": "message-transport", "meta": { "lastUpdated": "2019-11-01T09:29:23.356+11:00" }, "text": { "status": "generated", "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003ch2\u003eMessageTransport\u003c/h2\u003e\u00...
1,674
348
{"nom":"<NAME>","circ":"4ème circonscription","dpt":"Alpes-Maritimes","inscrits":2523,"abs":1519,"votants":1004,"blancs":89,"nuls":13,"exp":902,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":501},{"nuance":"FN","nom":"M. <NAME>","voix":401}]}
100
531
/** * Copyright (c) 2011-2021, JFXtras * 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 * notice, this list of condi...
7,305
3,459
<reponame>werminghoff/Provenance namespace MDFN_IEN_NES { class Dis6502 { public: Dis6502(void); virtual ~Dis6502(); virtual uint8 Read(uint16 A); virtual uint8 GetX(void); virtual uint8 GetY(void); void Disassemble(uint16 &a, uint16 SpecialA, char *); }; }
103
892
<reponame>westonsteimel/advisory-database-github { "schema_version": "1.2.0", "id": "GHSA-wxvx-3x3r-j3jr", "modified": "2022-05-02T06:16:46Z", "published": "2022-05-02T06:16:46Z", "aliases": [ "CVE-2010-0895" ], "details": "Unspecified vulnerability in the Solaris component in Oracle Sun Product Suite...
518
17,318
/* * Copyright (c) 2011-2018, <NAME>. All Rights Reserved. * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under t...
650
681
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.harvard.iq.dataverse.harvest.server.xoai; import com.lyncode.xoai.dataprovider.model.Item; import com.lyncode.xoai.datapro...
892
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/GMM.framework/GMM */ #import <GMM/GMMTrip.h> #import <GMM/XXUnknownSuperclass.h> @class NSString, NSMutableArray; __attribute__((visibility("hidden"))) @interface GMMTrip : XXUnknownSuperclass { NSMutableArray *_r...
818
1,444
package mage.abilities.effects.common; import mage.MageObject; import mage.ObjectColor; import mage.abilities.Ability; import mage.abilities.effects.PreventionEffectImpl; import mage.constants.Duration; import mage.game.Game; import mage.game.events.GameEvent; /** * * @author LevelX2 */ public class PreventDamage...
549
347
<reponame>jihwahn1018/ovirt-engine package org.ovirt.engine.core.vdsbroker.irsbroker; import org.ovirt.engine.core.common.vdscommands.IrsBaseVDSCommandParameters; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class MarkPoolInReconstructModeVDSCommand<P extends IrsBaseVDSCommandParameters> ex...
403
585
/* * 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 ...
4,568
5,447
<filename>ZBLibrary/src/main/java/zuo/biao/library/ui/TopTabView.java<gh_stars>1000+ /*Copyright ©2015 TommyLemon(https://github.com/TommyLemon) 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 ...
2,217
745
<reponame>deveil/mrq from mrq.task import Task from mrq.context import connections class EnsureIndexes(Task): def run(self, params): if connections.mongodb_logs: connections.mongodb_logs.mrq_logs.ensure_index( [("job", 1)], background=True) connections.mongodb_log...
1,007
2,151
// Copyright (c) 2015-2016 The Khronos Group Inc. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and/or associated documentation files (the // "Materials"), to deal in the Materials without restriction, including // without limitation the rights to use, copy, modi...
1,526
335
<reponame>Safal08/Hacktoberfest-1<filename>U/Undivided_adjective.json { "word": "Undivided", "definitions": [ "Not divided, separated, or broken into parts.", "Devoted completely to one object." ], "parts-of-speech": "Adjective" }
111
416
#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UIPointerStyle.h>) // // UIPointerStyle.h // UIKit // // Copyright © 2020 Apple Inc. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKitDefines.h> #import <UIKit/UIGeometry.h> #import <CoreGra...
1,933
3,012
<reponame>akhakimo/edk2 /** @file AML Node. Copyright (c) 2019 - 2020, Arm Limited. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #ifndef AML_NODE_H_ #define AML_NODE_H_ #include <AmlNodeDefines.h> #include <IndustryStandard/Acpi.h> /** Create an AML_ROOT_NODE. ...
2,976
4,054
<filename>modules/lwjgl/tootle/src/main/c/DirectXMesh/DirectXMesh.h //------------------------------------------------------------------------------------- // DirectXMesh.h // // DirectX Mesh Geometry Library // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // http:/...
14,100
369
// Copyright (c) 2017-2021, Mudit<NAME>. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "gtest/gtest.h" #include "TestBoxLayout.hpp" #include <log/log.hpp> #include <module-gui/test/mock/TestListViewProvider.hpp> #include <gui/input/InputEvent.hpp> namespace testSt...
11,765
475
package com.zfoo.net.zookeeper.curator.cache; import com.zfoo.util.ThreadUtils; import org.apache.curator.framework.CuratorFramework; import org.apache.curator.framework.CuratorFrameworkFactory; import org.apache.curator.framework.recipes.cache.ChildData; import org.apache.curator.framework.recipes.cache.CuratorCache...
654
190,993
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
1,325
8,805
<filename>ios/Pods/boost-for-react-native/boost/align/detail/max_size.hpp /* (c) 2014-2015 <NAME> <glenjofe -at- gmail.com> Distributed under the Boost Software License, Version 1.0. http://boost.org/LICENSE_1_0.txt */ #ifndef BOOST_ALIGN_DETAIL_MAX_SIZE_HPP #define BOOST_ALIGN_DETAIL_MAX_SIZE_HPP #include...
279
634
/**************************************************************** * 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...
1,014
3,301
package com.alibaba.alink.params.io.shared; import org.apache.flink.ml.api.misc.param.ParamInfo; import org.apache.flink.ml.api.misc.param.ParamInfoFactory; import org.apache.flink.ml.api.misc.param.WithParams; public interface HasPassword<T> extends WithParams <T> { ParamInfo <String> PASSWORD = ParamInfoFactory ...
195
310
<reponame>orekyuu/doma package org.seasar.doma.jdbc.tx; import static org.seasar.doma.internal.util.AssertionUtil.assertNotNull; import java.sql.Savepoint; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.function.Supplier; import org.seasar.doma.mess...
822
88,283
// Copyright (c) 2019 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "shell/browser/ui/accelerator_util.h" #include "testing/gtest/include/gtest/gtest.h" namespace accelerator_util { TEST(AcceleratorUtilTest, StringToAccelerator) { struct ...
349
683
<filename>test/test_function_linedisplay.py<gh_stars>100-1000 #!/usr/bin/python """tests for line display :author: `<NAME> <<EMAIL>>`_ :organization: `python-escpos <https://github.com/python-escpos>`_ :copyright: Copyright (c) 2017 `python-escpos <https://github.com/python-escpos>`_ :license: MIT """ import escpos....
363
419
<gh_stars>100-1000 #if KRG_ENABLE_NAVPOWER #include "NavmeshBuilder.h" #include "Tools/Physics/ResourceDescriptors/ResourceDescriptor_PhysicsMesh.h" #include "Tools/Core/Resource/RawAssets/RawAssetReader.h" #include "Tools/Core/Resource/RawAssets/RawMesh.h" #include "Engine/Navmesh/NavPower.h" #include "Engine/Na...
6,524