max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
14,668
<reponame>zealoussnow/chromium // 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 "ash/system/holding_space/holding_space_item_view.h" #include "ash/public/cpp/holding_space/holding_space_client....
6,278
1,338
<reponame>Kirishikesan/haiku<gh_stars>1000+ /* * Copyright 2012, Haiku, Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _MAIL_SETTINGS_VIEW_H #define _MAIL_SETTINGS_VIEW_H #include <MailSettings.h> #include <View.h> class BMailSettingsView : public BView { public: B...
202
1,694
<reponame>CrackerCat/iWeChat // // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>. // #import <MMCommon/MMObject.h> #import "PBMessageObserverDelegate-Protocol.h" @class NSMutableDictionary; @prot...
431
394
<gh_stars>100-1000 package net.earthcomputer.multiconnect.protocols.v1_15_2.mixin; import net.earthcomputer.multiconnect.impl.MixinHelper; import net.minecraft.entity.data.TrackedData; import net.minecraft.entity.passive.WolfEntity; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.gen.Acces...
186
491
#!/usr/bin/python3 import tensorflow as tf print(tf.__version__) import_dir = "./savedmodel" export_dir = import_dir+"_signaturedefs" def get_graph_def_from_saved_model(saved_model_dir): with tf.compat.v1.Session() as session: meta_graph_def = tf.compat.v1.saved_model.loader.load( session, ...
620
1,742
<gh_stars>1000+ from .alphabet import Alphabet, build_alphabet from .morphism import WordMorphism from .paths import WordPaths from .word import Word from .word_options import WordOptions from .word_generators import words from .words import Words, FiniteWords, InfiniteWords from .lyndon_word import LyndonWord, LyndonW...
99
434
<gh_stars>100-1000 #!/usr/bin/env python3 from distutils.core import setup setup(name = "trimage", version = "1.0.6", description = "Trimage image compressor - A cross-platform tool for optimizing PNG and JPG files", author = "<NAME>, <NAME>", author_email = "<EMAIL>", url = "http://trimage.org",...
405
5,169
{ "name": "YXTShareLib", "version": "2.0beta", "summary": "分享工具", "description": "云学堂分享", "homepage": "http://www.yxt.com/", "license": "MIT", "authors": { "hanjun": "<EMAIL>" }, "source": { "http": "https://appdown.yunxuetang.cn/t/daxue/sdk/YXT-Share-SDK-iOS-2.0betalib.zip" }, "platforms"...
370
543
<gh_stars>100-1000 /* * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * pub...
7,292
344
<gh_stars>100-1000 /* * 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 PATE...
1,218
925
<filename>Source/Drivers/OniFile/Formats/XnCodec.cpp /***************************************************************************** * * * OpenNI 2.x Alpha * * Copyright (C) 2012 PrimeSen...
1,439
307
<gh_stars>100-1000 package test; import com.nlf.calendar.Fu; import com.nlf.calendar.Lunar; import com.nlf.calendar.Solar; import org.junit.Assert; import org.junit.Test; /** * 三伏测试 * * @author 6tail */ public class FuTest { @Test public void test1(){ Solar solar = new Solar(2011,7,14); Lunar lunar =...
1,685
1,174
<filename>packages/treat/webpack-plugin/loader/package.json { "main": "dist/treat-webpack-plugin-loader.cjs.js", "module": "dist/treat-webpack-plugin-loader.esm.js", "browser": { "./dist/treat-webpack-plugin-loader.cjs.js": "./dist/treat-webpack-plugin-loader.browser.cjs.js", "./dist/treat-webpack-plugin-...
163
1,248
<reponame>mario-renau-alstom/atlas /** * 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, ...
8,036
1,042
<reponame>scottcgi/Mojoc /* * Copyright (c) scott.cgi All Rights Reserved. * * This source code belongs to project Mojoc, which is a pure C Game Engine hosted on GitHub. * The Mojoc Game Engine is licensed under the MIT License, and will continue to be iterated with coding passion. * * License : https://github.c...
1,747
9,778
/*------------------------------------------------------------------------- * * interrupt.h * Interrupt handling routines. * * Responses to interrupts are fairly varied and many types of backends * have their own implementations, but we provide a few generic things * here to facilitate code reuse. * * Portio...
266
1,279
<filename>DbGit/pluginsdk/yara/yara/strutils.h /* Copyright (c) 2007-2014. The YARA Authors. 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...
948
2,039
package org.nd4j.jita.flow.impl; import lombok.Getter; import org.nd4j.jita.allocator.Allocator; import org.nd4j.jita.allocator.context.ContextPack; import org.nd4j.jita.allocator.enums.AllocationStatus; import org.nd4j.jita.allocator.enums.CudaConstants; import org.nd4j.jita.allocator.impl.AllocationPoint; import org...
8,616
1,025
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file afProjectManager.cpp /// //================================================================================== ...
7,636
348
<gh_stars>100-1000 {"nom":"Delle","circ":"1ère circonscription","dpt":"Territoire de Belfort","inscrits":3825,"abs":2258,"votants":1567,"blancs":24,"nuls":11,"exp":1532,"res":[{"nuance":"MDM","nom":"<NAME>","voix":385},{"nuance":"FN","nom":"<NAME>","voix":311},{"nuance":"LR","nom":"<NAME>","voix":309},{"nuance":"SOC","...
266
8,865
// This file is used to check if we can produce working executables // for i386 and x86_64 archs on Linux. #include <stdlib.h> int main(){}
44
419
#pragma once //------------------------------------------------------------------------- #if KRG_DLL #ifdef KRG_TOOLS_CORE #define KRG_TOOLS_CORE_API __declspec(dllexport) #else #define KRG_TOOLS_CORE_API __declspec(dllimport) #endif #else #define KRG_TOOLS_CORE_API #endif
139
1,007
/* * Copyright (C) 2021 ByteDance 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...
3,008
2,180
<filename>kafka-manager-common/src/main/java/com/xiaojukeji/kafka/manager/common/entity/vo/normal/consumer/ConsumerGroupDetailVO.java<gh_stars>1000+ package com.xiaojukeji.kafka.manager.common.entity.vo.normal.consumer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** * @au...
1,173
982
from logging import warning import numpy as np import pandas as pd from aif360.datasets import StructuredDataset from sklearn.preprocessing import MinMaxScaler class RegressionDataset(StructuredDataset): """Base class for regression datasets.""" def __init__(self, df, dep_var_name, protected_attribute_nam...
2,075
922
<gh_stars>100-1000 # Copyright (c) 2021 - present / Neuralmagic, 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 # ...
304
2,813
<reponame>fernandes-natanael/jabref package org.jabref.logic.pdf; import java.awt.geom.Rectangle2D; import java.io.IOException; import java.util.Objects; import org.jabref.architecture.AllowedToUseAwt; import org.apache.pdfbox.cos.COSArray; import org.apache.pdfbox.cos.COSFloat; import org.apache.pdfbox.cos.COSInteg...
1,391
9,734
// 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...
616
1,062
<reponame>larkov/MailTrackerBlocker // // Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57). // // Copyright (C) 1997-2019 <NAME>. // #import <MailFW/MFAccount.h> #import <MailFW/EDReceivingAccount-Protocol.h> #import <MailFW/MCActivityTarget-Protocol.h> #import <MailFW/MCMailA...
8,763
375
<reponame>obrienben/openwayback package org.archive.wayback.resourceindex; import java.io.IOException; import java.util.List; import org.archive.format.gzip.zipnum.TimestampBestPickDedupIterator; import org.archive.format.gzip.zipnum.ZipNumCluster; import org.archive.format.gzip.zipnum.ZipNumParams; import org.archiv...
1,322
1,768
// Copyright (c) 2012 <NAME>. All rights reserved. package tlc2.tool.fp; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.rmi.RemoteException; import org.junit.Test; import tlc2.tool.TLCState; import tlc2.tool.TLCTrace; import tlc2.tool....
1,721
518
{ "name": "Active Campaign", "category": "Marketing & Analytics", "start_url": "http://www.activecampaign.com/login/", "icons": [ { "src": "https://cdn.filestackcontent.com/hjsKmsPR7mOFSvPQdzqr", "platform": "browserx" } ], "theme_color": "#255EAF", "scope": "http://www.activecampaign....
200
543
// automatically generated by the FlatBuffers compiler, do not modify package com.riiablo.net.packet.bnls; import java.nio.*; import java.lang.*; import java.util.*; import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class QueryRealms extends Table { public static void ValidateVersion() { Co...
968
679
<filename>main/slideshow/source/inc/shapemanager.hxx<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 informatio...
1,620
665
<reponame>opencirclesolutions/isis<filename>core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/ObjectTypeFacetFactory.java<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 f...
762
435
""" gizeh/__init__.py """ # __all__ = [] from .gizeh import * from .geometry import * from .version import __version__
45
4,283
<reponame>software-is-art/hazelcast /* * Copyright 2021 Hazelcast Inc. * * Licensed under the Hazelcast Community License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://hazelcast.com/hazelcast-community-license * * Unless...
2,826
28,814
<reponame>tangoblast817/zxing /* * Copyright (C) 2008 ZXing 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 req...
1,890
310
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
1,293
1,639
public interface IThing { void doAThing(); }
16
726
package org.landy.chain.responsibility.demo2; import org.landy.chain.responsibility.demo2.domain.Request; import org.landy.chain.responsibility.demo2.domain.Response; import java.util.ArrayList; import java.util.List; /** * @author landyl * @create 2:16 PM 05/12/2018 */ public class FilterChain implements Filter ...
444
746
package io.openlineage.client; import static io.openlineage.client.TypeResolver.titleCase; import static javax.lang.model.element.Modifier.ABSTRACT; import static javax.lang.model.element.Modifier.FINAL; import static javax.lang.model.element.Modifier.PRIVATE; import static javax.lang.model.element.Modifier.PUBLIC; im...
8,257
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. #ifndef SERVICES_DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_ACCELEROMETER_MAC_H_ #define SERVICES_DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_ACCELEROMETER_MAC_H_ #...
562
2,816
<gh_stars>1000+ #include "duckdb/function/scalar/nested_functions.hpp" #include "duckdb/function/aggregate/nested_functions.hpp" #include "duckdb/planner/expression/bound_aggregate_expression.hpp" #include "duckdb/common/pair.hpp" #include "duckdb/planner/expression/bound_function_expression.hpp" #include "duckdb/commo...
4,953
365
import math import torch # Through the masking variable we have access to the following variables/statistics. ''' Access to optimizer: masking.optimizer Access to momentum/Adam update: masking.get_momentum_for_weight(weight) Accessable global statistics: Layer statistics: Non...
1,909
697
<reponame>clinuxrulz/sodium package chapter4.section11; import pump.*; import chapter4.section4.LifeCycle; import chapter4.section4.LifeCycle.End; import chapter4.section6.AccumulatePulsesPump; import chapter4.section7.Fill; import chapter4.section7.ShowDollarsPump; import chapter4.section8.NotifyPointOfSale; import c...
1,266
4,057
# -*- coding: utf-8 -*- import sys from django.core.management.base import LabelCommand from django.template import TemplateDoesNotExist, loader from django_extensions.management.utils import signalcommand class Command(LabelCommand): help = "Finds the location of the given template by resolving its path" a...
252
2,496
<gh_stars>1000+ /** * Copyright (c) 2006-2021 LOVE Development Team * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for ...
543
369
[ { "id": 1, "name": "Driwwwle", "image": "https://imgur.com/kbGs6zH.png", "description": "A platform for web developers to showcase their projects", "tags": ["next", "node", "mongodb", "tailwind", "react-query"], "source_code": "https://github.com/itsnitinr/driwwwle-v2", "demo": "https://...
547
11,545
#define REDISMODULE_EXPERIMENTAL_API #include "redismodule.h" #include <strings.h> #include <assert.h> #include <unistd.h> #include <errno.h> #define UNUSED(V) ((void) V) /* A sample movable keys command that returns a list of all * arguments that follow a KEY argument, i.e. */ int getkeys_command(RedisModuleCtx *...
1,706
428
<reponame>cping/LGame<filename>Java/old/OpenGL-1.0(old_ver)/Loon-backend-Android/src/loon/core/geom/Polygon.java<gh_stars>100-1000 /** * * Copyright 2008 - 2011 * * 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 ...
2,597
30,785
<reponame>mazhidong/jadx package jadx.tests.integration.types; import org.junit.jupiter.api.Test; import jadx.NotYetImplemented; import jadx.core.dex.nodes.ClassNode; import jadx.tests.api.IntegrationTest; import static jadx.tests.api.utils.JadxMatchers.containsOne; import static org.hamcrest.MatcherAssert.assertTha...
534
711
package io.apiman.gateway.engine.policies.util; import io.apiman.gateway.engine.beans.ApiRequest; import io.apiman.gateway.engine.beans.PolicyFailure; import io.apiman.gateway.engine.beans.PolicyFailureType; import io.apiman.gateway.engine.components.ILdapComponent; import io.apiman.gateway.engine.components.IPolicyFa...
3,520
1,968
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: <EMAIL> // ///////////////////////////////////////...
373
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Paris","circ":"2ème circonscription","dpt":"Paris","inscrits":71740,"abs":27195,"votants":44545,"blancs":275,"nuls":111,"exp":44159,"res":[{"nuance":"REM","nom":"<NAME>","voix":18463},{"nuance":"LR","nom":"Mme <NAME>","voix":8007},{"nuance":"DVD","nom":"<NAME>","voix":40...
502
5,169
{ "name": "TGLStackedViewController", "version": "2.1.2", "license": "MIT", "summary": "A stacked view layout with gesture-based reordering using a UICollectionView -- inspired by Passbook and Reminders apps.", "homepage": "https://github.com/gleue/TGLStackedViewController", "authors": { "<NAME>": "<EMA...
211
575
// 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/html/media/html_media_element.h" #include <algorithm> #include <memory> #include "testing/gmock/include/gmock/...
8,163
5,169
<reponame>Ray0218/Specs<filename>Specs/CircleProgressView/1.0.8/CircleProgressView.podspec.json { "name": "CircleProgressView", "version": "1.0.8", "license": "MIT", "summary": "CircleProgressView", "homepage": "https://github.com/CardinalNow/iOS-CircleProgressView", "authors": { "<NAME>": "<EMAIL>" }...
225
344
<reponame>microsoft/archai # Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import argparse from typing import Dict, List, Type, Iterator, Tuple import glob import os import pathlib from collections import OrderedDict import yaml from inspect import getsourcefile import re from ru...
7,436
861
<filename>spring-cloud-gray-server/src/main/java/cn/springcloud/gray/server/module/audit/OperateAuditModule.java package cn.springcloud.gray.server.module.audit; import cn.springcloud.gray.server.module.audit.domain.OperateQuery; import cn.springcloud.gray.server.module.audit.domain.OperateRecord; import org.springfra...
180
1,014
package com.github.neuralnetworks.training.backpropagation; import com.github.neuralnetworks.calculation.ConnectionCalculator; import com.github.neuralnetworks.tensor.ValuesProvider; public interface BackPropagationConnectionCalculator extends ConnectionCalculator { public ValuesProvider getActivations(); public vo...
98
358
#pragma once #include <QCheckBox> #include <agz/editor/texture2d/texture2d.h> #include <agz/tracer/core/material.h> AGZ_EDITOR_BEGIN class NormalMapWidget : public QWidget { Q_OBJECT public: struct InitData { bool apply_normal_map = false; Texture2DSlot *normal_map = nullptr; }; ...
341
348
<gh_stars>100-1000 /* * Copyright (c) 2015-2020, www.dibo.ltd (<EMAIL>). * <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> * https://www.apache.org/licenses/LICENSE-2.0 * <p> ...
6,304
4,012
/* * Copyright (c) 2021, 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 law ...
898
511
/* **************************************************************** * * Copyright 2014 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 License at * ...
2,502
1,444
<filename>Mage.Tests/src/test/java/org/mage/test/cards/copy/HelmOfTheHostTest.java package org.mage.test.cards.copy; import mage.constants.PhaseStep; import mage.constants.Zone; import mage.counters.CounterType; import org.junit.Test; import org.mage.test.serverside.base.CardTestPlayerBase; /** * * @author LevelX2...
822
1,178
# Copyright 2020 Makani Technologies LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
975
1,514
<reponame>tris790/SDL_mixer /******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED ...
5,669
26,901
<reponame>lff0305/apollo /* * Copyright 2021 Apollo 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 appl...
374
2,338
// RUN: %check_clang_tidy %s cppcoreguidelines-narrowing-conversions %t \ // RUN: -- -- -target x86_64-unknown-linux -funsigned-char void narrow_integer_to_unsigned_integer_is_ok() { signed char sc; short s; int i; long l; long long ll; char c; unsigned short us; unsigned int ui; unsigned long ul; ...
1,113
319
package org.openimaj.processing; import java.util.ArrayList; import java.util.List; import org.openimaj.image.MBFImage; import org.openimaj.image.processing.face.detection.DetectedFace; import org.openimaj.image.processing.face.detection.HaarCascadeDetector; import org.openimaj.image.processing.resize.ResizeProcessor...
1,740
2,151
<reponame>zipated/src<filename>content/renderer/service_worker/service_worker_provider_context_unittest.cc // 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 "content/renderer/service_worker/servi...
11,672
332
package com.szmirren.vxApi.core.common; import java.io.File; import java.io.InputStream; import java.net.URL; import java.nio.file.Path; /** * 获取相应路径的工具 * * @author <a href="http://szmirren.com">Mirren</a> * */ public class PathUtil { /** * 判断是否在jar环境中运行 * * @return 是返回true */ publ...
835
370
<filename>toggle/src/main/java/com/github/angads25/toggle/interfaces/OnStateChangedListener.java<gh_stars>100-1000 /* * Copyright (C) 2018 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Lic...
410
2,859
<gh_stars>1000+ /* * FXGL - JavaFX Game Library. The MIT License (MIT). * Copyright (c) AlmasB (<EMAIL>). * See LICENSE for details. */ /** * @author <NAME> (<EMAIL>) */ module com.almasb.fxgl.test { requires javafx.graphics; requires org.junit.jupiter.api; exports com.almasb.fxgl.test; }
124
1,414
<gh_stars>1000+ #ifdef SMPCORE_CPP uint8 SMPcore::op_adc(uint8 x, uint8 y) { int r = x + y + regs.p.c; regs.p.n = r & 0x80; regs.p.v = ~(x ^ y) & (x ^ r) & 0x80; regs.p.h = (x ^ y ^ r) & 0x10; regs.p.z = (uint8)r == 0; regs.p.c = r > 0xff; return r; } uint8 SMPcore::op_and(uint8 x, uint8 y) { x &= y; ...
1,331
1,443
<reponame>cssence/mit-license { "copyright": "<NAME>, http://www.yasyf.com", "url": "http://www.yasyf.com", "gravatar": true, "theme": "double-windsor" }
72
879
<reponame>qianfei11/zstack package org.zstack.network.service.virtualrouter.eip; import javax.persistence.metamodel.SingularAttribute; import javax.persistence.metamodel.StaticMetamodel; /** */ @StaticMetamodel(VirtualRouterEipRefVO.class) public class VirtualRouterEipRefVO_ { public static volatile SingularAttr...
163
14,668
// 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. #ifndef ASH_KEYBOARD_UI_KEYBOARD_LAYOUT_DELEGATE_H_ #define ASH_KEYBOARD_UI_KEYBOARD_LAYOUT_DELEGATE_H_ #include <stdint.h> #include "ash/keyboard/ui/ke...
427
2,637
<reponame>nateglims/amazon-freertos<gh_stars>1000+ /** * \file esp_evt.c * \brief Event helper functions */ /* * Copyright (c) 2018 <NAME> * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Soft...
4,425
4,071
/* Copyright (C) 2016-2018 Alibaba Group Holding Limited Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed ...
735
1,431
/* ==================================================================== 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...
1,087
404
<reponame>jmcarcell/django-plotly-dash<gh_stars>100-1000 ''' Test demo appliction Most of these tests are simply the loading of the individual files that constitute the demo. A configuration failure would cause one or more of these to fail. Copyright (c) 2018 <NAME> and others - see CONTRIBUTIONS.md Permission is he...
987
412
<reponame>dave1667/graphd /* Copyright 2015 Google Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicab...
2,383
32,544
<reponame>DBatOWL/tutorials package com.baeldung.application.repositories; import com.baeldung.application.entities.User; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import org.springframework.web.bind.annotation.CrossOrigin; @Repository public interfac...
119
12,252
<gh_stars>1000+ /* * Copyright 2017 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
2,536
2,673
#!/usr/bin/env python3 import unittest import torch from gpytorch.optim import NGD from gpytorch.test.base_test_case import BaseTestCase class TestNGD(unittest.TestCase, BaseTestCase): def test_ngd_step_no_groups(self): parameters = [ torch.nn.Parameter(torch.tensor(2.5)), torch...
696
1,483
/* * Copyright Lealone Database Group. * Licensed under the Server Side Public License, v 1. * Initial Developer: zhh */ package org.lealone.storage; import java.nio.ByteBuffer; import java.util.Map; import java.util.Set; import org.lealone.common.exceptions.DbException; import org.lealone.db.IDatabase; import or...
614
1,208
// // TLMobileContactHelper.h // TLChat // // Created by 李伯坤 on 2018/1/9. // Copyright © 2018年 李伯坤. All rights reserved. // #import <Foundation/Foundation.h> #import "TLMobileContactModel.h" @interface TLMobileContactHelper : NSObject /** * 获取通讯录好友 * * @param success 获取成功,异步返回(通讯录列表,格式化的通讯录列表,格式化的通讯录列表组标题) ...
307
4,268
<reponame>wenq1/duktape /* * Test error .fileName / .lineNumber blaming. * * Try to cover all the C code paths. Must test with and without tracebacks * separately, as the code paths are different. */ /*=== *** test_empty_1 (duk_safe_call) dummy_source.js 4 final top: 1 ==> rc=0, result='undefined' *** test_em...
7,117
335
{ "word": "Wooden", "definitions": [ "Made of wood.", "Like or characteristic of wood.", "Stiff and awkward in movement or manner." ], "parts-of-speech": "Adjective" }
90
1,167
/**************************************************************************** * Copyright (c) 2012 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
1,397
2,856
# Copyright 2021 by <NAME>. All rights reserved. # # This file is part of the Biopython distribution and governed by your # choice of the "Biopython License Agreement" or the "BSD 3-Clause License". # Please see the LICENSE file that should have been included as part of this # package. """Bio.Align support for output ...
4,350
965
CMap<int, int, CPoint, CPoint> myMap; // Add 10 elements to the map. for (int i = 0; i < 10; i++) myMap.SetAt(i, CPoint(i, i)); myMap.RemoveAll(); ASSERT(myMap.IsEmpty());
77
343
<gh_stars>100-1000 // Copyright 2012 Google 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 l...
3,892
6,989
<gh_stars>1000+ # copied from python-2.7.3's traceback.py # CHANGES: # - some_str is replaced, trying to create unicode strings # from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import types from six import text_type ...
1,202
542
<gh_stars>100-1000 from decimal import Decimal from unittest import TestCase from hummingbot.connector.exchange.huobi.huobi_in_flight_order import HuobiInFlightOrder from hummingbot.core.data_type.common import OrderType, TradeType class HuobiInFlightOrderTests(TestCase): def setUp(self): super().setUp(...
5,218
563
#include "useless_static_lib2.h" #pragma warning(push) #pragma warning(disable: 4668) #pragma warning(disable: 4710) #pragma warning(disable: 4711) #include <iostream> #pragma warning(pop) namespace StaticLib2 { void UselessMethod() { std::cout << "- Useless in fact!" << std::endl; } }
132
1,338
/* * Copyright 2010, <NAME>, <EMAIL>. * Distributed under the terms of the MIT License. */ #ifndef TITLE_PLACEHOLDER_MAPPER_H #define TITLE_PLACEHOLDER_MAPPER_H #include "ActiveProcessInfo.h" #include "PatternEvaluator.h" #include "ShellInfo.h" /*! Class mapping the placeholders common for window and tab titles....
618
1,526
<gh_stars>1000+ # coding=utf-8 import sys # £ class EvilObject(object): """ Wild cackles! I have come to confuse perplex your importer with rainbows! """ sys.modules[__name__] = EvilObject()
78