max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
1,056 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 1,605 |
743 | <filename>pebble/src/main/java/com/mitchellbosecke/pebble/tokenParser/ImportTokenParser.java<gh_stars>100-1000
/*
* This file is part of Pebble.
*
* Copyright (c) 2014 by <NAME>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
packa... | 536 |
488 | <filename>src/3rdPartyLibraries/qrose/Components/QueryBox/QRQueryDomain.h
/***************************************************************************
* Copyright (C) 2005 by <NAME> *
* <EMAIL> *
***********************************************... | 640 |
1,062 | /**
* 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 requir... | 1,071 |
1,338 | <reponame>Kirishikesan/haiku<gh_stars>1000+
/*
* Copyright 2002-2010, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _VOLUME_ROSTER_H
#define _VOLUME_ROSTER_H
#include <Application.h>
#include <SupportDefs.h>
#include <Volume.h>
class BVolume;
class BMessenger;
cl... | 507 |
467 | <filename>maqetta.core.server/src/maqetta/core/server/util/VResourceUtils.java
package maqetta.core.server.util;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
import java.net.URLConnection;
import java.util.Arrays;
import ... | 2,513 |
722 | <filename>asteroid/models/fasnet.py
import torch
from torch import nn
import torch.nn.functional as F
from .base_models import BaseModel
from ..masknn.recurrent import DPRNNBlock
from ..masknn import norms
from ..masknn.tac import TAC
from ..dsp.spatial import xcorr
class FasNetTAC(BaseModel):
r"""FasNetTAC sepa... | 5,857 |
1,645 | <reponame>smsahu/seldon-server
/*
* Seldon -- open source prediction engine
* =======================================
* Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/)
*
**********************************************************************************************
*
* Licensed... | 514 |
4,140 | <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
* ... | 461 |
868 | // Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this
// file except in compliance with the License. You may obtain a copy of the
// License at
//
// https://opensource.org/licenses/BSD-3-Clause
//
// Unless req... | 3,008 |
502 | <reponame>Haukinger/urho
#include "UrhoHolo.h"
HolographicSpace^ holographicSpace;
HolographicFrame^ current_frame;
void __cdecl WINRT_InitGameBar(struct SDL_VideoDevice *p){};
void __cdecl WINRT_QuitGameBar(struct SDL_VideoDevice *p){};
extern "C"
{
__declspec(dllexport) void InitializeSpace()
{
SDL_SetMainRea... | 3,144 |
3,799 | <gh_stars>1000+
/*
* Copyright 2018 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 req... | 2,151 |
348 | <filename>docs/data/leg-t2/008/00802498.json
{"nom":"Warnécourt","circ":"2ème circonscription","dpt":"Ardennes","inscrits":291,"abs":118,"votants":173,"blancs":15,"nuls":0,"exp":158,"res":[{"nuance":"REM","nom":"<NAME>","voix":90},{"nuance":"LR","nom":"<NAME>","voix":68}]} | 111 |
418 | <reponame>UnifiQ/FEMFX
/*
MIT License
Copyright (c) 2019 Advanced Micro Devices, Inc.
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, including without limitation the rights
... | 1,259 |
305 | //===- unittests/Frontend/CompilerInstanceTest.cpp - CI 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: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 622 |
922 | <gh_stars>100-1000
/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.ap.internal.checks;
import java.util.Collections;
... | 655 |
1,647 | <filename>pythran/pythonic/include/scipy/special/gamma.hpp
#ifndef PYTHONIC_INCLUDE_SCIPY_SPECIAL_GAMMA_HPP
#define PYTHONIC_INCLUDE_SCIPY_SPECIAL_GAMMA_HPP
#include "pythonic/include/types/ndarray.hpp"
#include "pythonic/include/utils/functor.hpp"
#include "pythonic/include/utils/numpy_traits.hpp"
#include <xsimd/xs... | 258 |
1,531 | /**
* script language dependent processor package.
*/
package net.grinder.lang;
| 21 |
1,428 | <filename>C++/FFT.hpp
#include <vector> // std::vector
#include <complex> // std::complex
#define _USE_MATH_DEFINES // M_PI
#include <cmath> // std::sin, std::cos
using base_t = std::complex<double>;
using vCoef_t = std::vector<base_t>;
//============================================================================... | 1,003 |
755 | <reponame>zoloypzuo/Overload
/**
* @project: Overload
* @author: <NAME>.
* @licence: MIT
*/
#pragma once
#include <vector>
#include <sol.hpp>
#include "OvCore/ECS/Components/Behaviour.h"
namespace OvCore::Scripting
{
/**
* Handles script interpretation
*/
class ScriptInterpreter
{
public:
/**
* Construct... | 482 |
1,701 | <filename>src/main/java/com/google/maps/android/AndroidAuthenticationConfigProvider.java
package com.google.maps.android;
/**
* Provides a {@link AndroidAuthenticationConfig} that is specific to the environment the library is
* in.
*/
public class AndroidAuthenticationConfigProvider {
/** @return the environment... | 192 |
1,162 | <reponame>mocyuto/digdag<gh_stars>1000+
package io.digdag.core.session;
import java.util.List;
import java.time.Instant;
import com.google.common.base.*;
import io.digdag.client.config.Config;
import io.digdag.core.repository.ResourceNotFoundException;
public interface SessionStoreManager
{
SessionStore getSessio... | 1,236 |
1,127 | // Copyright (C) 2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "experimental_detectron_prior_grid_generator_kernel_selector.h"
#include "experimental_detectron_prior_grid_generator_kernel_ref.h"
namespace kernel_selector {
namespace {
class experimental_detectron_prior_grid_generator_kern... | 333 |
806 | <filename>oss-android-sdk/src/main/java/com/alibaba/sdk/android/oss/model/ResumableDownloadResult.java
package com.alibaba.sdk.android.oss.model;
import java.util.ArrayList;
public class ResumableDownloadResult extends OSSResult {
private ObjectMetadata metadata;
/**
* Gets the metadata
*
* @... | 190 |
894 | /*
* Copyright (C) 2016 Square, 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 agre... | 2,098 |
361 | from sklearn.svm import LinearSVC, SVC
from GCL.eval import BaseSKLearnEvaluator
class SVMEvaluator(BaseSKLearnEvaluator):
def __init__(self, linear=True, params=None):
if linear:
self.evaluator = LinearSVC()
else:
self.evaluator = SVC()
if params is None:
... | 211 |
1,251 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
#ifndef _FA_GETIWS_CA_H_
#define _FA_GETIWS_CA_H_
#include "FAConfig.h"
#include "FASecurity.h"
namespace BlingFire
{
///
/// client-side interface for getting state's set of defined outgoing arc... | 279 |
956 | /* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2020 Arm Limited
*/
#ifndef _RTE_LPM_SVE_H_
#define _RTE_LPM_SVE_H_
#include <rte_vect.h>
#ifdef __cplusplus
extern "C" {
#endif
__rte_internal
static void
__rte_lpm_lookup_vec(const struct rte_lpm *lpm, const uint32_t *ips,
uint32_t *__rte_restrict next_h... | 1,226 |
1,337 | /*
* Copyright (c) 2008-2017 Haulmont.
*
* 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,219 |
399 | {
"displayName": "Todo",
"version": "0.0.1",
"description": "Todo lists and task management.",
"unigraph": {
"package_name": "unigraph.todo",
"schemas": [{"id": "todo", "src": "schemas/todo.json"}]
}
} | 113 |
2,313 | /*
* Copyright (c) 2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* 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, including without limitation the
* rights ... | 7,256 |
655 | package com.alibaba.asyncload.helper;
import org.junit.Assert;
import org.junit.Test;
import com.alibaba.asyncload.impl.helper.AsyncLoadReflectionHelper;
/**
* @author jianghang 2011-3-31 下午02:34:00
*/
public class AsyncLoadReflectionHelperTest {
@Test
public void testDefaultValue_primitive() {
//... | 1,988 |
892 | /*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2006 <NAME>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) ... | 1,226 |
303 | {"id":7013,"line-1":"North America","line-2":"United States","attribution":"©2015 Skybox Imaging, Inc.","url":"https://www.google.com/maps/@37.413379,-122.049101,12z/data=!3m1!1e3"} | 69 |
2,151 | /* Copyright (C) 2001, 2002, 2003 Red Hat, Inc.
This file is part of elfutils.
Written by <NAME> <<EMAIL>>, 2001.
This file is free software; you can redistribute it and/or modify
it under the terms of either
* the GNU Lesser General Public License as published by the Free
Software Foundation;... | 1,705 |
679 | <gh_stars>100-1000
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF license... | 3,095 |
744 | ###############################################################################
#
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License... | 801 |
2,455 | /*
* Copyright 2008-2013 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 3,390 |
2,558 | <gh_stars>1000+
#include "lib-generated.h"
int main(int argc, const char *argv[]) {
return /*libX:call:main*/libX(argc);
}
| 54 |
576 | # Copyright 2014 Facebook, Inc.
# You are hereby granted a non-exclusive, worldwide, royalty-free license to
# use, copy, modify, and distribute this software in source code or binary
# form for use in connection with the web services and APIs provided by
# Facebook.
# As with any software that integrates with the Fa... | 5,138 |
879 | <reponame>qianfei11/zstack<gh_stars>100-1000
package org.zstack.header.core.progress;
public class TaskProgressRange {
private int start, end;
public Integer getEnd() {
return end;
}
public Integer getStart() {
return start;
}
public TaskProgressRange() {
}
public Ta... | 309 |
479 | <gh_stars>100-1000
#
# 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
#... | 499 |
11,877 | <filename>caffeine/src/main/java/com/github/benmanes/caffeine/cache/package-info.java
/*
* Copyright 2015 <NAME>. 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
*
... | 615 |
6,969 | //Links : https://practice.geeksforgeeks.org/problems/minimum-number-of-jumps-1587115620/1
/*
Given an array of integers where each element represents the max number of steps that can be made forward from that element. Find the minimum number of jumps to reach the end of the array (starting from the first element). If... | 1,070 |
482 | package io.cattle.platform.allocator.constraint;
import io.cattle.platform.allocator.service.AllocationCandidate;
import io.cattle.platform.core.constants.AccountConstants;
import io.github.ibuildthecloud.gdapi.id.IdFormatter;
public class AccountConstraint extends HardConstraint implements Constraint {
long acco... | 302 |
2,151 | /*
* Copyright (c) 2018 The WebRTC 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 contribut... | 964 |
1,961 | #pragma once
#include "ext/CppFlow/include/Model.h"
#include "VoxCommon.hpp"
class MultiBandMelGAN
{
private:
Model* MelGAN;
public:
bool Initialize(const std::string& VocoderPath);
// Do MultiBand MelGAN inference including PQMF
// -> InMel: Mel spectrogram (shape [1, xx, 80])
// <- Returns: Tensor data [4,... | 161 |
3,486 | /**
* (c) 2017-2018 <NAME>.
* Released under MIT license. Read LICENSE for more details.
*
* Based in previous research by: flatz.
*/
#ifndef PUP_DECRYPTER_H
#define PUP_DECRYPTER_H
#include "ksdk.h"
// Format
typedef struct bls_entry_t {
uint32_t block_offset;
uint32_t file_size;
uint32_t reserved[... | 471 |
1,338 | <filename>headers/os/mail/MailMessage.h
/*
* Copyright 2007-2012, Haiku Inc. All Rights Reserved.
* Copyright 2001, Dr. <NAME>. All rights reserved.
*
* Distributed under the terms of the MIT License.
*/
#ifndef _MAIL_MESSAGE_H_
#define _MAIL_MESSAGE_H_
//! The main general purpose mail message class
#include ... | 1,736 |
451 | <filename>CodeGenere/photogram/cREgDistVal_Ebner.cpp
// File Automatically generated by eLiSe
#include "StdAfx.h"
#include "cREgDistVal_Ebner.h"
cREgDistVal_Ebner::cREgDistVal_Ebner():
cElCompiledFonc(2)
{
AddIntRef (cIncIntervale("Intr",0,15));
Close(false);
}
void cREgDistVal_Ebner::ComputeVal()
{
d... | 2,282 |
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... | 6,422 |
32,544 | <filename>spring-mvc-forms-thymeleaf/src/main/java/com/baeldung/listbindingexample/BookService.java
package com.baeldung.listbindingexample;
import java.util.List;
public interface BookService {
List<Book> findAll();
void saveAll(List<Book> books);
}
| 92 |
344 | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from typing import List, Tuple, Optional, Iterator, Dict
from overrides import overrides
import torch
from torch import nn
import numpy as np
from archai.common.common import get_conf
from archai.common.common import logger
from archai.dataset... | 2,435 |
310 | <gh_stars>100-1000
package org.seasar.doma.jdbc.dialect;
import org.seasar.doma.expr.ExpressionFunctions;
import org.seasar.doma.jdbc.JdbcMappingVisitor;
import org.seasar.doma.jdbc.SqlLogFormattingVisitor;
import org.seasar.doma.jdbc.id.AutoGeneratedKeysType;
/** A dialect for Oracle Database. */
public class Oracle... | 832 |
852 |
#include "CSCDQM_ClusterLocalMax.h"
namespace cscdqm {
ClusterLocalMax::ClusterLocalMax() {}
ClusterLocalMax::~ClusterLocalMax() {}
} // namespace cscdqm
| 62 |
335 | <reponame>Safal08/Hacktoberfest-1
{
"word": "Rain",
"definitions": [
"Rain falls.",
"(of the sky, the clouds, etc.) send down rain.",
"Fall or cause to fall in large or overwhelming quantities.",
"Used to convey that a specified thing is falling in large quantities."
],
"... | 135 |
14,668 | <reponame>chromium/chromium<gh_stars>1000+
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/printing/pdf_nup_converter_client.h"
#include <utility>
#include "base/bind.h"
#incl... | 1,348 |
2,542 | <reponame>gridgentoo/ServiceFabricAzure
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ----------------------------------------------------... | 4,367 |
684 | /* 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... | 683 |
348 | {"nom":"Norroy-le-Veneur","circ":"1ère circonscription","dpt":"Moselle","inscrits":859,"abs":531,"votants":328,"blancs":24,"nuls":4,"exp":300,"res":[{"nuance":"REM","nom":"<NAME>","voix":192},{"nuance":"FN","nom":"<NAME>","voix":108}]} | 96 |
1,874 | <filename>nova/virt/libvirt/event.py<gh_stars>1000+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | 507 |
6,270 | [
{
"type": "feature",
"category": "Rekognition",
"description": "This release introduces a new API called DescribeCollection to Amazon Rekognition. You can use DescribeCollection to get information about an existing face collection. Given the ID for a face collection, DescribeCollection ret... | 146 |
451 | /*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : <NAME>
Contributors : <NAME>, <NAME>.
[1] <NAME>, <NAM... | 2,420 |
887 | // Copyright 2014-2019 <NAME>. All Rights Reserved.
#pragma once
#include "Engine/EngineBaseTypes.h"
#include "VaRestTypes.generated.h"
/** Verb (GET, PUT, POST) used by the request */
UENUM(BlueprintType)
enum class EVaRestRequestVerb : uint8
{
GET,
POST,
PUT,
DEL UMETA(DisplayName = "DELETE"),
/** Set CUSTOM... | 2,542 |
3,294 | /// Need snippets:
/// 21 #ctor()
/// 22 #ctor(string)
#using <System.dll>
#using <System.Runtime.Remoting.dll>
using namespace System;
using namespace System::Runtime::Remoting::Metadata::W3cXsd2001;
static void Ctor1()
{
//<snippet21>
// Create a SoapAnyUri object.
SoapAnyUri^ anyUri = gcnew Soa... | 340 |
340 | // Concord
//
// Copyright (c) 2020 VMware, Inc. All Rights Reserved.
//
// This product is licensed to you under the Apache 2.0 license (the
// "License"). You may not use this product except in compliance with the
// Apache 2.0 License.
//
// This product may include a number of subcomponents with separate copyright... | 375 |
511 | <gh_stars>100-1000
/******************************************************************
*
* Copyright 2019 Samsung Electronics 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 L... | 661 |
1,233 | <filename>tests/source.py
import numpy as np
import pytest
def spam(thing,
various=None,
other=None,
things=None):
"""
some very long
doc string
"""
bla = """ another triple quoted string """
X = np.zeros((10,10))
X[0,0] = 1
boing = outer_scope_thing['and']
... | 1,024 |
4,901 | <reponame>VSaliy/j2objc<gh_stars>1000+
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | 6,846 |
3,418 | #include "employee.h"
void Employee::set_salary(int m_salary)
{
salary = m_salary;
}
| 38 |
1,039 | /*
Source File : PDFEmbedParameterTypes.h
Copyright 2011 <NAME> PDFWriter
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
Unle... | 682 |
3,200 | /**
* Copyright 2020-2021 Huawei Technologies Co., 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 applicabl... | 471 |
640 | /*
* int stat(char *filename, struct stat *buf)
*
* Return information about a file
*
* djm 13/3/2000
*
* Just a tad z88 specific!
*
* -----
* $Id: stat.c,v 1.4 2002-04-07 15:36:25 dom Exp $
*/
#include <sys/stat.h>
#include <z88.h>
#include <stdio.h>
#include <string.h>
/* Size of a z88 block */
#define ... | 719 |
373 | <reponame>ADLINK/edk2-platforms
/*++
Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
... | 654 |
1,442 | <filename>escher/include/escher/container.h
#ifndef ESCHER_CONTAINER_H
#define ESCHER_CONTAINER_H
/* Container is the entry point of a program using Escher.
*
* A container contains one or multiple App, and is responsible for running them
* together. Currently Container displays a single App fullscreen, but can
* ... | 429 |
1,846 | <reponame>imatiach-msft/EconML<filename>econml/tests/test_ate_inference.py
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import numpy as np
import unittest
from sklearn.preprocessing import PolynomialFeatures
from sklearn.linear_model import LinearRegression, Logis... | 1,959 |
660 | <reponame>xingmeichen/spring-cloud-shop<filename>shop-job/shop-job-api/src/main/java/quick/pager/shop/handler/core/ManualHandler.java
package quick.pager.shop.handler.core;
import lombok.extern.slf4j.Slf4j;
import quick.pager.shop.job.enums.JobEnums;
import quick.pager.shop.handler.AbstractHandler;
/**
* 人工手动触发 执行器
... | 291 |
1,543 | <reponame>charllie/hibernate-types
package com.vladmihalcea.hibernate.type.array.internal;
import java.util.UUID;
/**
* @author <NAME>
*/
public class UUIDArrayTypeDescriptor
extends AbstractArrayTypeDescriptor<UUID[]> {
public UUIDArrayTypeDescriptor() {
super(UUID[].class);
}
@Overri... | 166 |
14,668 | # 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.
# Invokes gperf for the GN build.
# Usage: gperf.py gperf ...
import argparse
import os
import re
import subprocess
import sys
import template_expander
de... | 1,763 |
310 | <reponame>kourtneyshort/healthcare
"""An Apache Beam DoFn for untaring a tar file."""
import tarfile
import apache_beam as beam
import tensorflow as tf
class ReadTarFile(beam.DoFn):
"""Untar a tar file."""
def process(self, path, path_to_key=lambda x: x):
"""Overrides beam.DoFn.process.
Args:
pat... | 389 |
322 | ///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (C) 2019-2021, LAAS-CNRS, University of Edinburgh, INRIA
// Copyright note valid unless otherwise stated in individual files.
// All rights reserved.
//////////////////////////////////////////////////... | 1,496 |
1,056 | package org.netbeans.test.java.hints;
public class EnumConstant {
enum Name { A, B, C }
Name someName = Name.D;
}
| 50 |
920 | //
// TGInitialViewController.h
// TGCameraViewController
//
// Created by <NAME> on 15/09/14.
// Copyright (c) 2014 Tudo Gostoso Internet. All rights reserved.
//
@import UIKit;
@interface TGInitialViewController : UIViewController
@end | 80 |
777 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/common/system/chromeos/palette/palette_tool.h"
#include "ash/common/system/chromeos/palette/palette_tool_manager.h"
#include "ash/common/sy... | 538 |
4,054 | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.compress;
import org.junit.Test;
import java.util.Arrays;
import java.util.Optional;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class LZ4Comp... | 320 |
3,227 | <filename>Tetrahedral_remeshing/test/Tetrahedral_remeshing/test_mesh_and_remesh_image.cpp<gh_stars>1000+
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Mesh_triangulation_3.h>
#include <CGAL/Mesh_complex_3_in_triangulation_3.h>
#include <CGAL/Mesh_criteria_3.h>
#include <CGAL/Labeled_m... | 962 |
1,632 | {
"href": "https://api.spotify.com/v1/shows/7qV2tMPbnZu18p2h0w6vvR/episodes?offset=0&limit=2",
"items": [
{
"audio_preview_url": "https://p.scdn.co/mp3-preview/3852fac7b64ee43c62b6557d78c8c12300cd8f98",
"description": "Företag som har förlorat mycket pengar nu ska få hjälp av staten. | Idag är det V... | 1,805 |
4,959 | # Copyright (c) 2017-2019 Uber Technologies, Inc.
# SPDX-License-Identifier: Apache-2.0
import math
from functools import partial
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.distributions import Transform, constraints
from pyro.nn import DenseNN
from ..conditional import Conditiona... | 3,610 |
1,338 | <reponame>Kirishikesan/haiku<filename>headers/os/media/BufferProducer.h
/*
* Copyright 2009, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _BUFFER_PRODUCER_H
#define _BUFFER_PRODUCER_H
#include <MediaNode.h>
class BBuffer;
class BBufferGroup;
class BRegion;
names... | 3,183 |
455 | package netflix.adminresources.pages;
import netflix.adminresources.AbstractAdminPageInfo;
import netflix.adminresources.AdminPage;
@AdminPage
public class JmxPage extends AbstractAdminPageInfo {
public static final String PAGE_ID = "jmx";
public static final String NAME = "JMX";
public JmxPage() {
... | 116 |
356 | <gh_stars>100-1000
/*
* Copyright (C) 2015,2018 Southern Storm Software, Pty Ltd.
*
* 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, including without limitation
* t... | 2,090 |
335 | {
"word": "Wobble",
"definitions": [
"to move or proceed with an irregular rocking or staggering motion or unsteadily and clumsily from side to side"
],
"parts-of-speech": "Verb"
}
| 78 |
29,258 | package com.taobao.arthas.core.command.monitor200;
import com.taobao.arthas.core.advisor.InvokeTraceable;
import com.taobao.arthas.core.shell.command.CommandProcess;
/**
* @author beiwei30 on 29/11/2016.
*/
public class TraceAdviceListener extends AbstractTraceAdviceListener implements InvokeTraceable {
/**
... | 607 |
588 | <gh_stars>100-1000
#ifndef _SERVICE_IMPL_HPP_
#define _SERVICE_IMPL_HPP_
#include "TestInterfaces/Interfaces.hpp"
namespace graph {
class DSGraph05Impl : public test::DSGraph05
{
public:
DSGraph05Impl(const std::shared_ptr<test::DSGraph06>&);
~DSGraph05Impl() override;
std::string Description() override;
priva... | 157 |
1,444 | package mage.cards.o;
import mage.abilities.Ability;
import mage.abilities.LoyaltyAbility;
import mage.abilities.common.DrawCardOpponentTriggeredAbility;
import mage.abilities.common.PlaneswalkerEntersWithLoyaltyCountersAbility;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.DamageTa... | 1,049 |
715 | <reponame>rubenlozanoaht3m/DataDogm<filename>python/federatedml/feature/feature_imputation.py<gh_stars>100-1000
#
# Copyright 2019 The FATE 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 o... | 4,835 |
1,861 | // Copyright (c) Facebook, Inc. and its affiliates.
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#pragma once
#include <spectrum/codecs/CompressorProvider.h>
#include <spectrum/codecs/ICompressor.h>
#include <spectrum/core/Constants.h... | 401 |
696 | /*
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.math.impl.minimization;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.data.Offset.offset;
import java.util.fu... | 2,546 |
526 | /* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.adapters.eventbus.topic.kafka;
import org.odpi.openmetadata.repositoryservices.connectors.openmetadatatopic.IncomingEvent;
/**
* {@link IncomingEvent} that came from Kafka
*/
public class... | 331 |
335 | <reponame>Safal08/Hacktoberfest-1
{
"word": "Knawel",
"definitions": [
"A low-growing inconspicuous plant of the pink family, which grows in temperate regions of the northern hemisphere."
],
"parts-of-speech": "Noun"
} | 94 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.