seed stringlengths 1 14k | source stringclasses 2 values |
|---|---|
this->m_instanceCreateInfo.pApplicationInfo = &this->m_appInfo;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*/
public $district_id;
/**
* @var string
* @SWG\Property(enum={"primary","secondary","post_secondary","university","never"})
*/
public $education_level;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
name="last_class_center",
shape=[1, self.num_class, channels],
dtype=tf.float32,
initializer=tf.keras.initializers.GlorotUniform(),
trainable=False,
)
def call(self, inputs, training=None):
inputs, label = inputs
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for|for
control|(
name|JsonWebKey
name|key
range|:
name|keys
control|)
block|{
name|List
argument_list|<
name|KeyOperation
argument_list|>
name|ops
init|=
name|key
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using VoteKit.Data.Models;
namespace VoteKit.Api;
public record Config(string BasePath, Guid EmptyGuid);
public partial class Query
{
public string Echo(string input) => input;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
interface ActionInfoWithText {
name: 'withText' | 'withExactText' | 'withValue' | 'withPlaceholder';
text: string;
}
interface ActionInfoWithIndex {
name: 'nth';
index: number;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
git tag -d v0.9
#然后,从远程删除。删除命令也是push
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public string GetConfiguration(string key);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# DATE CREATED : May 28, 2020
#
# Copyright 2020, California Institute of Technology.
# ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged.
# ===============================================================================
import sys
import os
| ise-uiuc/Magicoder-OSS-Instruct-75K |
SnipExtension().run()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
file_out=${file/.mp4/_cut.mp4}
if [[ -z "$duration" ]]
then
duration_cmd=""
else
duration_cmd="-t $duration"
fi
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>saltaf07/Public-Scripts
export { EditProfile } from './EditProfile';
| ise-uiuc/Magicoder-OSS-Instruct-75K |
o_dir = "LunarLander-v2/{}/models".format(timestamp)
if not os.path.exists(o_dir):
os.makedirs(o_dir)
nof_episodes = 500
# 8 values in [0, 1]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
operations = [
migrations.CreateModel(
name='Tenant',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('firstName', models.CharField(max_length=100)),
('lastName', models.CharField(max_length=100)),
('email', models.CharField(max_length=255)),
('password', models.CharField(max_length=20)),
('place', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='Properties.Property')),
('pm', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='PropertyManagers.PropertyManager')),
],
| ise-uiuc/Magicoder-OSS-Instruct-75K |
AdminList.getEntry(uuid)
.setCustomLoginMessage(""); // Set the custom login message to the value.
AdminList.save(AdminList.getEntry(
uuid)); // Save the modified value to the super admin configuration.
AdminList.updateIndexLists(); // Update and refresh configuration.
return true;
} else {
return false;
}
} else if (args.length >= 2) {
if ("setlogin".equalsIgnoreCase(args[0])) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
nodes.set_edgecolor('black')
networkx.draw_networkx_labels(self._graph, pos=pos, ax=ax, font_size=8)
networkx.draw_networkx_edge_labels(self._graph, pos=pos, edge_labels=edge_lable, ax=ax)
ax.set_xticks([])
ax.set_yticks([])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
nodeHtmls.Add(new HtmlString(", "));
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if [[ $currentShell == 'bash' ]]; then
echo ${FUNCNAME[1]}
elif [[ $currentShell == 'zsh' ]]; then
echo ${funcstack[2]}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .segmented_replay_buffer import SegmentedReplayBuffer
| ise-uiuc/Magicoder-OSS-Instruct-75K |
globalHeaders: (_queryConfig): GlobalHeadersType[] => [
{
header: sourceTrackingHeaderName,
value: `${packageInfo.name};${packageInfo.version}`,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
name = 'reservierung'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
this.input.setText("");
this.output.setText("" + out);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def extract_some(infile, outfile):
f = open(infile, 'r')
out_f = open(outfile, 'w')
out_f.write("Start\tStop\tStrand\tNumber of Genes\tGenes\n")
line = f.readline()
pat = re.compile(r'\-')
while True:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from __future__ import unicode_literals
from tipi import tipi as _tipi
tipi = lambda s: _tipi(s, lang='fr')
def test_double_quotes():
assert tipi('''"brutal" "quote's"''') == (
'''«brutal» «quote's»'''
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
setup_log)
if __name__ == "__main__":
sys.exit(main())
| ise-uiuc/Magicoder-OSS-Instruct-75K |
S1 = "abcdefghijklmnopqrstuvwxyz"
S2 = "cba"
map = {}
initial = 0
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// ---------------------------------------------------------------------------------------------------------------------
// PortStats
// ---------------------------------------------------------------------------------------------------------------------
#[derive(Debug, PartialEq)]
pub struct PortStats {
pub stats: Vec<PortStat>,
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#include "stdafx.h"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
serializer = UserCollectionSerializer(data={'username': 'user', 'password': '<PASSWORD>', 'is_admin': 'si'})
self.assertEquals(False, serializer.is_valid(), "Serialization invalid")
def test_deserialize_user_empty_user_should_give_error_invalid(self):
# We need to do import here in order generic patches work
serializer = UserCollectionSerializer(data={'username': '', 'password': '<PASSWORD>'})
self.assertEquals(False, serializer.is_valid(), "Serialization invalid")
self.assertEquals(u"invalid",
serializer.errors['username'][0],
'Invalid error message')
def test_deserialize_user_null_user_should_give_required_error(self):
# We need to do import here in order generic patches work
| ise-uiuc/Magicoder-OSS-Instruct-75K |
long_description_content_type="text/markdown",
url="https://github.com/grunichev/cbr",
author="<NAME>",
author_email="<EMAIL>",
license="MIT",
classifiers=[
| ise-uiuc/Magicoder-OSS-Instruct-75K |
global helvar
if helvar <= 2:
i01.mouth.speak("I'm fine thank you")
helvar += 1
elif helvar == 3:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ensure_directory_exists(full_path)
return full_path
def ensure_directory_exists(directory):
try:
os.makedirs(directory)
except OSError as error:
if error.errno != errno.EEXIST:
raise
def download_segments(playlist, destination_path, new_key):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public mutating func set(_ json: SelfDescribingJSON, forKey key: PropertyKey) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# it should be available in centos docker repo
yumdownloader --resolve --destdir="$outdir" docker-ce-17.03.2.ce libtool-ltdl docker-ce-selinux
yumdownloader --resolve --destdir="$outdir" dnsmasq icewm firefox tigervnc-server perl*
createrepo "$outdir"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if isGLSL(slVersion):
# GLSL source code is directly inlined for runtime-compilation
| ise-uiuc/Magicoder-OSS-Instruct-75K |
func test_invalidDataButValidResponse() {
guard let urlRequest = try? DBURLRequestBuilder(with: URL(string: mockObject.urlString))
.set(method: HTTPMethod.get)
.set(timeoutInterval: mockObject.testTimeout)
.set(headers: mockObject.defaultHeaders)
.build()
else { fatalError("Building URLRequest failed") }
// when invalid data but valid response
URLProtocolMock.testURLs[URL(string: mockObject.urlString)] = Data("{{}".utf8)
URLProtocolMock.response = mockObject.validResponse
let publisher: AnyPublisher<Settings, Error> = apiRequest.getData(for: urlRequest)
let invalidTest = evalInvalidResponseTest(publisher: publisher)
wait(for: invalidTest.expectations, timeout: mockObject.testTimeout)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
value2 = 74.3
value4 = -100
print(f"O valor 1 é {round(value)} e o valor 2 {round(value2)}")
print(f"O valor 1 também é {int(value)}")
print(f"O valor absoluto de {value4} é {abs(value4)}")
print(3//2) | ise-uiuc/Magicoder-OSS-Instruct-75K |
{
private static int Point24Add = 0, Point24Minus = 2, Point24Multiply = 1, Point24Divided = 3;
private static double MiniGap = 0.0000001f;
public bool JudgePoint24(int[] nums)
{
List<double> list = new List<double>();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Str::deleteUnnecessarySpaces($tester->getDisplay())
);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
interface GlobalHeaderProps {
/** 当前Layout菜单数据 */
layoutMenuData: LayoutMenuData;
// ----------------------------------------------------------------------------------- 自定义渲染逻辑
/** 左侧区域class样式 */
leftClassName?: string;
/** 左侧区域样式 */
leftStyle?: CSSProperties;
/** 中间动态宽度区域class样式 */
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* 3. The _document_'s browsing context is `null`.
* 4. The _document_ is not fully active.
* 5. The _document_ is hidden.
* 6. The request was aborted.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
carma_process, get_ar_roots
from samplers import MCMCSample
| ise-uiuc/Magicoder-OSS-Instruct-75K |
('VideoPath', models.FileField(null=True, upload_to=summarize.models.user_directory_path, validators=[summarize.models.file_size], verbose_name='')),
('Name', models.CharField(max_length=400)),
('UserID', models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
migrations.CreateModel(
name='SplitSpeech',
fields=[
('SplitID', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to='summarize.Split')),
('SpeechPath', models.TextField()),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
/// Save the account state on drop.
pub fn dropsave(mut self, value: bool) -> Self {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class Graph_Process:
def __path_cutext2(self,pathkun):
pathkun22, extkun = os.path.splitext(os.path.basename(pathkun))
return pathkun22
def __init__(self,filename):
self.filename=filename
self.path_ONLY=self.__path_cutext2(filename)
def process(self,Facearray):
Instance2_graph = Graphmod.DrawGraphs(self.path_ONLY)
return Instance2_graph.DrawEmotion(Facearray)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
A viccek nagy része a https://viccfaktor.hu/cimke/programozo-viccek/ weboldalról és a https://gremmedia.hu/programozo-viccek weboldalról származik
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getObservacao() {
return observacao;
}
public void setObservacao(String observacao) {
this.observacao = observacao;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/**
* @param url Url path for get request
* @param request Request for the post body
* @template TRequest Describes the type for the json request
* @template TResponse Describes the type for the json response
| ise-uiuc/Magicoder-OSS-Instruct-75K |
hospital = Hospital.query.filter_by(name=name).first()
print("This will be either a name or None: ", hospital)
#add new hospital if hospital not found in db
if hospital == None:
hospital = Hospital(name=name, address=address, city=city,
state=state, zipcode=zipcode,
phone_number=phone_num)
db.session.add(hospital)
db.session.commit()
print("Committed hospital: ", hospital)
hospital = Hospital.query.filter_by(name=name).first()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>1-10
namespace Topshelf.DryIoc.Sample
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/// A rectangular region of an image, not necessarily axis-aligned.
public struct OrientedBoundingBox: Differentiable {
/// The pose of the region's center within the image.
///
/// The translation component is in `(u, v)` coordinates as defined in `docs/ImageOperations.md`.
@differentiable
public var center: Pose2
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
use lazy_static::lazy_static;
use prometheus::*;
lazy_static! {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#include <sstream>
namespace phosphor
{
namespace smbios
{
std::string System::uUID(std::string value)
{
uint8_t* dataIn = storage;
dataIn = getSMBIOSTypePtr(dataIn, systemType);
if (dataIn != nullptr)
{
auto systemInfo = reinterpret_cast<struct SystemInfo*>(dataIn);
std::stringstream stream;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'hSRPT': (1, 1),
'hFifo': (3, 3),
'hHRRN': (9, 9),
'SRPT': (4, 4),
'PSJF': (5, 5),
'SJF': (5, 5),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* SVN用户-仓库信息类
* @author lpf7161
*
*/
public class SvnInfo {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Unless required by applicable law or agreed to in writing, software
| ise-uiuc/Magicoder-OSS-Instruct-75K |
interface ParallelProps {
shouldStart?: boolean
}
export const Parallel: React.SFC<ParallelProps> = ({ children, shouldStart = true }) => (
<RunnerHandler shouldStart={shouldStart} getRunner={animations => Animated.parallel(animations)}>
{children}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pass
| ise-uiuc/Magicoder-OSS-Instruct-75K |
flat_label = torch.tensor(flat_label)
branch_label = torch.tensor(branch_label)
pad = torch.tensor([-100] * (self.depth - branch_label.size(0)),dtype=torch.int64)
branch_label = torch.cat((branch_label,pad),0)
img = Image.fromarray(img.numpy().T, mode='L')
input = {'img': img, 'label': flat_label, 'branch_label': branch_label}
else:
img, label = self.img[index], torch.tensor(self.label[index])
img = Image.fromarray(img.numpy().T, mode='L')
input = {'img': img, 'label': label}
if self.transform is not None:
input = self.transform(input)
return input
| ise-uiuc/Magicoder-OSS-Instruct-75K |
split = 0.3
breast_cancer_dataset_train, breast_cancer_dataset_test = train_test_split(breast_cancer_dataset, test_size=split)
X_train, Y_train = breast_cancer_dataset_train.drop(columns='label'), breast_cancer_dataset_train['label']
X_test, Y_test = breast_cancer_dataset_test.drop(columns='label'), breast_cancer_dataset_test['label']
# Train a simple decision tree model and then save it using pickle
from sklearn import tree
model = tree.DecisionTreeClassifier(criterion ="entropy", max_depth = 5).fit(X_train,Y_train)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ret_val1 = True
for key in kwargs:
if key in common_key_list:
st.log("Match: Match key {} found => {} : {}".format(key,kwargs[key],rlist[key]))
else:
for key in kwargs:
if key in common_key_list:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#
# Author: <NAME> (stephen_fewer[at]harmonysecurity[dot]com)
#=============================================================================#
import os, sys, time
from subprocess import Popen
from struct import pack
#=============================================================================#
def clean( dir="./bin/" ):
for root, dirs, files in os.walk( dir ):
for name in files:
if name[-4:] == ".bin":
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for s in strings:
counts[s] += 1
print(counts) | ise-uiuc/Magicoder-OSS-Instruct-75K |
//! ).unwrap();
//!
//! // for correct axis, you have to set them yourself,
//! // since the histograms do not even need to be numeric
//! let x_axis = GnuplotAxis::new(0.0, 10.0, 6);
//! let y_axis = GnuplotAxis::new(10.0, 20.0, 6);
//! settings.x_axis(x_axis)
//! .y_axis(y_axis)
//! // you can also change the color space, if you like
//! .palette(GnuplotPalette::PresetRGB);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// 封禁状态
const closure = 2;
// 警告状态
const warning = 3;
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
smsConsent?: boolean;
streetAddress?: string;
city?: string;
state?: string;
zip?: string;
housing?: string;
email?: string;
dateOfIntake?: string;
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
admin.site.register(DocumentReferencesType_model)
admin.site.register(DocumentTitleType_model)
admin.site.register(DocumentTrackingType_model)
admin.site.register(DocumentTypeType_model)
admin.site.register(EngineType_model)
admin.site.register(EntitlementType_model)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* @author vzamylin
* @version 1
* @since 28.02.2018
*/
package ru.job4j.array; | ise-uiuc/Magicoder-OSS-Instruct-75K |
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{ //Hemos llegado al centro de la casilla
transform.position = target;
path.Pop();
}
}
protected void CalculateHeading(Vector3 target)
{
heading = target - transform.position;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
s = "\n\nEpoch: {}".format(epoch)
print(s)
log_str += s + "\n"
temptime = time.time()
s = "Data steps: {} | Tot running time: {}"
s = s.format(steps_seen,temptime-starttime)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# decode all the camera-specific MakerNote formats
# Note is the data that comprises this MakerNote. The MakerNote will
# likely have pointers in it that point to other parts of the file. We'll
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'ModbusServerContext',
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# please change it too in README.md
# DOC_README_0
import nevergrad as ng
def fake_training(learning_rate: float, batch_size: int, architecture: str) -> float:
# optimal for learning_rate=0.2, batch_size=4, architecture="conv"
return (learning_rate - 0.2) ** 2 + (batch_size - 4) ** 2 + (0 if architecture == "conv" else 10)
# Instrumentation class is used for functions with multiple inputs
# (positional and/or keywords)
parametrization = ng.p.Instrumentation(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Pass the selected object to the new view controller.
}
*/
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
audioSource.Play();
isPlaying = true;
try
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"secp256k1_implementation"
]
)
],
targets: [
.target(
name: "secp256k1_bindings",
path: "Sources/bindings",
exclude: [
"secp256k1/src/asm",
"secp256k1/src/bench_ecdh.c",
"secp256k1/src/bench_ecmult.c",
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for i in range(self.snippet_lines_increment):
_eof_buffer.append(_buffer.popleft())
# yield full buffer snippet
if len(_buffer) == self.snippet_lines_coverage:
yield self._buffer_snippet(_buffer, _end)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
stroke-linejoin=self.props.stroke_linejoin.unwrap_or("round")
>
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><path d="M0,0h24v24H0V0z" fill="none"/></g><g><path d="M20,4H4C2.89,4,2.01,4.89,2.01,6L2,18c0,1.11,0.89,2,2,2h16c1.11,0,2-0.89,2-2V6C22,4.89,21.11,4,20,4z M11,10H8v1h3 c0.55,0,1,0.45,1,1v3c0,0.55-0.45,1-1,1h-1v0c0,0.55-0.45,1-1,1h0c-0.55,0-1-0.45-1-1v0H7c-0.55,0-1-0.45-1-1v0c0-0.55,0.45-1,1-1 h3v-1H7c-0.55,0-1-0.45-1-1V9c0-0.55,0.45-1,1-1h1v0c0-0.55,0.45-1,1-1h0c0.55,0,1,0.45,1,1v0h1c0.55,0,1,0.45,1,1v0 C12,9.55,11.55,10,11,10z M15.65,15.9L14,14.25h4l-1.65,1.65C16.16,16.09,15.84,16.09,15.65,15.9z M14,10l1.65-1.65 c0.2-0.2,0.51-0.2,0.71,0L18,10H14z"/></g></svg>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class Migration(migrations.Migration):
dependencies = [
('destinations', '0036_extradestinationpicture_extraeventpicture'),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use thiserror::Error as DeriveError;
pub use tonic::{Code, Status};
#[derive(Debug, DeriveError)]
pub enum ClientError {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# ------------------------------------------
### DEPENDENCIES
# ------------------------------------------
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Ray ray;
ray.origin = origin;
ray.dir = Normalize( vec );
ray.pos = ray.origin + ray.dir * nearPlane;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for el in self._orig:
el.flush()
sys.stdout, sys.stderr = self._orig
for i, orig_fileno in enumerate(self._orig_fileno):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* <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; either version 2
* of the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
| ise-uiuc/Magicoder-OSS-Instruct-75K |
hessianThreshold = 0.03
minFeatureScales = 3
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sys.exit(1)
server = tornado.httpserver.HTTPServer(self.application,
xheaders=True,
ssl_options=self.ssl_options)
if self.options.proc is None:
proc = self.conf.get_int_option('setting', 'processes', default=0)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from openstackx.api import exceptions as api_exceptions
TerminateInstance = dash_instances.TerminateInstance
RebootInstance = dash_instances.RebootInstance
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@property
def is_unique(self):
return self.solve_smart(test_unique=True)
def _reset_random_node(self):
random.choice(self.nodes).value = 0
return True
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/bin/bash
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from django.db import migrations, models
from django.utils.timezone import utc
| ise-uiuc/Magicoder-OSS-Instruct-75K |
nums = [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1]#两个数组,从高到低
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pub mod frame;
pub mod free_list;
pub use allocator::{Allocator, AllocatorError};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
interface EducationClass {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if option in 'nN':
break
else:
counter += 1
print(f'{"N°":<4} {"NOME":<7} {"MÉDIA":>8}')
print('---------------------')
for number, student in enumerate(studentGrade):
print(f'{number:<5}', end='')
print(f'{student[0]:<7}', end='')
media = sum(student[1]) / 2
print(f'{media:>8.1f}')
print('---------------------')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
/// Assigns "Called a deep function" to phrase and test the value afterwards
#[test]
pub fn hello4() {
env_setup();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>1-10
# main.py
from preprocess import preprocess
from decision_tree import decision_tree
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* @see SubmitDataRequest
*/
public function getRequestData() {
$this->setValue(array('x' => $_REQUEST['x'], 'y' => $_REQUEST['y']));
}
/**
* @see Requestable
*/
public function RequestHandle() {
$this->OnEvent();
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
duration_ns
};
eprintln!("{} ns : {}", duration_ns, name);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.