max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
60,067
#include <gtest/gtest.h> #include <torch/csrc/jit/mobile/nnc/registry.h> namespace torch { namespace jit { namespace mobile { namespace nnc { extern "C" { int generated_asm_kernel_foo(void**) { return 1; } int generated_asm_kernel_bar(void**) { return 2; } } // extern "C" REGISTER_NNC_KERNEL("foo:v1:VERTOKEN", ...
344
589
package rocks.inspectit.shared.cs.ci.business.expression; import java.util.List; import org.codehaus.jackson.annotate.JsonIgnore; /** * This interface provides a common access to {@link AbstractExpression} instances that serve as * container expression (i.e. expressions that contain other expressions). * * @auth...
407
4,054
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. // #pragma once #include "polymorphicarraybase.h" namespace vespalib { /** * Describes an interface an array of polymorphic types. * The intention is to allow efficient implementations when that is possible * ...
1,211
745
#include <iostream> #include <numeric> #include <initializer_list> #include <cstdlib> #include <stdlib.h> #include <half.hpp> #include "config.hpp" #include "print.hpp" #include "device.hpp" #include "host_tensor.hpp" #include "host_tensor_generator.hpp" #include "conv_common.hpp" #include "host_conv_bwd_data.hpp" #inc...
6,604
575
<filename>third_party/blink/renderer/core/testing/sim/sim_test.cc<gh_stars>100-1000 // Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/testing/sim/sim_test.h" #in...
2,651
812
<filename>platforms/android/FacebookLib/src/com/facebook/Settings.java /** * Copyright 2010-present Facebook. * * 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.o...
9,495
775
<gh_stars>100-1000 // This file is part of MicropolisJ. // Copyright (C) 2013 <NAME> // Portions Copyright (C) 1989-2007 Electronic Arts Inc. // // MicropolisJ is free software; you can redistribute it and/or modify // it under the terms of the GNU GPLv3, with additional terms. // See the README file, included in this ...
168
2,504
<reponame>dujianxin/Windows-universal-samples<filename>Samples/XamlBind/cpp/PhasingTests.xaml.cpp // // PhasingTests.xaml.cpp // Implementation of the PhasingTests class // #include "pch.h" #include "PhasingTests.xaml.h" using namespace SDKTemplate; using namespace concurrency; using namespace Platform; ...
1,720
545
<reponame>FWangTrading/Cpp-Primer-5th-Exercises #include <iterator> #include <vector> #include <string> #include <fstream> #include <iostream> int main() { std::string filename; std::cin >> filename; std::ifstream in(filename); if (!in.is_open()) { std::cerr << "Can not open file: " << filename << std::end...
245
488
<filename>src/roseIndependentSupport/visualization/vizgroup.cpp /****************************************************************************** * * DOT3D - An OpenGL dot file viewer * <NAME>, 2003 * * visualizer FLTK group * *****************************************************************************/ #inclu...
6,217
347
<gh_stars>100-1000 package org.ovirt.engine.ui.uicommonweb.builders.vm; import org.ovirt.engine.core.common.businessentities.VmBase; import org.ovirt.engine.ui.uicommonweb.builders.BaseSyncBuilder; import org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel; public class NameUnitToVmBaseBuilder<T extends VmBase> ex...
187
3,428
<gh_stars>1000+ { "protocol": "https", "hostname": "api.github.com", "port": null, "pathname": "/repos/<slug>/actions/workflows/<id>/dispatches", "method": "POST", "ref": "main", "useragent": "https://github.com/stdlib-js/stdlib/@stdlib/_tools/github/dispatch-workflow", "accept": "application/vnd.github.v3+json...
138
784
<gh_stars>100-1000 package com.gplibs.magicsurfaceview; import android.graphics.Bitmap; import android.graphics.Rect; import android.view.View; public class MagicSurface extends MagicBaseSurface<MagicSurface> { private SurfaceModel mModel; private boolean mDrawGrid = false; private int mRowLineCount = 3...
2,475
1,219
<gh_stars>1000+ /* * Copyright 2013 Bazaarvoice, 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 applic...
1,336
1,742
<filename>src/sage/combinat/root_system/fusion_ring.py """ Fusion Rings """ # **************************************************************************** # Copyright (C) 2019 <NAME> <bump at match.stanford.edu> # <NAME> <gh_willieab> # <NAME> <tcscrims at gmail.com> # ...
19,135
3,363
<filename>lxd/include/config.h<gh_stars>1000+ #ifndef CONFIG_H #define CONFIG_H #ifndef _GNU_SOURCE #define _GNU_SOURCE 1 #endif #endif /* CONFIG_H */
65
369
<reponame>bitigchi/MuditaOS # Copyright (c) 2017-2021, Mudit<NAME>.o.o. All rights reserved. # For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md import argparse import os parser = argparse.ArgumentParser( usage= "\ne.g.:\n" "For simulator: python3 tools/mount_user_lfs_partition.py --mount_d...
992
607
<gh_stars>100-1000 package dev.cheerfun.pixivic.biz.web.user.dto; import lombok.Data; /** * @author OysterQAQ * @version 1.0 * @date 2021/1/26 3:16 PM * @description VerifiedDTO */ @Data public class VerifiedDTO { private String name; private String exchangeCode; private String idCard; }
120
5,547
<gh_stars>1000+ ////////////////////////////////////////////////////////////////////////////////// // // //存储图片数据,图片大小为64*32像素 // ///////////////////////////////////////////////////////////////////////////////// #ifndef __BMP_H #define __BMP_H unsigned char BMP1[] = {0x00,0x06,0x0A,0xFE,0x0A,0xC6,0x00,0xE0,0x00,0xF0,0...
4,342
2,258
import tempfile from datetime import datetime, timedelta from pathlib import Path from textwrap import dedent from tests.utils.cli_utils import CliRunner def test_repo_init() -> None: """ This test simply makes sure that you can run `feast apply && feast materialize` on the repo created by "feast init" w...
1,001
335
<filename>flutter_vlc_player/android/src/main/java/software/solid/fluttervlcplayer/Enums/HwAcc.java<gh_stars>100-1000 package software.solid.fluttervlcplayer.Enums; public enum HwAcc { AUTOMATIC(-1), DISABLED(0), DECODING(1), FULL(2); private int mType; HwAcc (int type) { this.mT...
184
592
<filename>Project/LooseLeaf/MMScrapViewState.h // // MMScrapViewState.h // LooseLeaf // // Created by <NAME> on 10/1/13. // Copyright (c) 2013 Milestone Made, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import <JotUI/JotUI.h> #import "MMScrapBackgroundView.h" #import "MMScrapViewStateDelegate.h...
904
737
<reponame>etnrlz/rtbkit /* glz_classifier.cc <NAME>, 6 August 2003 Copyright (c) 2003 <NAME>. All rights reserved. $Source$ Implementation of the GLZ classifier. */ #include "glz_classifier.h" #include "classifier_persist_impl.h" #include "null_feature_space.h" #include "dense_features.h" #include "jml/a...
5,685
2,151
// Copyright (c) 2016 The WebM project authors. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing projec...
2,350
442
#ifndef _READPASS_H_ #define _READPASS_H_ /* Avoid namespace collisions with other "readpass" functions. */ #ifdef readpass #undef readpass #endif #define readpass libcperciva_readpass /** * readpass(passwd, prompt, confirmprompt, devtty): * If ${devtty} is 0, read a password from stdin. If ${devtty} is 1, read a ...
420
14,668
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_FRAGMENT_DIRECTIVE_CSS_SELECTOR_DIRECTIVE_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_FRAGMENT_DIRECTIVE_CSS_SELECT...
437
1,131
<reponame>Jerome226/Create<filename>src/main/java/com/simibubi/create/content/contraptions/wrench/WrenchModel.java package com.simibubi.create.content.contraptions.wrench; import com.simibubi.create.foundation.item.render.CreateCustomRenderedItemModel; import net.minecraft.client.renderer.model.IBakedModel; public c...
157
622
""" Tabular data as a nested list. """ # Programming language popularity, from www.tiobe.com/tiobe-index popularity = [["Language", 2017, 2012, 2007, 2002, 1997, 1992, 1987], ["Java", 1, 2, 1, 1, 15, 0, 0], ["C", 2, 1, 2, 2, 1, 1, 1], ["C++", 3, 3, 3, 3, 2, 2, 5], ...
716
375
<reponame>obrienben/openwayback /* * This file is part of the Wayback archival access software * (http://archive-access.sourceforge.net/projects/wayback/). * * Licensed to the Internet Archive (IA) by one or more individual * contributors. * * The IA licenses this file to You under the Apache License, Ve...
1,280
1,093
/* * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
912
3,102
<gh_stars>1000+ // // Verify -fgnuc-version parsing // // RUN: %clang -c %s -target i686-linux -### 2>&1 | FileCheck %s -check-prefix GNUC-DEFAULT // GNUC-DEFAULT: "-fgnuc-version=4.2.1" // RUN: %clang -c %s -target i686-linux -fgnuc-version=100.99.99 -### 2>&1 | FileCheck %s -check-prefix GNUC-OVERRIDE // GNUC-OVERR...
604
602
<filename>test/src/test/java/org/corfudb/runtime/view/ManagementViewTest.java package org.corfudb.runtime.view; import com.google.common.reflect.TypeToken; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import org.corfudb.infrastructure.SequencerServer; import org.corfudb.infrastructure.ServerContext; import ...
32,135
1,027
// Copyright (c) 2015 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef ATOM_BROWSER_ATOM_DOWNLOAD_MANAGER_DELEGATE_H_ #define ATOM_BROWSER_ATOM_DOWNLOAD_MANAGER_DELEGATE_H_ #include <memory> #include <string> #include <vector> #include "atom/bro...
1,709
2,015
<reponame>theRealBaccata/picotorrent #pragma once #include <stdint.h> namespace pt { namespace BitTorrent { struct TorrentStatistics { bool isDownloadingAny; int64_t totalPayloadDownloadRate; int64_t totalPayloadUploadRate; int64_t totalWanted; int64_t totalWantedDone; ...
149
1,682
<reponame>haroldl/rest.li /* 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://www.apache.org/licenses/LICENSE-2.0 Unless required by a...
421
812
<filename>server/src/main/java/password/pwm/svc/intruder/IntruderServiceClient.java /* * Password Management Servlets (PWM) * http://www.pwm-project.org * * Copyright (c) 2006-2009 Novell, Inc. * Copyright (c) 2009-2021 The PWM Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you ma...
2,799
341
<filename>src/main/java/com/ccnode/codegenerator/function/EqualCondition.java package com.ccnode.codegenerator.function; /** * What always stop you is what you always believe. * <p> * Created by zhengjun.du on 2016/05/29 15:54 */ public interface EqualCondition<T> { public boolean isEqual( T t, T t2 ); }
108
16,989
// Copyright 2017 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
1,673
2,333
// // MPLoggerFormatter.h // MobileProject // // Created by wujunyang on 16/6/20. // Copyright © 2016年 wujunyang. All rights reserved. // #import <Foundation/Foundation.h> @interface MPLoggerFormatter : NSObject<DDLogFormatter> @end
89
2,996
<reponame>Elyahu41/Terasology // Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.rendering.dag.dependencyConnections; import org.terasology.engine.core.SimpleUri; import org.terasology.engine.rendering.opengl.FBO; public class FboConnection extends Depend...
412
890
<reponame>light1021/asylo /* * * Copyright 2018 Asylo 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 ...
1,689
3,095
<reponame>liyuzhao/QWidgetDemo #ifndef _PLOT_H_ #define _PLOT_H_ #include <qwt_plot.h> #include <qwt_scale_div.h> #include <qwt_series_data.h> class QwtPlotCurve; class QwtPlotIntervalCurve; class Plot: public QwtPlot { Q_OBJECT public: enum Mode { Bars, Tube }; Plot( QWidget * ...
335
5,169
<filename>Specs/d/9/6/FideasLib/0.2.0/FideasLib.podspec.json { "name": "FideasLib", "version": "0.2.0", "summary": "Fideas Mobile Application Development SDK", "description": "Bu SDK ile mobil uygulamanin Fideas uzerinden", "homepage": "https://github.com/salyangoz/fideas-sdk", "license": { "type": "MIT...
376
792
<filename>chapters/lyon.json<gh_stars>100-1000 { "name": "<NAME>", "location": "Lyon", "country": "FR", "region": "Europe", "organizers": ["maxlath"], "website": "http://nodeschool.io/lyon", "repo": "http://github.com/nodeschool/lyon" }
105
838
#include "../lib/runner.h" RUNNER("unit");
19
427
##===-- debuggerdriver.py ------------------------------------*- Python -*-===## ## # The LLVM Compiler Infrastructure ## # This file is distributed under the University of Illinois Open Source # License. See LICENSE.TXT for details. ## ##===----------------------------------------------------------------------===## ...
3,109
3,212
/* * 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 ...
1,216
750
from datetime import datetime import re import json from twisted.web.resource import Resource from jasmin.protocols.http.validation import UrlArgsValidator, HttpAPICredentialValidator from jasmin.protocols.http.errors import HttpApiError from jasmin.protocols.http.endpoints import authenticate_user class Balance(Re...
1,496
3,508
package com.fishercoder.solutions; public class _1524 { public static class Solution1 { /** * This brute force solution will throw exceed time limit exceeded exception on LeetCode. */ public int numOfSubarrays(int[] arr) { long oddCount = 0; for (int i = 0;...
807
348
<filename>docs/data/leg-t2/026/02603136.json {"nom":"Val-Maravel","circ":"3ème circonscription","dpt":"Drôme","inscrits":53,"abs":12,"votants":41,"blancs":0,"nuls":11,"exp":30,"res":[{"nuance":"REM","nom":"<NAME>","voix":21},{"nuance":"LR","nom":"<NAME>","voix":9}]}
111
777
<gh_stars>100-1000 // Copyright (c) 2012 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 <stddef.h> #include <utility> #include <vector> #include "base/bind.h" #include "base/macros.h" #include "base/message_lo...
4,873
349
<filename>src/types.h #ifndef TYPES_H #define TYPES_H #include <stdint.h> #include <stdbool.h> #include <string.h> static int VERBOSE = 0; static bool SINGLE_STEP = false; typedef uint32_t uint; typedef uint32_t uint; typedef struct { uint data[4096]; uint privilege; } csr_state; typedef struct { uint ...
667
619
<filename>examples/python/kxtj3.py #!/usr/bin/env python # The MIT License (MIT) # # Author: <NAME> # Copyright (c) 2018 Rohm Semiconductor. # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software...
818
15,056
#!/usr/bin/env python # # A simple benchmark of tornado template rendering, based on # https://github.com/mitsuhiko/jinja2/blob/master/examples/bench.py import sys from timeit import Timer from tornado.options import options, define, parse_command_line from tornado.template import Template define('num', default=100,...
715
375
/* * This file is part of the Wayback archival access software * (http://archive-access.sourceforge.net/projects/wayback/). * * Licensed to the Internet Archive (IA) by one or more individual * contributors. * * The IA licenses this file to You under the Apache License, Version 2.0 * (the "License"); y...
1,276
335
{ "word": "Interpretation", "definitions": [ "The action of explaining the meaning of something.", "An explanation or way of explaining.", "A stylistic representation of a creative work or dramatic role." ], "parts-of-speech": "Noun" }
99
2,251
<gh_stars>1000+ // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. #pragma once #include <assimp/scene...
880
3,603
/* * 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, software * distribut...
894
809
#ifndef E2K_LIMITS_H_ #define E2K_LIMITS_H_ #include <asm-generic/limits32.h> #endif /* E2K_LIMITS_H_ */
58
631
package app.controllers; import org.javalite.activeweb.AppIntegrationSpec; import org.junit.Test; public class SessionFacadeSpec extends AppIntegrationSpec { @Test public void shouldRemoveSessionAttributes(){ controller("session").get("add-to-session"); the(session().get("greeting")).should...
389
573
/* * This software is licensed under the terms of the MIT License. * See COPYING for further information. * --- * Copyright (c) 2011-2019, <NAME> <<EMAIL>>. * Copyright (c) 2012-2019, <NAME> <<EMAIL>>. */ #pragma once #include "taisei.h" #include <time.h> #ifdef TAISEI_BUILDCONF_HAVE_TIMESPEC typedef struct ti...
183
1,056
<reponame>Antholoj/netbeans /* * 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,382
11,719
<filename>local_addons/ofxFaceTracker2/libs/dlib/include/dlib/reference_counter.h // Copyright (C) 2003 <NAME> (<EMAIL>) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_REFERENCE_COUNTEr_ #define DLIB_REFERENCE_COUNTEr_ #include "reference_counter/reference_counter_kernel_1.h" ...
329
1,538
<filename>musicdemo/src/main/java/com/spinytech/musicdemo/StopAction.java package com.spinytech.musicdemo; import android.content.Context; import android.content.Intent; import com.spinytech.macore.MaAction; import com.spinytech.macore.MaActionResult; import com.spinytech.macore.tools.Logger; import java.util.HashMa...
453
841
package com.ctrip.framework.apollo.use.cases.dynamic.datasource.ds; import java.io.PrintWriter; import java.sql.Connection; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import java.util.concurrent.atomic.AtomicReference; import javax.sql.DataSource; /** * A sample refreshable data s...
617
575
<gh_stars>100-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 "weblayer/browser/weblayer_browser_interface_binders.h" #include "base/bind.h" #include "build/build_config.h" #include "comp...
1,924
848
<reponame>abhaikollara/tensorflow<filename>tensorflow/lite/kernels/squared_difference_test.cc /* Copyright 2018 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 Lice...
2,684
2,686
<filename>awaitility/src/main/java/org/awaitility/constraint/AtMostWaitConstraint.java package org.awaitility.constraint; import java.time.Duration; import java.time.temporal.ChronoUnit; public class AtMostWaitConstraint implements WaitConstraint { private final Duration atMostDuration; public static final...
455
365
<reponame>MarkC-b3d/blender-mc3d<gh_stars>100-1000 /* * Copyright 2011-2013 Blender 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/LICENS...
3,939
852
<filename>RecoTracker/TrackProducer/test/TrackRefitOld.py<gh_stars>100-1000 import FWCore.ParameterSet.Config as cms process = cms.Process("Refitting") ### standard MessageLoggerConfiguration process.load("FWCore.MessageService.MessageLogger_cfi") ### Standard Configurations process.load("Configuration.StandardSequ...
2,409
1,511
<filename>tests/cluecode/data/ics/svox-pico-lib/picofftsg.c /* * Copyright (C) 2008-2009 SVOX AG, Baslerstr. 30, 8048 Zuerich, Switzerland * * Licensed under the Apache License, Version 2.0 (the "License"); * * FFT/DCT related data types, constants and functions in Pico * * Copyright (C) 2008-2009 SVOX AG, Basle...
218
711
<gh_stars>100-1000 package com.java110.front.components.ownerRepair; import com.java110.core.context.IPageData; import com.java110.front.smo.IRoomServiceSMO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Component; ...
340
589
package rocks.inspectit.shared.all.communication; import rocks.inspectit.shared.all.cmr.cache.IObjectSizes; /** * Enumeration for the exception events. * * @author <NAME> * */ public enum ExceptionEvent implements Sizeable { CREATED, RETHROWN, PASSED, HANDLED, UNREGISTERED_PASSED; // NOCHK /** * Utility me...
445
13,648
# Test board-specific items on PYBv1.x import os, pyb if not "PYBv1." in os.uname().machine: print("SKIP") raise SystemExit # test creating UART by id/name for bus in (1, 2, 3, 4, 5, 6, 7, "XA", "XB", "YA", "YB", "Z"): try: pyb.UART(bus, 9600) print("UART", bus) except ValueError: ...
452
575
<filename>chromecast/crash/linux/crash_testing_utils.cc // Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromecast/crash/linux/crash_testing_utils.h" #include <utility> #include "base/files/...
2,005
852
<reponame>ckamtsikis/cmssw<filename>RecoJets/JetProducers/plugins/PtMinJetSelector.cc<gh_stars>100-1000 #include "FWCore/Framework/interface/MakerMacros.h" #include "PtMinJetSelector.h" DEFINE_FWK_MODULE(PtMinCaloJetSelector); DEFINE_FWK_MODULE(PtMinGenJetSelector); DEFINE_FWK_MODULE(PtMinPFJetSelector); DEFINE_FWK_MO...
150
2,151
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef ASH_CONTENT_ASH_WITH_CONTENT_EXPORT_H_ #define ASH_CONTENT_ASH_WITH_CONTENT_EXPORT_H_ // Defines ASH_EXPORT so that functionality implemented by ...
355
398
package com.ruiyun.jvppeteer.protocol.log; import com.ruiyun.jvppeteer.protocol.log.LogEntry; /** * Issued when new message was logged. */ public class EntryAddedPayload { /** * The entry. */ private LogEntry entry; public LogEntry getEntry() { return entry; } public void se...
234
5,169
<reponame>Gantios/Specs { "name": "RAMUtil", "version": "1.0.1", "summary": "This is a util", "description": "TODO: Add long description of the pod here.", "homepage": "https://github.com/RamboQiu/RAMUtil.git", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "RamboQiu": "<EMAIL...
836
429
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <errno.h> #include <fcntl.h> char * mktemp(char * template) { if (strstr(template + strlen(template)-6, "XXXXXX") != template + strlen(template) - 6) { errno = EINVAL; return NULL; } static int _i = 0; char tmp[7] = {0}; s...
227
331
// // MLSubscriptionTableViewController.h // Monal // // Created by <NAME> on 11/24/19. // Copyright © 2019 Monal.im. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface MLSubscriptionTableViewController : UITableViewController @end NS_ASSUME_NONNULL_END
110
509
<filename>core/src/main/java/com/onelogin/saml2/util/Constants.java package com.onelogin.saml2.util; /** * Constants class of OneLogin's Java Toolkit. * * A class that contains several constants related to the SAML protocol */ public final class Constants { /** * Value added to the current time in time cond...
3,376
463
# Copyright (c) 2016, 2018, 2020 <NAME> <<EMAIL>> # Copyright (c) 2018 <NAME> <<EMAIL>> # Copyright (c) 2018 wgehalo <<EMAIL>> # Copyright (c) 2018 <NAME> <<EMAIL>> # Copyright (c) 2020-2021 hippo91 <<EMAIL>> # Copyright (c) 2020 <NAME> <<EMAIL>> # Copyright (c) 2021 <NAME> <<EMAIL>> # Licensed under the LGPL: https:/...
1,024
626
<gh_stars>100-1000 package org.jsmart.zerocode.integration.tests.kafka.consume; import org.jsmart.zerocode.core.domain.Scenario; import org.jsmart.zerocode.core.domain.TargetEnv; import org.jsmart.zerocode.core.runner.ZeroCodeUnitRunner; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; ...
295
2,039
<filename>nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/transforms/InvertPermutation.java /*- * * * Copyright 2015 Skymind,Inc. * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. ...
713
621
<gh_stars>100-1000 /******************************************************************************* * Copyright 2013-2020 QaProSoft (http://www.qaprosoft.com). * * 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 c...
512
1,224
<gh_stars>1000+ package jycessing; public enum DisplayType { WINDOWED, PRESENTATION; }
37
3,034
/* * 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 n...
651
682
<reponame>HackerFoo/vtr-verilog-to-routing<gh_stars>100-1000 #ifndef SYNTH_H #define SYNTH_H #include "chains.h" void init_synth(int argc, char **argv); void create_problem(cfset_t &coeffs, reg_t input_reg = 1); void create_random_problem(int size); void set_bits(int b); void solve(oplist_t *l, regmap_t *regs, reg_t ...
393
372
/* Editor Settings: expandtabs and use 4 spaces for indentation * ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: * * -*- mode: c, c-basic-offset: 4 -*- */ /* * Copyright © BeyondTrust Software 2004 - 2019 * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
7,464
1,062
// // Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57). // // Copyright (C) 1997-2019 <NAME>. // #import "NSObject-Protocol.h" @class NSAttributedString, NSString; @protocol WebDocumentText <NSObject> - (void)deselectAll; - (void)selectAll; - (NSAttributedString *)selectedAtt...
166
344
// 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 required by applicable...
12,207
912
''' ------------------------------------------------------------------------------ Copyright (c) 2015 Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,...
1,781
527
<reponame>dhanainme/multi-model-server #!/usr/bin/env python3 """ Customised system and mms process metrics for monitoring and pass-fail criteria in taurus""" # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use th...
2,527
852
import FWCore.ParameterSet.Config as cms pythiaDefaultBlock = cms.PSet( pythiaDefault = cms.vstring('PMAS(5,1)=4.8 ! b quark mass', 'PMAS(6,1)=172.3 ! t quark mass') )
85
551
@class MIMEAddress, Source; @interface Package : NSObject @property (nonatomic, retain, readonly) NSString *id; @property (nonatomic, retain, readonly) NSString *name; @property (nonatomic, retain, readonly) MIMEAddress *author; @property (nonatomic, retain, readonly) NSString *installed; @property (nonatomic, retain...
207
11,351
package com.netflix.discovery.util; import com.netflix.appinfo.AmazonInfo; import com.netflix.appinfo.DataCenterInfo; import com.netflix.appinfo.InstanceInfo; import org.junit.Assert; import org.junit.Test; /** * @author <NAME> */ public class EurekaUtilsTest { @Test public void testIsInEc2() { Inst...
809
2,329
/* * Copyright 2010-2012 VMware and contributors * * 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 applicabl...
27,478
775
<gh_stars>100-1000 package com.badoo.chateau.example.data.repos.session; import com.badoo.chateau.example.Broadcaster; import com.badoo.chateau.data.models.BaseUser; import com.badoo.chateau.example.data.util.ParseHelper; import com.badoo.unittest.ModelTestHelper; import com.badoo.unittest.rx.BaseRxTestCase; import co...
1,240
1,444
package mage.cards.t; import mage.MageInt; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.effects.common.GainLifeEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.SubType; import java.util.UUID; /** * @auth...
415