max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
365
<gh_stars>100-1000 /* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope ...
546
559
<filename>examples/proxy/src/main/java/com/netflix/msl/ProxyMslException.java /** * Copyright (c) 2015 Netflix, Inc. All rights reserved. */ package com.netflix.msl; /** * <p>Thrown by the proxy when a MSL exception has occurred.</p> * * @author <NAME> <<EMAIL>> */ public class ProxyMslException extends ProxyE...
259
678
<filename>iOSOpenDev/frameworks/WebCore.framework/Headers/WebCoreViewFactory.h /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/WebCore.framework/WebCore */ #import <WebCore/XXUnknownSuperclass.h> @interface WebCoreViewFactory : XXUnknownSuperclass { } + (id)shar...
130
777
<reponame>google-ar/chromium // Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef ASH_COMMON_SYSTEM_BRIGHTNESS_CONTROL_DELEGATE_H_ #define ASH_COMMON_SYSTEM_BRIGHTNESS_CONTROL_DELEGATE_H_ #include "...
414
2,603
<filename>FreeRTOS/Demo/RX600_RX64M_RSK_Renesas_e2studio/Source/Renesas_Code/RegisterWriteProtect.c /* * RegisterWriteProtect.c * * Created on: 4 Mar 2014 * Author: WarnerR */ #include "../iodefine.h" #include "stdint.h" #define PRC0_BIT 0x0001 #define PRC1_BIT 0x0002 #define PRC3_BIT 0x0008 ...
1,112
2,003
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "load_balancer/cost_functions.h" #include <algorithm> #include <vector> namespace tera { namespace load_balancer { MoveCountCostFunction::MoveCo...
1,724
1,886
from compiler.errors import TypedSyntaxError from compiler.static.types import ( TYPED_INT8, TYPED_INT16, PRIM_OP_DIV_INT, PRIM_OP_ADD_INT, ) from .common import StaticTestBase try: import cinderjit except ImportError: cinderjit = None class BinopTests(StaticTestBase): def test_pow_of_in...
11,832
2,151
// 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 "chrome/browser/search/background/ntp_background_service.h" #include <utility> #include <vector> #include "base/run_loop.h" #include "base/test...
2,746
9,425
""" Simple text outputter ===================== The ``txt`` outputter has been developed to make the output from shell commands on minions appear as they do when the command is executed on the minion. CLI Example: .. code-block:: bash salt '*' foo.bar --out=txt """ import pprint def output(data, **kwargs): ...
429
2,212
<reponame>paulo-sampaio/detect-secrets import argparse from typing import cast from . import baseline from ...settings import get_settings from .common import initialize_plugin_settings def add_scan_action(parent: argparse._SubParsersAction) -> argparse.ArgumentParser: parser = parent.add_parser( 'scan',...
1,258
429
/* vim: tabstop=4 shiftwidth=4 noexpandtab * This file is part of ToaruOS and is released under the terms * of the NCSA / University of Illinois License - see LICENSE.md * Copyright (C) 2016-2018 <NAME> * * VirtualBox Guest Additions driver */ #include <kernel/system.h> #include <kernel/fs.h> #include <kernel/pr...
5,751
403
package org.camunda.bpm.example.task_name_beautifier.nonarquillian; import org.camunda.bpm.engine.task.Task; import org.camunda.bpm.engine.test.Deployment; import org.camunda.bpm.engine.test.ProcessEngineTestCase; /** * Test case starting an in-memory database-backed Process Engine. */ public class InMemoryH2Test e...
300
10,225
package io.quarkus.runtime.annotations; public enum ConfigPhase { /** * Values are read and available for usage at build time. */ BUILD_TIME(true, false, false, "Build time"), /** * Values are read and available for usage at build time, and available on a read-only basis at run time. */...
577
575
// 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. package org.chromium.chrome.browser.omnibox.suggestions; import android.os.Debug; import org.chromium.base.metrics.RecordHistogram; import java.util.co...
1,630
427
<gh_stars>100-1000 /** * Provides utility classes. */ package fr.tikione.ini.util;
31
504
package org.dayatang.datasource4saas.dscreator; import org.apache.commons.beanutils.BeanUtils; import org.dayatang.configuration.Configuration; import org.dayatang.configuration.ConfigurationFactory; import org.dayatang.datasource4saas.Constants; import org.dayatang.datasource4saas.dsregistry.DataSourceCreator; impor...
1,397
304
<filename>GRichLabelExample/DemoTextMenuConfig.h // // DemoTextMenuConfig.h // GRichLabelExample // // Created by GIKI on 2017/11/7. // Copyright © 2017年 GIKI. All rights reserved. // #import <Foundation/Foundation.h> #import "GMenuContextProtocol.h" @interface DemoTextMenuConfig : NSObject<GMenuContextProtocol> ...
116
1,059
<filename>core/core_engine/php/engine.py #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/7/5 15:34 # @Author : LoRexxar # @File : engine.py # @Contact : <EMAIL> import traceback from phply import phpast as php from utils.log import logger def init_match_rule(data): """ 处理新生成规则初始化正则匹配 ...
1,571
3,705
#pragma once #include "chainerx/array.h" namespace chainerx { Array Sinh(const Array& x); Array Cosh(const Array& x); Array Tanh(const Array& x); Array Arcsinh(const Array& x); Array Arccosh(const Array& x); } // namespace chainerx
94
2,151
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/css/properties/longhands/text_size_adjust.h" #include "third_party/blink/renderer/core/css/parser/css_property_...
556
1,602
<filename>third-party/llvm/llvm-src/unittests/Analysis/DDGTest.cpp //===- DDGTest.cpp - DDGAnalysis unit tests -------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier:...
2,259
7,482
<filename>bsp/wch/arm/Libraries/CH32F10x_StdPeriph_Driver/StdPeriph_Driver/inc/ch32f10x_usb.h /***************COPYRIGHT(C) 2019 WCH. A11 rights reserved********************* * File Name : ch32f10x_usb.h * Author : WCH * Version : V1.0.0 * Date : 2019/10/15 * Descripti...
15,261
1,417
import os import threading import time import typing from hydrus.core import HydrusConstants as HC from hydrus.core import HydrusData from hydrus.core import HydrusGlobals as HG from hydrus.core import HydrusThreading from hydrus.client.gui import QtPorting as QP class JobKey( object ): def __init__( self, ...
10,155
347
<reponame>hbraha/ovirt-engine<filename>frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/view/ShowHideVfButtonView.java package org.ovirt.engine.ui.common.view; import org.ovirt.engine.ui.common.CommonApplicationConstants; import org.ovirt.engine.ui.common.gin.AssetProvider; import org.ovir...
225
721
<gh_stars>100-1000 { "api_id": "metastore:v1beta", "name_pretty": "Dataproc Metastore API", "distribution_name": "google-apis-metastore_v1beta", "language": "ruby", "library_type": "REST" }
96
854
<filename>Python3/696.py __________________________________________________________________________________________________ sample 108 ms submission class Solution: def countBinarySubstrings(self, s: str) -> int: s=list(map(len,s.replace('10','1 0').replace('01','0 1').split(' '))) #print(list(s)) ...
323
3,266
package org.antlr.codegen; import java.util.*; public class JavaScriptTarget extends Target { /** Convert an int to a JavaScript Unicode character literal. * * The current JavaScript spec (ECMA-262) doesn't provide for octal * notation in String literals, although some implementations support it. ...
722
480
/* Copyright (c) [2014 Baidu]. 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...
716
419
<filename>platform/compilation/fota/linux/fotasdk.h<gh_stars>100-1000 /* Copyright (C) 2017 RDA Technologies Limited and/or its affiliates("RDA"). * All rights reserved. * * This software is supplied "AS IS" without any warranties. * RDA assumes no responsibility or liability for the use of the software, * conveys no l...
1,192
1,374
<reponame>norzak/jsweet /* * TypeScript definitions to Java translator - http://www.jsweet.org * Copyright (C) 2015 CINCHEO SAS <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation...
798
6,717
<gh_stars>1000+ //****************************************************************************** // // Copyright (c) Microsoft. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIM...
1,657
1,325
#ifndef VOXEL_BLOCK_SERIALIZER_H #define VOXEL_BLOCK_SERIALIZER_H #include "../util/span.h" #include <core/io/file_access_memory.h> #include <core/reference.h> #include <vector> class StreamPeer; class VoxelBufferInternal; class VoxelBlockSerializerInternal { // Had to be named differently to not conflict with the...
641
319
/** * Copyright (c) 2011, The University of Southampton and the individual contributors. * 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 ...
3,010
420
<filename>src/ui/components/metrics_window.cpp #include "metrics_window.h" #include "ui.h" #include "libs/imgui/imgui.h" #include <inttypes.h> void metrics_window::update(PapayaMemory* mem) { if (!mem->misc.show_metrics) { return; } ImGui::Begin("Metrics"); // ======== // Profiler // =======...
2,432
1,444
package mage.cards.i; import java.util.UUID; import mage.MageInt; import mage.MageObject; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.common.combat.CantBlockAllEffect; import mage.abilities.keyword.De...
766
475
<gh_stars>100-1000 /* * Copyright (C) 2020 The zfoo Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
2,040
1,600
#include "sum_integers.hpp" #include <vector> int main() { auto integers = {1, 2, 3, 4, 5}; if (sum_integers(integers) == 15) { return 0; } else { return 1; } }
81
317
<gh_stars>100-1000 __all__ = ( 'CLEError', 'CLEUnknownFormatError', 'CLEFileNotFoundError', 'CLEInvalidBinaryError', 'CLEOperationError', 'CLECompatibilityError', ) class CLEError(Exception): """ Base class for errors raised by CLE. """ pass class CLEUnknownFormatError(CLEErro...
361
1,183
{ "name": "@adobe/leonardo-ui", "private": true, "version": "1.3.6", "description": "Demonstration UI for Leonardo", "repository": "<EMAIL>:adobe/leonardo.git", "author": "<NAME> <<EMAIL>>", "scripts": { "serve": "npx parcel src/index.html src/theme.html src/converter.html src/contrast-checker.html sr...
1,465
711
<filename>java110-bean/src/main/java/com/java110/vo/api/community/ApiCommunityDataVo.java package com.java110.vo.api.community; import com.java110.dto.community.CommunityAttrDto; import java.io.Serializable; import java.util.List; public class ApiCommunityDataVo implements Serializable { private String communit...
1,488
3,262
package com.tencent.angel.psagent.matrix.transport.router.range; import com.tencent.angel.psagent.matrix.transport.router.KeyValuePart; import com.tencent.angel.psagent.matrix.transport.router.RouterType; public abstract class RangeKeyValuePart extends KeyValuePart { /** * Start position for this partition in ke...
231
341
/* -*- Mode: C; tab-width: 4 -*- * * Copyright (c) 2002-2004 Apple Computer, 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/l...
579
32,544
<reponame>DBatOWL/tutorials package com.baeldung.quarkus; import com.baeldung.quarkus.utils.CustomTestProfile; import io.quarkus.test.junit.QuarkusTest; import io.quarkus.test.junit.TestProfile; import io.restassured.http.ContentType; import org.junit.jupiter.api.Test; import static io.restassured.RestAssured.given; ...
345
563
package com.gentics.mesh.example; import static com.gentics.mesh.core.rest.common.Permission.CREATE; import static com.gentics.mesh.core.rest.common.Permission.DELETE; import static com.gentics.mesh.core.rest.common.Permission.READ; import static com.gentics.mesh.example.ExampleUuids.PROJECT_DEMO2_UUID; import static ...
837
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...
517
347
package org.ovirt.engine.core.common.businessentities; import java.util.Objects; import org.ovirt.engine.core.compat.Guid; /** * Status of kdump flow for specific host */ public class VdsKdumpStatus { /** * VDS UUID */ private Guid vdsId; /** * VDS kdump flow status */ private ...
725
416
/* File: AVAudioUnitEQ.h Framework: AVFoundation Copyright 2016 Apple Inc. All rights reserved. */ #import <AVFAudio/AVAudioUnitEQ.h>
71
346
<filename>codecarbon/external/scheduler.py from threading import Lock, Timer class PeriodicScheduler(object): """ A periodic task running in threading.Timers From https://stackoverflow.com/a/18906292/14541668 """ def __init__(self, interval, function, *args, **kwargs): """ Init th...
667
1,428
<filename>C/arraysum.c<gh_stars>1000+ #include <stdio.h> int main(){ // Sum and Average of elements of the array long arr[100],i,sum=0,size; float avg; printf("Enter size of array "); scanf("%ld",&size); printf("\nEnter %ld elements in the array \n",size); for(i=0;i<size;i++) { ...
245
2,228
<filename>src/main/java/org/springframework/data/jpa/repository/query/PartTreeJpaQuery.java<gh_stars>1000+ /* * Copyright 2008-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...
4,095
2,038
<gh_stars>1000+ // Created by ProbablyInteractive. // Copyright 2009 Probably Interactive. All rights reserved. #import <Foundation/Foundation.h> #import "lua.h" #define WAX_VERSION 0.93 //just start wax with no script, and no extension. (can be used in swift) void wax_startWithNil(); //setup lua, and load wax s...
347
761
<reponame>EndevelCZ/umap import shutil import tempfile import pytest from django.core.signing import get_cookie_signer from .base import DataLayerFactory, MapFactory, UserFactory from umap.models import Licence, TileLayer TMP_ROOT = tempfile.mkdtemp() def pytest_configure(config): from django.conf import setti...
482
400
<reponame>tradeshift-zihe/ofdrw package org.ofdrw.core.pageDescription.clips; import org.junit.jupiter.api.Test; import org.ofdrw.TestTool; import org.ofdrw.core.basicType.ST_Array; import org.ofdrw.core.basicType.ST_Box; import org.ofdrw.core.basicType.ST_RefID; import org.ofdrw.core.graph.pathObj.AbbreviatedData; im...
745
803
<gh_stars>100-1000 // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once class CFileFilter; class CFileFilterReference; static SIZE_T CFileFilterReferenceOffsetOfILE(); // A file path table entry. class CFilePathTableEntry // fpte { public: class COpenFile; pub...
37,272
438
package info.bitrich.xchangestream.coinmate.dto.auth; import com.pusher.client.util.ConnectionFactory; import java.io.IOException; import java.net.URLEncoder; import java.util.Iterator; import java.util.Map; import org.knowm.xchange.coinmate.CoinmateException; public class CoinmateUrlEncodedConnectionFactory extends ...
561
2,144
<gh_stars>1000+ /** * 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 *...
711
1,194
<filename>hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/provider/r4/OpenApiInterceptorJpaTest.java package ca.uhn.fhir.jpa.provider.r4; import ca.uhn.fhir.rest.openapi.OpenApiInterceptor; import org.apache.commons.io.IOUtils; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http....
607
5,964
<filename>tests/VarAllocTest.cpp #include "Test.h" #include "SkVarAlloc.h" DEF_TEST(VarAlloc, r) { SkVarAlloc va(4/*start allocating at 16B*/); char* p = va.alloc(128, SK_MALLOC_THROW); sk_bzero(p, 128); // Just checking this is safe. #if !defined(SK_BUILD_FOR_ANDROID) && !defined(__UCLIBC__) // This...
188
372
/* Copyright (C) 2000, 2004-2005 Free Software Foundation, Inc. This file is part of the GNU LIBICONV Library. The GNU LIBICONV Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either v...
674
335
{ "word": "Literacy", "definitions": [ "The ability to read and write.", "Competence or knowledge in a specified area." ], "parts-of-speech": "Noun" }
78
679
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
10,702
9,959
<gh_stars>1000+ /* * These are stub versions of various bits of javac-internal API (for various different versions of javac). Lombok is compiled against these. */ package com.sun.tools.javac.util; public class Context { public static class Key<T> { } public interface Factory<T> { T make(Context c); T make()...
240
552
<reponame>dodoproptit99/Multilingual_Text_to_Speech<gh_stars>100-1000 import torch from torch.nn import functional as F from torch.nn import Sequential, ModuleList, Linear, ReLU, Sigmoid, MaxPool1d, ConstantPad1d, MaxPool1d, GRU from modules.layers import ConvBlock class PostnetCBHG(torch.nn.Module): """ CBH...
1,521
14,668
<filename>components/metrics/metrics_data_validation.h // 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 COMPONENTS_METRICS_METRICS_DATA_VALIDATION_H_ #define COMPONENTS_METRICS_METRICS_DATA_VALID...
913
1,103
<reponame>termux-one/EasY_HaCk """ Parser for an obscure FMV file format: bin files from the game "The Amazing Spider-Man vs. The Kingpin" (Sega CD) Author: <NAME> Creation date: 2006-09-30 File samples: http://samples.mplayerhq.hu/game-formats/spiderman-segacd-bin/ """ from hachoir_parser import Parser from hachoir_...
1,005
3,301
<reponame>okjay/Alink package com.alibaba.alink.operator.batch.nlp; import org.apache.flink.ml.api.misc.param.Params; import com.alibaba.alink.operator.batch.utils.ModelMapBatchOp; import com.alibaba.alink.operator.common.nlp.DocHashCountVectorizerModelMapper; import com.alibaba.alink.params.nlp.DocHashCountVectorize...
321
632
<reponame>qiniu/android-sdk<filename>library/src/main/java/com/qiniu/android/storage/UploadSource.java package com.qiniu.android.storage; import java.io.IOException; abstract class UploadSource { /** * 未知大小 */ static final long UnknownSourceSize = -1; /** * 获取资源唯一标识 * 作为断点续传时判断是否为同一资源...
1,170
587
<gh_stars>100-1000 #include "../hedley.h" #if HEDLEY_IAR_VERSION_CHECK(8,0,0) # pragma diag_suppress=Pe381 #elif defined(HEDLEY_SUNPRO_VERSION) && !defined(__cplusplus) # pragma error_messages(off,E_EMPTY_DECLARATION) #elif defined(HEDLEY_TI_VERSION) # pragma diag_suppress 383 #endif HEDLEY_STATIC_ASSERT(sizeof(ch...
170
1,109
/******************************************************************************* * Copyright 2016 Intuit * <p> * 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 * <p> * http://www.apache.o...
1,225
575
<filename>components/translate/content/renderer/per_frame_translate_agent.h // Copyright (c) 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 COMPONENTS_TRANSLATE_CONTENT_RENDERER_PER_FRAME_TRANSLATE_AGENT_H_...
2,025
601
<gh_stars>100-1000 """ Utilities for manipulating bokeh models. """ from __future__ import annotations import textwrap from contextlib import contextmanager from typing import ( TYPE_CHECKING, Any, Iterable, List, Optional, ) import numpy as np from bokeh.document import Document from bokeh.document.events impo...
2,331
335
/* Copyright (C) 2016 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
675
683
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.testing.common; import java.lang.reflect.Field; public final class AgentClassLoaderAccess { private static final ClassLoader agentClassLoader; static { try { Class<?> agentInitializ...
377
378
<filename>container/openejb-core/src/test/java/org/apache/openejb/timer/TransactionRegistryInTimeoutTest.java /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright owne...
1,941
713
package org.infinispan.remoting.inboundhandler.action; import org.infinispan.remoting.inboundhandler.BasePerCacheInboundInvocationHandler; /** * An {@link Action} implementation that checks if the command topology id is valid. * <p/> * The command topology id is valid when it is higher or equal thant the first top...
264
605
/*===-------------------------------------------------------------------------- * ROCm Device Libraries * * This file is distributed under the University of Illinois Open Source * License. See LICENSE.TXT for details. *===------------------------------------------------------------------------*/ ...
6,285
539
# Copyright 2018-2021 Xanadu Quantum Technologies 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 applicabl...
3,123
8,851
<filename>wagtail/tests/testapp/migrations/0006_sectionedrichtextpage_sectionedrichtextpagesection.py # -*- coding: utf-8 -*- from django.db import migrations, models import modelcluster.fields import wagtail.core.fields class Migration(migrations.Migration): dependencies = [ ('wagtailcore', '0028_merge'...
702
403
package com.camunda.bpm.demo.uel_variable_evaluator.nonarquillian; import static org.camunda.bpm.engine.test.assertions.ProcessEngineAssertions.assertThat; import static org.camunda.bpm.engine.test.assertions.ProcessEngineAssertions.init; import static org.camunda.bpm.engine.test.assertions.ProcessEngineTests.runtimeS...
700
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 "weblayer/browser/android/resource_mapper.h" #include <map> #include "base/android/jni_android.h" #include "base/android/jni_array.h" #include ...
829
1,155
// Copyright 2010 <NAME> // henry UNDERSCORE christophe AT hotmail DOT com // This is an extended version of the state machine available in the boost::mpl library // Distributed under the same license as the original. // Copyright for the original version: // Copyright 2005 <NAME> and <NAME>. Distributed // under the B...
3,730
1,345
<reponame>FreddyZeng/nlp-lang package org.nlpcn.commons.lang.util; import org.junit.Assert; import org.junit.Test; import java.io.File; public class FileFinderTest { @Test public void test() { File find = (FileFinder.findByFile(new File("./"), "FileFinder.java",10)); Assert.assertNotNull(f...
202
521
/* $Id: Intel_Atom_330_1_60GHz.h $ */ /** @file * CPU database entry "Intel Atom 330 1.60GHz". * Generated at 2015-11-04T12:58:59Z by VBoxCpuReport v5.0.51r103818 on linux.amd64. */ /* * Copyright (C) 2013-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from...
8,593
326
/************************************************ Copyright (c) 2016, Xilinx, 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 the above copyrig...
2,860
742
package org.support.project.knowledge.deploy.v1_8_0; import org.support.project.common.util.FileUtil; import org.support.project.knowledge.config.AppConfig; import org.support.project.knowledge.dao.ServiceConfigsDao; import org.support.project.knowledge.dao.ServiceLocaleConfigsDao; import org.support.project.knowledge...
731
1,561
// Copyright 1996-2021 Cyberbotics Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
1,413
521
<reponame>Fimbure/icebox-1 /* Copyright (c) 2001, Stanford University * All rights reserved * * See the file LICENSE.txt for information on redistributing this software. */ #include "cr_packfunctions.h" #include "packspu.h" #include "packspu_proto.h" #include "cr_mem.h" void PACKSPU_APIENTRY packspu_ChromiumParam...
10,417
852
<reponame>ckamtsikis/cmssw<gh_stars>100-1000 // // Select the partons status 2 and 3 for MC Jet Flavour // Author: Attilio // Date: 10.10.2007 // //======================================================================= // user include files #include "FWCore/Framework/interface/global/EDProducer.h" #include "FWCore/P...
1,769
3,301
<reponame>queyuexzy/Alink<filename>core/src/main/java/com/alibaba/alink/params/huge/HasNumCheckpoint.java package com.alibaba.alink.params.huge; 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...
273
769
#ifndef __SDCARD_SDIO_H #define __SDCARD_SDIO_H #include "stm32l4xx.h" #include "gpio.h" // Enable usage of SDIO 4-bit bus // 0 - use 1-bit bus // 1 - use 4-bit bus #define SDIO_USE_4BIT 1 // Enable usage of DMA transfers // 0 - no DMA-related code // 1 - use DMA-related code #define SDIO_U...
9,326
852
<gh_stars>100-1000 import FWCore.ParameterSet.Config as cms from L1Trigger.L1THGCal.hgcalTriggerGeometryESProducer_cfi import * from Validation.HGCalValidation.hgcalValidationTPG_cfi import * runHGCALValidationTPG = cms.Sequence(hgcalTrigPrimValidation)
97
835
/* * Copyright (C) 2015 Twitter, 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 applicable law or agr...
1,923
856
// // Copyright © 2021 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include <backendsCommon/Workload.hpp> #include <arm_compute/runtime/CL/functions/CLReductionOperation.h> namespace armnn { arm_compute::Status ClReduceWorkloadValidate(const TensorInfo& input, ...
308
601
<filename>datasets/phrasecut_eval.py # Copyright (c) <NAME> & <NAME>. Licensed under the Apache License 2.0. All Rights Reserved import os from collections import defaultdict from typing import Dict, List import util.dist as dist from .phrasecut_utils.evaluator import Evaluator from .phrasecut_utils.refvg_loader impo...
1,015
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Courtefontaine","circ":"3ème circonscription","dpt":"Doubs","inscrits":195,"abs":89,"votants":106,"blancs":14,"nuls":6,"exp":86,"res":[{"nuance":"LR","nom":"<NAME>","voix":61},{"nuance":"REM","nom":"M. <NAME>","voix":25}]}
110
564
/* * 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 ...
2,559
3,084
<filename>biometrics/adapters/storage_adapter/StorageAdapter.cpp /*++ THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. Cop...
5,728
1,008
/* * Copyright (C) 2019 The Turms Project * https://github.com/turms-im/turms * * 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 * *...
841
5,169
{ "name": "Wombat", "version": "0.1.1", "summary": "Word-Of-Mouth as a service.", "description": "At its core, Wombat is about people, and its strength lies in its ability to see the people behind both the app and the device.\n\nWe help you delight your users by optimizing your interactions with them, earning t...
599
1,071
<gh_stars>1000+ #------------------------------------------------------------------------------ # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. #------------------------------------------------------------------------------ #---------------------------------------------------------------...
584