content stringlengths 10 4.9M |
|---|
/* x_liris.x -- translated by f2c (version 19990503).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Common Block Declarations */
struct {
logical xerflg, xerpad[84];
} xercom_;
#define xercom_1 xercom_
/* Table of constant values */
static i... |
def _write_datetime(value):
if value.utcoffset() is None:
raise ValueError("Expected datetime with time zone")
return value.isoformat() |
/**
****************************************************************************************
* @brief Find the array index for a given message id.
* @param[in] msg_util_id The message id
* @return Returns the index in the callback array
******************************************************************************... |
/**
* A TokenSpec object represents a possible TLA+ symbol name together
* with the position of that symbol. Note that the
* expression Foo(a, b)!Bar(c) may be an occurrence of the symbol
* named "Foo!Bar", whose left position is at the "F" and whose right
* position is just after the "r" (and hence, at the ... |
//////////////////////////////////////////////////////////////////////////
// Class Name: SItemPanel
// Description: A Framework wrapping frame to be used in a swindow.
// Creator: <NAME>
// Version: 2011.10.20 - 1.0 - Create
//////////////////////////////////////////////////////////////////////////
#... |
def defined(transit_key, vault_client):
resource_uri = '%s/transit/keys/%s' %(vault_client.base_endpoint, transit_key)
response = requests.get(resource_uri, headers=vault_client.token_header)
try:
response.raise_for_status()
return True
except HTTPError:
... |
/**
* Creates a {@link org.apache.accumulo.core.client.BatchWriter} for the
* specified table
* <p>
*
* @param store the accumulo store
* @param tableName the table name
* @return A new BatchWriter with the settings defined in the
* gaffer.accumulostore properties
* @thr... |
def docs(session: nox.Session) -> None:
args: argparse.Namespace = parse_session_posargs(session.posargs)
docs_version: str = args.version.pop()
docs_alias: str = "latest"
index_html: bool = args.index_html
ver_regex: re.Pattern = re.compile(
r"^(?P<tag>v?)"
r"(?P<major>[0-9]+)\."
... |
package name.pjmbox.jfx.starter;
import java.io.InputStream;
import org.springframework.boot.SpringApplication;
import org.springframework.context.ConfigurableApplicationContext;
import javafx.application.Application;
import javafx.application.Preloader.ProgressNotification;
import javafx.geometry.Rectangle2D;
impor... |
<filename>src/test/java/com/faforever/client/chat/ChatUserServiceTest.java<gh_stars>0
package com.faforever.client.chat;
import com.faforever.client.chat.avatar.AvatarBean;
import com.faforever.client.chat.avatar.AvatarService;
import com.faforever.client.clan.Clan;
import com.faforever.client.clan.ClanService;
import... |
raise Exception("TESS.py got replaced with PredictedTESS.py")
|
//
// Created by jemin on 10.08.16.
// you can store data in memory for logsNplots with gnuplot or sotre in file for logsNplots in matlab
//
#ifndef RAI_DATA_LOGGER_HPP
#define RAI_DATA_LOGGER_HPP
#include <map>
#include <ctime>
#include <fstream>
#include <iomanip>
#include <limits.h>
#include <boost/filesystem.hpp>
... |
import opc, time, math, random, sys
from base import CubeLights
class FPSQueue(object):
def __init__(self, samples):
self.samples = samples
self.frames = [0] * samples
self.pos = 0
def RecordFrame(self, ts, pixel_count):
self.frames[self.pos] = ts
self.pos = (self.pos... |
"""
470. Implement Rand10() Using Rand7()
Given a function rand7 which generates a uniform random integer in the range 1 to 7, write a function rand10 which generates a uniform random integer in the range 1 to 10.
Do NOT use system's Math.random().
Example 1:
Input: 1
Output: [7]
Example 2:
Input: 2
Output: [8,4... |
Intergenic Spacer-RFLP Analysis and Direct Quantification of Australian Fusarium oxysporum f. sp. vasinfectum Isolates from Soil and Infected Cotton Tissues.
Fusarium wilt of cotton, caused by Fusarium oxysporum f. sp. vasinfectum, can have devastating effects on the vascular system of cotton plants and is a major thr... |
By Garett Jones
We humans are a social species: we rely on each other to get things done. Whether it’s building a car, creating a happy marriage, or holding a potluck dinner at church, we usually need to cooperate in order to achieve the big successes in life.
Why is cooperation so hard? Because cooperating is often ... |
Photography and modern architecture: a distinctive narrative from Spain
Introduction In 1928, Le Corbusier was invited to the Residencia de Estudiantes in Madrid. His letter of acceptance ended with the postscript: ‘I am sending you some photos.’ In 1936, Richard Neutra’s secretary asked the Director of the avant-gard... |
BayesStore: Probabilistic Graphical Models as First Class Database Citizens Probabilistic Databases Seminar 2009
A method and system for controlling an electronic device uses a reading device and a specially formatted surface. The specially formatted surface includes a predefined address pattern and at least one field... |
/**
* A servlet that verifies a registrar's OTE status. Note that this is eventually consistent, so
* OT&E commands that have been run just previously to verification may not be picked up yet.
*/
@Action(
path = VerifyOteAction.PATH,
method = Action.Method.POST,
xsrfProtection = true,
xsrfScope =... |
/**
* Returns the specified number of parses or fewer for the specified tokens. <br>
* <b>Note:</b> The nodes within
* the returned parses are shared with other parses and therefore their parent node references will not be consistent
* with their child node reference. {@link #setParents setParents} can be ... |
/**
* Clean up of the unit test Note: clean up also tests the delete operation of the repository
*/
@After
public void destroyTestData() {
eventRepos.delete(testEventId);
assertNull("deleted test event still exists in the database", eventRepos.findOne(testEventId));
} |
Oncogenes and Tumor Suppressor Genes in Cutaneous Malignant Melanoma
when corrected for hair color, skin type and holidays in sunny resorts. The wavelength dependence of the other steps in carcinogenesis need elucidation. Preliminary data, using mice, indicate that sunscreens give less protection against UVB-induced i... |
<filename>testing/cmd/bankdemo/db.go
package main
import (
"bytes"
"fmt"
"sync"
"github.com/golang/protobuf/jsonpb"
"github.com/golang/protobuf/ptypes"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
)
// In-memory database that is periodically saved to a JSON file.
type accounts struct {
Acc... |
/**
* Fragment for showing tag details.
*/
public class TagDetailsFragment extends Fragment {
private static final String TAG = TagDetailsFragment.class.getSimpleName();
private final List<Subscription> subscriptions = new ArrayList<>();
private KnownTag knownTag;
private TagDetailsViewModel tagDetailsViewM... |
/**
* edma_resume - resumes dma on a paused channel
* @channel: on which edma_pause() has been called
*
* This re-enables EDMA hardware events on the specified channel.
*/
void edma_resume(unsigned channel)
{
unsigned ctlr;
ctlr = EDMA_CTLR(channel);
channel = EDMA_CHAN_SLOT(channel);
if (channel < edma_info[c... |
class BodyTypes:
""" Enum to represent the different body types """
Static = 0
Kinematic = 1
Dynamic = 2 |
<reponame>IT521/angular-web-components
/* eslint-disable */
/* tslint:disable */
/**
* This is an autogenerated file created by the Stencil compiler.
* It contains typing information for all components that exist in this project.
*/
import { HTMLStencilElement, JSXBase } from "@stencil/core/internal";
import { SIZE ... |
class _sage_doc:
"""
Open Sage documentation in a web browser, from either the
command-line or the notebook.
- Type "browse_sage_doc.DOCUMENT()" to open the named document --
for example, "browse_sage_doc.tutorial()" opens the tutorial.
Available documents are
- tutorial: the Sage tu... |
<reponame>po4yka/elementary-education-projects
#include "structLogger.h"
/* ----- STEP-BY-STEP ----- */
void StructLogger::loopLatency() {
qDebug() << "Loop latency for step-by-step STARTED" << endl;
for( ; ; ) {
QApplication::processEvents();
if(stepLoopSwitcher == false) break;
}
qDe... |
<filename>src/Qir/Runtime/lib/QIR/QubitManager.cpp<gh_stars>0
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "QubitManager.hpp"
#include "QirRuntime.hpp" // For quantum__rt__fail_cstr
#include <cstring> // For memcpy
namespace Microsoft
{
namespace Quantum
{
//
// ... |
/**
* Retrieve person info through MatchIt
*
* Returns (unofficial) person information, this method returns the best match from the query parameters served. The information is delievered by Matchit. Valid query parameter combinations: name + dateOfBirth, name + socialSec, name + address, phonenumber
... |
def format_input(self, *args, **kwargs):
input_type = kwargs.get('type', self.STR)
if input_type not in self.types:
raise InvalidInputType(input_type)
options = kwargs.get('options', None)
render_options = kwargs.get('render_options', True)
default = str(kwargs.get('d... |
#include <iostream>
#include <vector>
#include <limits>
int main()
{
int n;
std::cin >> n;
std::vector<long long> v(n);
for (int i = 0; i < n; ++i)
{
long long l;
std::cin >> l;
v[i] = l;
}
long long min = std::numeric_limits<long long>::max();
long long max = 0;
long long sum = 0;
for (auto l : v)
... |
A Supervised Classification of Children with Fragile X Syndrome and Controls Based on Kinematic and sEMG Parameters
Fragile X syndrome (FXS) is caused by pathologic expansions of the CGG repeat polymorphic region of the FMR1 gene. There are two main categories of FMR1 mutations, “premutation” and “full mutation”, that... |
Savers could be forced to pay inheritance tax while they are still alive, under a new drive against tax avoidance planned by the Government.
Ministers want to stop wealthy people benefiting from complicated schemes that allow them to dramatically reduce the amount they will owe after their death.
Under plans put out ... |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* vim: set ts=8 sts=2 et sw=2 tw=80:
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
... |
print('\033[33m-=-\033[m' * 20)
print('\033[33m************* Progressão aritmética(while) *************\033[m')
print('\033[33m-=-\033[m' * 20)
p = int(input('Insira o primeiro valor de uma PA: '))
r = int(input('Insira a razão da PA: '))
t = p
c = 1
while c <= 10:
print('{} →' .format(t), end=' ')
t += r
c... |
<gh_stars>0
{-# LANGUAGE RecordWildCards #-}
module FileDirectory where
import System.Directory(Permissions)
import Control.Monad.Cont (forM_)
import System.FilePath.Posix
import Data.List (isPrefixOf)
import Control.Monad.State (StateT)
import Control.Monad.Except (Except)
import qualified Data.ByteString.Char8 as B... |
package ch.fhnw.digibp.demo.process.service;
import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;
import org.slf4j.Logger;
import javax.inject.Named;
/**
* Created by andreas.martin on 17.04.2017.
*/
@Named
public class PublishTweetService implements JavaDel... |
<filename>src/java/fr/paris/lutece/portal/business/user/AdminUserDAO.java
/*
* Copyright (c) 2002-2019, <NAME>
* 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. Redistribut... |
def writeIsosurfaceMesh_povray(self, field, value, frame):
from string import Template
nodes = self.nodes[(field, value)]
elements = self.elements[(field, value)]
normals = self.normals[(field, value)]
normal_indices = self.normal_indices[(field, value)]
pov_filename = "{... |
/**
* Cures the poisoning with the given power rune.
*
* @param powerRune
* a power rune representing the strength of the cure. Can't be
* null.
*/
public void cure(final PowerRune powerRune) {
Validate.notNull(powerRune, "The given power rune is null");
this.strength = Math.max(0,... |
<filename>sec4/function/main.go
// Function, and function variatic
package main
import "fmt"
func main() {
a := 15.0
b := 9.0
o1 := "+"
o2 := "-"
o3 := "*"
o4 := "/"
// Call a function
fmt.Printf("%.2f %s %.2f = %.2f\n", a, o1, b, compute(a, o1, b))
fmt.Printf("%.2f %s %.2f = %.2f\n", a, o2, b, compute(a,... |
<gh_stars>0
import * as React from 'react';
// mui custom styling :
import { withStyles } from '@material-ui/core/styles';
import { Theme } from '@material-ui/core/styles';
import { StyleRulesCallback } from '@material-ui/core/';
import Fab from '@material-ui/core/Fab';
import CheckBox from '@material-ui/icons/CheckBox... |
Adam Cochrane
Israeli forces began a ground invasion of Gazalast night, Thursday. Tanks and infantry units crossed into northern Gaza, supported by heavy bombing.
They killed at least 11 Palestinians overnight, including one five month old baby, with the death toll rising to 27 by Friday afternoon.
The bulk of the G... |
Racing Dragons and Remembering Aliens: Benefits of Playing Number and Working Memory Games on Kindergartners' Numerical Knowledge.
Sources that contribute to variation in mathematical achievement include both numerical knowledge and general underlying cognitive processing abilities. The current study tested the benefi... |
/**
* Reset the board. All the cards are turned face-down and are
* shuffled. The undo stack and the number of moves are cleared.
*/
public void reset() {
for ( Card card : cards ) {
if ( card.isFaceUp() ) {
card.toggleFace( true );
}
}
Co... |
<filename>pkg/msgs/shape_msgs/package.go
//autogenerated:yes
//nolint:golint
// Package shape_msgs contains message definitions.
package shape_msgs
|
b = input()
n = len(b)
if len(b)<7 or '1' not in b:
print ('no')
else:
first = b.index('1')
print (('no','yes')[first < (n-6) and b[first+1:].count('0')>=6]) |
<filename>src/core/selection/helpers/move-the-node-along-the-edge-outward.ts
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2022 <NAME>. All rights reserved. https://xdsoft.net
*/
/**
* @module selection
*/
im... |
US price of EpiPen for allergic reactions skyrockets
By Brad Dixon
12 August 2016
The price of the EpiPen, relied on by millions to treat severe allergic reactions, has increased by 450 percent in the United States since 2004. The price surge has made it more difficult for patients to afford the potentially life-sav... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
String w = sc.nextLine().toUpperCase();
String t = sc.nextLine();
int w_count = 0;
while(!t.equals("END_OF_TEXT")){
String t_array[] = t.split(" ");
... |
<reponame>sawantaditi24/Competitive-Programming<filename>Interviewbit/Strings/MultiplyStrings.py
class Solution:
# @param A : string
# @param B : string
# @return a strings
def multiply(self, A, B):
return int(A) * int(B) |
// GetAPIConfig gets a mock API configuration from the disk.
func (mgr *Manager) GetAPIConfig(fileInfo os.FileInfo) (*APIConfig, error) {
dir := fileInfo.Name()
if !fileInfo.IsDir() || !isAPI(dir) {
return nil, errors.New("not a mock API directory")
}
apiConfig, err := mgr.getAPIConfigFromDir(dir)
if err != nil ... |
<reponame>zzh8829/OSPP
#ifndef _FONT_H_
#define _FONT_H_
#include "system.h"
#include "graphics.h"
extern uint32_t font_w, font_h;
extern uint32_t* font_glyph[128];
surface_t* font_render(char* str,color_t color);
void font_init();
#endif |
/**
* figure out if there is a read that covers the genotype even partially but
* rejects it
*
* @param genotypeID
* @return
*/
private boolean rejectedByARead(GenotypeID genotypeID)
{
for (MappedRead read : reads)
{
Set<GenotypeID> readGenotypes = read.getGenotypes();
if (read.contig.equals(gen... |
//+---------------------------------------------------------------------------
//
// Member: OnExitTree
//
// Synopsis: An adorned element is leaving the tree. Up to us to do the right thing here.
//
//----------------------------------------------------------------------------
HRESULT
CControlTracker::On... |
<gh_stars>1-10
# -*- coding: utf-8 -*-
import random
import base
from docker_registry.core import compat
json = compat.json
class TestImages(base.TestCase):
def test_unset_nginx_accel_redirect_layer(self):
image_id = self.gen_random_string()
layer_data = self.gen_random_string(1024)
se... |
/// Generates a number of scrambled 1D sample values using the Gray
/// code-based sampling machinery.
pub fn van_der_corput(
n_samples_per_pixel_sample: i32,
n_pixel_samples: i32,
samples: &mut [Float],
rng: &mut Rng,
) {
let scramble: u32 = rng.uniform_uint32();
let c_van_der_corput: [u32; 32]... |
// ParseLog parses ethereum log JSON
func ParseLog(data string, c *check.C) *types.Log {
var log = new(types.Log)
err := log.UnmarshalJSON([]byte(data))
c.Assert(err, check.IsNil)
return log
} |
// signedHTTPPost performs an HTTP post on behalf of Actor with the
// request-target, date, host and digest headers signed
// with the actor's private key.
func (a *Actor) signedHTTPPost(content map[string]interface{}, to string) (err error) {
b, err := json.Marshal(content)
if err != nil {
log.Info("Can't marshal... |
////////////////////////////////////////////////////////////////////////////////
// Method utility functions
////////////////////////////////////////////////////////////////////////////////
func (st *State) mustGetDeal(rt Runtime, dealID abi.DealID) *DealProposal {
proposals, err := AsDealProposalArray(adt.AsStore(rt)... |
import { IBuildedParamsCollection, IParamsResource } from '../interfaces';
import { Resource } from '../resource';
import { DocumentCollection } from '../document-collection';
export declare class Base {
static ParamsResource: IParamsResource;
static ParamsCollection: IBuildedParamsCollection;
static newCol... |
Interfacial properties for real rough MEMS/NEMS surfaces by incorporating the electrostatic and Casimir effects–a theoretical study
This paper studied the adhesive properties of real rough micro/nano‐electromechanical systems (MEMS/NEMS) surfaces by considering the electrostatic force and the Casimir force theoretical... |
def operator(self, name: str) -> "MockObj":
if name == "ref":
return MockObj(f"{self.base} &", "")
if name == "ptr":
return MockObj(f"{self.base} *", "")
if name == "const_ptr":
return MockObj(f"{self.base} *const", "")
if name == "const":
... |
Spread the love
On Thursday, the Virginia-based Treatment Advocacy Center, an organization dedicated to eliminating the barriers faced by those with severe mental illnesses, released a jaw-dropping report. In their report titled, Overlooked in the Undercounted: The Role of Mental Illness in Fatal Law Enforcement Encou... |
Rectus abdominis muscle strains in tennis players
Rectus abdominis muscle strains are common and debilitating injuries among competitive tennis players. Eccentric overload, followed by forced contraction of the non-dominant rectus abdominis during the cocking phase of the service motion is the accepted injury mechanis... |
/**
* Base class of for all Smithy model nodes.
*
* <p>When loading a Smithy model the data is loaded from the source model
* file into a tree of nodes. These nodes represent the unvalidated
* structure of the model document.
*/
public abstract class Node implements FromSourceLocation, ToNode {
private static... |
<gh_stars>0
// 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 ANDROID_WEBVIEW_BROWSER_GPU_MEMORY_BUFFER_IMPL_H_
#define ANDROID_WEBVIEW_BROWSER_GPU_MEMORY_BUFFER_IMPL_H_
#include "base/basictypes... |
import Axios from "axios";
import child_process from "child_process";
export async function fetchBuffer(Host: string, Header?: {[key: string]: string}): Promise<Buffer> {
let Headers = {...(Header||{})};
return await Axios.get(Host, {
headers: Headers,
responseEncoding: "binary",
responseType: "arraybu... |
#ifndef SENSOR_MANAGER_H_
#define SENSOR_MANAGER_H_
#include <ros/ros.h>
class SensorManager
{
public:
SensorManager(ros::NodeHandle& n, double hz);
~SensorManager(){};
void spin();
private:
double delta_t_;
double internal_timer_;
bool facing_obstacle_;
ros::Publisher bumper_publishe... |
// Copyright 2020 The searKing Author. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package resilience
//go:generate stringer -type TaskState -trimprefix=TaskState
//go:generate jsonenums -type TaskState
type TaskState int
const (
Task... |
#include "Window.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
Window::Window(int width, int height, std::string title) {
this->width = width;
this->height = height;
this->title = title;
this->game_start = false;
this->game_over = false;
this->game_restart = false;
window = createWi... |
This will probably cause some friction.
Sadie Robinson, 29, allegedly tried to burn down the Warrensburg, N.Y. apartment she shares with her boyfriend, Peter Moody, and their two children by placing a can of WD-40 lubricant in the oven at 400 degrees, WNYT reported.
Police say Robinson attempted to set the fire Monda... |
package carry;
import org.json.JSONObject;
public interface OnSuccessListener
{
public void onSuccess(JSONObject results);
}
|
package org.interonet.mercury.domain.ldm.pool;
import org.interonet.mercury.domain.ldm.task.LDMTaskReturn;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Future;
public class LDMTaskFuturePool {
Logger logger = LoggerFactory... |
/*
* Interrupt handler.
*
* This routine will call the corresponding ISR for the
* requested interrupt vector. HAL code must call this
* routine with scheduler locked.
*/
void
irq_handler(int vector)
{
struct irq *irq;
int rc;
irq = irq_table[vector];
if (irq == NULL) {
DPRINTF(("Random interrupt ignored\n"... |
/**
* A method to test that removal of a HistoryItem that isn't already in the list. This is an edge case test, which
* should just be ignored silently, but it's worth testing just to ensure no 'ugly' undesired behaviour occurs, such
* as exceptions being thrown.
*
* @throws Exception an except... |
// Rest API handle user-app termination call-back notification
func appTerminationNotificationCallback(w http.ResponseWriter, r *http.Request) {
var notification asc.AppTerminationNotification
decoder := json.NewDecoder(r.Body)
err := decoder.Decode(¬ification)
if err != nil {
log.Error(err.Error())
http.Err... |
/**
* 持久化 function 的 Hook
* 在某些场景中,你可能会需要用 useCallback 记住一个回调,
* 但由于内部函数必须经常重新创建,记忆效果不是很好,导致子组件重复 render。
* 对于超级复杂的子组件,重新渲染会对性能造成影响。通过 usePersistFn,可以保证函数地址永远不会变化。
*/
import { useCallback, useRef } from 'react';
export type noop = (...args: any[]) => any;
function usePersistFn<T extends noop>(fn: T) {
/**
*... |
def parse_oltpbench_data(results_dir):
env_metadata = _parse_jenkins_env_vars()
files_metadata, timestamp, benchmark_type, parameters, metrics = parse_oltpbench_files(
results_dir)
metadata = {**env_metadata, **files_metadata}
return metadata, timestamp, benchmark_type, parameters, metrics |
// work out the correct spelling to use in the Token object being created by new_token()
// the spelling is a valid token and kind is its kind
string correct_spelling(TokenKind kind,string spelling)
{
if(kind==tk_label){
return spelling.substr(1, spelling.length()-2);
}else{
... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Volumes/Personal/Documents/raspi-config/client-framework/build/j2oSources/com/google/common/xml/XmlEscapers.java
//
#include "J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_ComGoogleCommonXmlXmlEscapers")
#ifdef RESTRICT_ComGoogleCommonXmlXmlEsca... |
<reponame>gabrielklein/ESP-EFTCore<filename>src/module/MLedRGB.h
//
// This class is used to get current time.
//
#ifndef EFT_MLEDRGB_H
#define EFT_MLEDRGB_H
#include <Arduino.h>
#include <WiFiUdp.h>
#include <ESP8266WiFi.h>
#include "../comm/IComm.h"
#include "../comm/ServerUtil.h"
namespace eft {
class MLedRGB : p... |
# '''
# Created on Feb 2, 2014
#
# @author: Chris
#
# TODO:
# - test no argparse module
# - test argparse in main
# - test argparse in try/catch
# -
#
# '''
#
# import os
# import ast
# import unittest
# from gooey.python_bindings import source_parser
#
#
# basic_pyfile = \
# '''
# import o... |
#include <iostream>
using namespace std;
int raw,col,x,y,z;
int main()
{
int r=3,c=3;
int matrix[5][5];
for(int i=0; i<5 ; i++)
{
for(int j=0; j<5 ;j++)
{
cin>>matrix[i][j];
}
}
for(int i=0; i<5;i++)
{
for(int j=0 ; j<5 ;j++ )
... |
/******************************************************************************
This routine reads an entire GIF into core, hanging all its state info off
the GifFileType pointer. Call DGifOpenFileName() or DGifOpenFileHandle()
first to initialize I/O. Its inverse is EGifSpew().
***********************************... |
// StageBuilder.addStageShip() takes paths relative to the main stage file, but
// its working directory should be the same as the stage's.
// Example:
// * stages/my/game.lua calls addStageShip("gameship.lua")
// * BerryBots loads file from stages/my/gameship.lua
// * Ship's working directory is stages/, filenam... |
<gh_stars>0
package com.hzu.zao.fragments;
import com.hzu.zao.R;
import com.hzu.zao.presents.UserManagerFragPresent;
import com.hzu.zao.views.UserManagerFragView;
/**
* Function:
* Note:
* Created by <EMAIL> on 2017-11-30.
*/
public class UserManagerFragment extends BaseFrament {
protected static final Strin... |
def loadFile(self, filename='' , confirm=True):
xsi.OpenScene(filename, confirm)
return False |
/**
* Store details of the security link in the resolution cache. The link is assumed to be a record of the link to the object, for example is it held by strong (object id) or weak (external id)
* reference.
* <p>
* Securities are already resolved when the functions see the positions, so the logging target ... |
.
AIM
To substantiate administration of <<Perftoran>> for prevention of cerebral ischemia in operations on extracranial arteries.
MATERIAL AND METHODS
The present prospective randomized trial included a total of 50 patients having endured various operative interventions on extracranial arteries. Of these, 24 subject... |
<gh_stars>0
package com.example.r028367.navscheme.study.swipe;
import android.content.res.Configuration;
import android.support.annotation.Nullable;
import android.support.v4.app.ActionBarDrawerToggle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.vie... |
// Code generated by pigeon; DO NOT EDIT.
package parser
import (
"bytes"
"errors"
"fmt"
"io"
"io/ioutil"
"math"
"os"
"sort"
"strconv"
"strings"
"unicode"
"unicode/utf8"
"github.com/bytesparadise/libasciidoc/pkg/types"
)
var g = &grammar{
rules: []*rule{
{
name: "AsciidocDocument",
pos: posit... |
def format_call_str(*args: Any, **kwargs: Mapping[Any, Any]):
use_func_name = None
with suppress(KeyError):
use_func = kwargs.pop('_call_func')
if use_func is not None:
use_func_name = use_func.__qualname__
else:
kwargs.setdefault('_level', 3)
otherargs ... |
/**
* A view component used to display the {@link ExecutorView#history}
* information. History is displayed as {@link nextapp.echo2.app.Button}
* components which will reset the {@link ExecutorView#query} component.
*
* <p>© Copyright 2007 Sans Pareil Technologies, Inc.</p>
* @author Rakesh Vidyadharan 2007... |
////////////////////////////////////////////////////////////////////////////////
// An example based on solving matrices based on premade files.
#include <mpi.h>
#include <string>
using std::string;
#include <sstream>
using std::stringstream;
// NTPoly Headers
#include "Logging.h"
#include "MatrixMapper.h"
#include "PS... |
//
// Copyright 2019 The ANGLE 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.
//
// validationGL31.cpp: Validation functions for OpenGL 3.1 entry point parameters
#include "libANGLE/validationGL31_autogen.h"
namespace gl
{... |
package pl.dzielins42.stackoverflow.di;
import android.app.Application;
import android.arch.persistence.room.Room;
import android.content.Context;
import android.util.Log;
import javax.inject.Named;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import io.reactivex.Completable;
import i... |
/**
* Build table topology with opt topology.
*
* @param <T> the type parameter
* @param additionalTopology the additional topology
* @param typeReference the type reference
* @param topic the topic
* @return the topology
*/
public static <T> Topo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.