content
stringlengths
10
4.9M
Author has written 47 stories for Inuyasha. Never more than forthright. I came to read. I stayed to write. I ship everyone... or no one. Take your pick! Fandom is where I learned the ropes of storytelling. These fics are my beginnings, and I treasure all the love and effort that went into their telling. Updates hav...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Feb 12 14:16:53 2021 @author: alef 4. Implementar uma função que receba um dicionário e retorne a soma, a média e a variação dos valores. """ import statistics def analise_dados(saldo_filiais): total = 0 count = 0 data = [] for filia...
/** * clean just the cached file (storage of groups and remote repos) */ public void deleteCache( final String path ) throws IndyClientException { delete( path + "?" + CHECK_CACHE_ONLY + "=true" ); }
//utility for Kruskal class DisjointSets { private: vertex_index_t *parent, *rnk; vertex_index_t n; public: DisjointSets(vertex_index_t n); vertex_index_t find(vertex_index_t u); void merge(vertex_index_t x, vertex_index_t y); }
import * as React from "react" import renderer from 'react-test-renderer' import {PureFlowTable as FlowTable} from '../../components/FlowTable' import TestUtils from 'react-dom/test-utils' import { TFlow, TStore } from '../ducks/tutils' import { Provider } from 'react-redux' window.addEventListener = jest.fn() descri...
<filename>hs2019.go<gh_stars>1-10 package httpsig import ( "crypto" "crypto/rsa" ) type hs2019_pss struct { saltLength int hash crypto.Hash } func NewHS2019_PSS(saltLenght int) *hs2019_pss { return &hs2019_pss{ saltLength: saltLenght, hash: crypto.SHA512, } } func (hs2019_pss) Name() string { ...
<gh_stars>0 package secrethub import ( "fmt" "strings" "text/tabwriter" "github.com/secrethub/secrethub-cli/internals/cli/ui" "github.com/secrethub/secrethub-cli/internals/secrethub/command" "github.com/secrethub/secrethub-go/internals/api" ) // ServiceLsCommand lists all service accounts in a given repositor...
// an instance of the message is passed to it as a parameter. @MessageMapping( "/AdvanceTime" ) public void AdvanceTime( AdvanceTimeMsg message ) throws Exception { int hours, minutes; try { hours = Integer.parseInt( message.getHours() ); minutes = Integer.parseInt( message.getMinutes() ); ...
Movie budgets have been skyrocketing to absurd rates ever since Kevin Costner spent $175 million in 1995 dollars to make Waterworld. But you know which movie’s budget wasn’t absurd? Star Wars. As we all know, George Lucas spent $11 million to make his epic science fantasy film, known to geeks like me as Star Wars Epis...
<gh_stars>1-10 // OptFrame - Optimization Framework // Copyright (C) 2009-2015 // http://optframe.sourceforge.net/ // // This file is part of the OptFrame optimization framework. This framework // is free software; you can redistribute it and/or modify it under the // terms of the GNU Lesser General Public Lice...
Philip K. Dick Philip K. Dick was a central figure of science fiction literature from the 1950s to the 1970s. His novels and short stories were greatly admired by fellow authors such as Brian Aldiss, Ursula Le Guin, and Stanisław Lem, as well as by theorists of postmodernism such as Jean Baudrillard, Fredric Jameson, ...
Investigation of Internal Fault Modeling of Power former This paper describes a model of a 75 MVA and 150 kV synchronous machine (powerformer), which can be used to simulate internal fault waveforms for power system protection studies. The method employs a direct phase representation considering the cable capacitance....
/** * Represents a grantee identified by their canonical Amazon ID. */ @NoArgsConstructor @AllArgsConstructor @XStreamAlias("s3-object-acl-grantee-canonical-user") public class S3ObjectAclGranteeCanonicalUser implements S3ObjectAclGrantee { /** * Represents a grantee identified by their canonical Amazon ID. ...
// fetchBatch fetches all metric metadata for the given job and instance combination. // We constrain it by instance to reduce the total payload size. // In a well-configured setup it is unlikely that instances for the same job have any notable // difference in their exposed metrics. func (c *Cache) fetchBatch(ctx cont...
/** This method actually handles the SNBT-command. **/ private static void handleSNBTCommand(EntityPlayerMP player, World world, StringNBTCommand commandPacket) { if(world.isRemote){ TaleCraft.logger.error("FATAL ERROR: ServerHandler method was called on client-side!"); return; } if(commandPacket.command.eq...
<filename>org.jrebirth.af/core/src/test/java/org/jrebirth/af/core/ui/model/basic/ModelTest.java package org.jrebirth.af.core.ui.model.basic; import org.jrebirth.af.core.ui.model.AbstractModelTest; import org.junit.Test; /** * The class <strong>FxmlTest</strong>. * * @author <NAME> */ public class Mode...
/** Remove ActivationObjectItem from the activation system tree (root + related group) * and propagate a change. * @param aoi object to remove. */ public void removeActivationObjectItem(ActivationObjectItem aoi) { ActivationID aID = aoi.getActivationID(); ActivationGroupID agID = aoi.getD...
Estimating Housing Rent Depreciation for Inflation Adjustments Abstract U.S. inflation measures, such as the Consumer Price Index, are adjusted for an aging-bias based on estimates of the average rent depreciation. This study analyzes the characteristics of rent depreciation using novel, market-based data on rental co...
import pygame.display from math import sin, cos, radians, copysign class Boat: def __init__(self, pos_x, pos_y): self.pos_x = pos_x self.pos_y = pos_y self.vel = 10 self.heading = 90 self.rudder = 0 self.turn = 0 self.length = 100 self.width = 38 ...
import java.util.*; public class Main { static int m, n; public static void main (String[] args){ Scanner sc = new Scanner(System.in); m = sc.nextInt(); n = sc.nextInt(); boolean[] lie = new boolean[n]; for(int i = 0; i < n; ++i){ System.out.println(1); i...
// Validate checks for config errors func (el *Elem) Validate(it *Item, rl *Rule, rls *Rules) []error { switch el.El { case RuleEl: _, err := rls.RuleTry(el.Value) if err != nil { return []error{err} } return nil case TokenEl: if el.Value == "" { err := fmt.Errorf("Rule: %v Item: %v has empty Token e...
def _build_endpoint_url(self, endpoint, method, data=None, named_params=None, field_selectors=None): if named_params: named_param_str = '%s=%s'.join((k, v) for k, v in named_params.iteritems()) else: named_param_str = '~' field_selector_str = self._get_field_selector_str(...
<gh_stars>0 #[macro_use] extern crate log; mod meteo_data; mod web_server; #[derive(Clone)] pub struct SharedAppState { running: std::sync::Arc<std::sync::atomic::AtomicBool>, index_html: std::sync::Arc<std::sync::RwLock<String>>, } impl SharedAppState { fn new() -> SharedAppState { SharedAppState...
<gh_stars>0 // Package plugin provides support for RPC plugins with registration server. // It also implements middleware calling all the registered and alive plugins package plugin import ( "context" "encoding/json" "fmt" "net/http" "strings" "sync" "time" log "github.com/go-pkgz/lgr" "github.com/umputun/r...
import java.util.Scanner; public class CodeForces { private static Scanner scn; public static void main(String... args) { scn = new Scanner(System.in); int[] heights; int maxIndex = 0, minIndex = 0; int max, min; int steps; int n = scn.nextInt(); ...
Family bonding and adolescent alcohol use: moderating effect of living with excessive drinking parents. AIMS Excessive parental drinking has been shown to be positively related to adolescent alcohol use and family bonding negatively related. The aim of the present study was to determine if the perception of parental d...
/** * A factory for static file-serving routes. * * @author Luc Everse */ public class StaticFileRouteFactory extends FileRouteFactory { private static final Logger logger = LoggerFactory.getLogger(StaticFileRouteFactory.class); /** * The path compiler to use. */ private final PathCompiler co...
package net.openid.conformance.fapirwid2; import net.openid.conformance.condition.Condition; import net.openid.conformance.condition.client.AddBadRequestUriToAuthorizationRequest; import net.openid.conformance.condition.client.CallPAREndpoint; import net.openid.conformance.condition.client.EnsurePARInvalidRequestObjec...
Inefficient postural responses to unexpected slips during walking in older adults. BACKGROUND Slips account for a high percentage of falls and subsequent injuries in community-dwelling older adults but not in young adults. This phenomenon suggests that although active and healthy older adults preserve a mobility level...
/** * Write ClientVmInfo for delegate and another (nonDelegate) host to BB for future use * with kill methods above. */ protected void postClientVmInfoToBB() { PoolImpl pool = (PoolImpl)PoolManager.find("brloader"); ServerLocation delegate = pool.getServerAffinityLocation(); int delegatePort = delegat...
<reponame>radisvaliullin/test-golang package srvcln import ( "bufio" "log" "net" "strings" "sync" ) // Srv test server type Srv struct { Addr string wg sync.WaitGroup connCnt int } func (s *Srv) Run() { ln, err := net.Listen("tcp", s.Addr) if err != nil { log.Printf("listen err: %v", err) return } ...
Essendon Football Club is delighted to announce the incredible career of veteran, Dustin Fletcher, is set to continue after the evergreen defender committed to the Club for the 2014 season. The 38 year-old announced his contract extension in front of 1500 guests at tonight’s Crichton Medal count at Crown Palladium. E...
/** * Returns the single instance of this class. * * @return The single instance of this class. */ public static IconToolkit instance() { if (fInstance == null) { fInstance = new IconToolkit(); } return fInstance; }
/******************************************************************** * Base class for interactive components that display a list of selectable * values. * * @author eso */ public abstract class UiListControl<T, C extends UiListControl<T, C>> extends UiControl<T, C> implements UiHasUpdateEvents<T, C> { //~ Const...
/** * @author Gail Badner */ public class SessionFactoryBuilderImpl implements SessionFactoryBuilder { SessionFactoryOptionsImpl options; private final MetadataImplementor metadata; /* package-protected */ SessionFactoryBuilderImpl(MetadataImplementor metadata) { this.metadata = metadata; options = new Sess...
<gh_stars>1-10 import { Component, Input, Output, EventEmitter } from "@angular/core"; import { Role } from "../../../security/shared/role.model"; import { RolePermissionMap } from "../../../security/shared/role-permission-map.model"; import { Permission } from "../../../security/shared/permission.model"; import { Appl...
/** * <p>An implementation of an OJB TransactionManagerFactory which provides access to Workflow's * JTA UserTransaction.</p> * * <p>If the TransactionManager singleton has been set via {@link #setTransactionManager(TransactionManager)} * then that reference is returned, otherwise the TransactionManager is pulled ...
<filename>src/main/java/me/itzg/mccy/config/MccySecuritySettings.java package me.itzg.mccy.config; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import java.util.List; /** * @author <NAME> * @since 0.2 */ @ConfigurationProperties("mccy...
Toward Unifying the Mechanistic Concepts in Electrochemical CO2 Reduction from an Integrated Material Design and Catalytic Perspective Electrocatalytic CO2 reduction (eCO2RR) is one of the avenues with most potential toward achieving sustainable energy economy and global climate change targets by harvesting renewable ...
import re def strip_comments(bytes): lines = bytes.split(b"\n") comment = rb"#.*" return b"\n".join([re.sub(comment, b"", line) for line in lines]) def strip_extra_newlines(bytes): two_plus_newlines = rb"\n\n+" return re.sub(two_plus_newlines, b"\n", bytes) def strip_trailing_whitespace(bytes)...
Propagation of Bamboo (Dendrocalamus giganteus, Munro) Through Culm-Branch Cuttings in Egypt : Bamboo plants are an essen-tial element in Egyptian agricul-ture development. Nothing was found on propagation of Dendrocalamus giganteus under the Egyptian conditions. Thus, two trials were done to evaluate the effect of po...
import { HttpClient } from '@angular/common/http'; import { Configuration } from '../configuration/configuration'; export class BaseResource { protected baseUrl: string; constructor( protected http: HttpClient, protected configuration: Configuration, private suffix?: string ) { this.baseUrl = `$...
/** * Given a string S, check if it is palindrome or not. */ public class MaxElement { public static int getMaxElement(int[] arr) { int max = -1; for (int num : arr) { if (num > max) max = num; } return max; } public static void main(String[]...
/** * The groups are shown in "Project Type" selection list. * @author Dmitry Avdeev */ public class TemplatesGroup implements Comparable<TemplatesGroup> { private final String myName; private final String myDescription; private final Icon myIcon; private final int myWeight; private final String myParentG...
A miniaturized dual-fibre laser Doppler sensor The integration of laser Doppler velocimeters into small components such as wind tunnel models requires highly miniaturized sensors. This paper presents a novel miniaturization concept, suitable for reducing the dimensions of a fibre-coupled laser Doppler sensor to a mill...
The Commonwealth Ombudsman's Power to Compel Testimonial Activity for the Purpose of an Investigation For the purpose of reaching a decision about potentially defective administrative action into which he is conducting an investigation, the Ombudsman may wish to compel people to engage in various sorts of testimonial ...
def keyvault_secret_value_get(self, keyvault_name=None, secret_name=None, client_id=None): secret = self.keyvault_secret_get(keyvault_name=keyvault_name, secret_name=secret_name, client_id=client_id) if secret: return secret.value return None
// In case of the Allegro Hand, this callback is processed // every 0.003 seconds void AllegroNodeVelSat::computeDesiredTorque() { if (controlPD) { for (int i = 0; i < DOF_JOINTS; i++) { desired_velocity[i] = (k_p[i] / k_d[i]) * (desired_position[i] - current...
<filename>packages/web/src/app/contexts/general/modals/modals.tsx import * as React from 'react'; import { Suspense, useCallback, useContext, useEffect, useMemo, useState } from 'react'; import { styled } from '@linaria/react'; import type { LoadableComponent } from '@loadable/component'; import loadable from '@loadab...
<gh_stars>0 import argparse from pprint import pformat import numpy as np from sklearn.cluster import KMeans, AgglomerativeClustering from scripts.utils.utils import init_logger, load_npz, save_data_to_json logger = init_logger() # liefert zum Clusterverfahren cluster_method das passende sklearn-Cluster-Modell, d...
def _parse_styling_control_sequences(self): self._parse_capabilities(BLINK="blink", BOLD="bold", DIM="dim", NORMAL="sgr0", REVERSE="rev", UNDERLINE="smul")
<filename>work-common/src/main/java/com/suizhu/common/core/FdfsClient.java package com.suizhu.common.core; import java.io.IOException; import java.io.InputStream; import java.net.URLEncoder; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import j...
// unmarshalHeadersFromFrame reads serialized headers from the byte slice into // a map. func (v *v0ProtocolMarshaler) unmarshalHeadersFromFrame(frame []byte) (map[string]string, error) { if len(frame) < 4 { return nil, thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("frugal: invalid v0 frame...
/** * The method to handle ForbiddenException and return the appropriate * response to UI. * * @param ex * the exception thrown by the service methods. * @param request * the Web request. * @return ResponseEntitiy<Project> returns Project with ServiceStatus indicating error */ @...
<reponame>adele-robots/fiona #include "stdafx.h" #include "MorphTargetBlender3D.h" #ifndef __MORPH_TARGET_BLENDER2D_H #define __MORPH_TARGET_BLENDER2D_H #include "IMorphTargetBlender.h" #include "my_application.h" class MorphTargetBlender2D : public IMorphTargetBlender { public: public: void copyAppSvg...
package com.trining.design.decorator.train; import com.google.common.collect.Lists; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.List; /** * @author ganjx * Copyright (c) 2012-2020 All Rights Reserved. */ public class NavigationBarDecorator { Logger logger = LoggerFactory.getLogg...
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Rebus { public static void main(String[] args) throws Exception { Scanner in = new Scanner(new BufferedReader(new InputStreamReader( System.in))); ...
s=input() t=input() d=dict() flag=True ds=set() for i in range(len(s)): if not(t[i] in d): if s[i] in ds: flag=False break d[t[i]]=s[i] ds.add(s[i]) else: if d[t[i]]!=s[i]: flag=False break if flag: print("Yes") else: print("No")
// Calling apis from a callback simulates concurrent access from multiple // threads ssize_t pwrite_hang_cb(void *ctx, struct filemgr_ops *normal_ops, fdb_fileops_handle fops_handle, void *buf, size_t count, cs_off_t offset) { struct shared_data *data = (struct shared_d...
<reponame>wilebeast/FireFox-OS<filename>B2G/gecko/content/svg/content/src/nsSVGDataParser.h<gh_stars>1-10 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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 wi...
/** * Encodes the supplied string for inclusion as a (relative) URI in a Turtle document. * * @param s */ @Deprecated public static String encodeURIString(String s) { s = StringUtil.gsub("\\", "\\u005C", s); s = StringUtil.gsub("\t", "\\u0009", s); s = StringUtil.gsub("\n", "\\u000A", s); s = StringUti...
<reponame>jimmy0017/homebridge-hisense-tv #!/usr/bin/env python3.8 import argparse import json import logging import ssl from . import HisenseTv def main(): parser = argparse.ArgumentParser(description="Hisense TV control.") parser.add_argument("hostname", type=str, help="Hostname or IP for the TV.") pa...
<filename>src/lib/covalent.ts import { NetworkId } from "src/constants"; import { EnvHelper } from "src/helpers/Environment"; import { CovalentResponse, CovalentTokenBalance, CovalentTransaction } from "./covalent.types"; export class Covalent { public SUPPORTED_NETWORKS = { [NetworkId.FANTOM]: true, [Netwo...
<filename>utils/planing_utils.py import numpy as np from scipy import stats from utils.prob_utils import sample_simplex #------------------------------------------------------------------------------------------------------------~ def generalized_argmax_indicator(x): argmax_size = np.sum(x == x.max()) indc =...
#include <iostream> #include <string> using namespace std; string l, letter; int number, i, counter = 1; bool ident = false; int main() { cin >> l; number = l.size() - 1; string words[number + 2]; words[1] = l; while(number) { letter = l[l.size() - 1]; l = l.substr(0, l....
def perm_to_tree_structure(p): perm = list(p) n = len(perm)+1 root = Node(perm.pop(0)) root.left = Node(None, parent = root) root.right = Node(None, parent = root) for val in perm: node = root while not node.is_leaf(): if node.value > val: node = node.left ...
// GetValue returns the string stored in the entry func (e *Entry) GetValue() string { if e != nil { return e.Value } return "" }
<reponame>Ansari90/chess_server<gh_stars>0 package chess.model.pieces; import chess.model.board.*; public class Knight implements Piece { String color; public Knight(String color) { this.color = color; } @Override public String getColor() { return color; } @Override public char getLetter() { return Kn...
// Validate runs validations on the value and returns an error if the value is // invalid for any reason. func (s *Server) Validate() error { if err := s.ServerAddress.Validate(); err != nil { return err } s.Name = strings.TrimSpace(s.Name) if nameLength := len(s.Name); nameLength < nameLengthMin || nameLength > ...
// PublishMessage pushes the provided messeage to an SNS Topic and returns the // messages' ID. func (notif *SNS) PublishMessage(topicArn *string, message *string, isJSON bool) (*string, error) { var publishInput *sns.PublishInput if isJSON { messageStructure := "json" publishInput = &sns.PublishInput{ TopicA...
def __get_username(self): return self.__auth_session.user if self.__auth_session else "Anonymous"
import zmq import time import sys port = "5557" context = zmq.Context() socket = context.socket(zmq.REP) socket.bind("tcp://*:%s" % port) while True: print("top of server recv loop"); message = socket.recv_string() print("Received request: %s" % message) time.sleep (1) socket.send_string(message....
// Copyright 2020 <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 License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, ...
/** * @author Shu Tadaka */ @Slf4j public final class Cli { private Cli() { // do nothing } /** * Entry point of the program. * * @param args command line arguments */ @SneakyThrows public static void main(String... args) { try (ConfigurableApplicationContext...
<gh_stars>1-10 module PeerTrader.Account.Handler where import Control.Monad (liftM) import Data.Maybe (listToMaybe) import Data.Text (Text) import Database.Groundhog import Prosper import Applicati...
<filename>src/main/java/br/com/orange/jpa/test/CreateResposta.java package br.com.orange.jpa.test; import br.com.orange.jpa.models.Aluno; import br.com.orange.jpa.models.Avaliacao; import br.com.orange.jpa.models.Correcao; import br.com.orange.jpa.models.Resposta; import javax.persistence.EntityManager; import javax....
#include "AZHDistribution.h" #include <fstream> #include <iostream> #include <sstream> #include <string> #include "AZHPreAnalysis.h" #include "TFile.h" #include "TH2F.h" #include "TTree.h" using namespace std; Distribution_t::Distribution_t(int nbin) : NBINS(nbin), data_cs(nbin, 0), data_mc_count(nbin, 0), cs(0), n...
import React, { useEffect, useMemo, useRef } from "react"; import { useLocalStorage, useEffectOnce } from "react-use"; import { IDisposable } from "monaco-editor"; import { useMonaco, Monaco } from "@monaco-editor/react"; import { CustomTokensProvider } from "../TokenizeLogic/CustomLanguageTokensProvider"; import { F...
<gh_stars>10-100 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef HERODATA_H #define HERODATA_H #include <memory> #include <variant> namespace graphql::learn { class Droid; class Human; using SharedHero = std::variant<std::shared_ptr<Human>, std:...
Soil Classification Using GATree This paper details the application of a genetic programming framework for classification of decision tree of Soil data to classify soil texture. The database contains measurements of soil profile data. We have applied GATree for generating classification decision tree. GATree is a deci...
<gh_stars>100-1000 /** * \file KeyModule.h */ #pragma once #include "KeyMap.h" #include "RcmLoader.h" #include "logging/RhoLog.h" #define INVALID_KEY -2 #define KEY_EMPTYSTRING 0 #define ALL_KEYS -1 #define DISPLAYCLASS L"DISPLAYCLASS" class CKeyModule; struct INSTANCE_DATA { CKeyMap *pKeyMap; BOOL bAllKeysD...
//--------------------------------------------------------------------- // Utility function to synchronize the command queue. // On error, an exception will be thrown describing the failure. //--------------------------------------------------------------------- void ZePingPong::synchronize_command_queue(L0Context &con...
/** * Updates the global recommendations. This method will load content data if necessary, then * runs the global recommendation recipes. * * @param context The context. */ public void updateGlobalRecommendations(Context context) { if (mContentLoader.getNavigatorModel().getRecommendatio...
<reponame>Superconductor/superconductor<filename>compiler/AleAntlr3Grammar/aleGrammar/AleFrontend.java<gh_stars>10-100 package aleGrammar; import java.io.File; import java.io.IOException; import java.util.ArrayList; import org.antlr.runtime.ANTLRFileStream; import org.antlr.runtime.CommonTokenStream; import org.antlr...
#include <cstdio> #include <algorithm> #include <set> using namespace std; int reach; set< int > nums; int f( int A ) { A++; while( A % 10 == 0 ) A /= 10; return A; } int main( void ) { int A; scanf("%d", &A ); int newA = A; nums.insert( newA ); for( int i = 0; i < 100000; i++ ) { ...
declare module 'unified'; declare module 'remark-parse'; declare module 'remark-rehype'; declare module 'remark-html'; declare module 'remark-stringify'; declare module 'rehype-stringify';
WASHINGTON — Senate Majority Leader Mitch McConnell strongly condemned any foreign involvement in the election Monday and supported calls for a bipartisan investigation, but wouldn't say whether he believed Russia tried to swing the election for Donald Trump. "The Russians are not our friends," said McConnell. “I thin...
class TimeBasedMovingWindowFilter: """A moving-window filter for smoothing the signals within certain time interval.""" def __init__( self, filter_window: float = 0.1, ): """Initializes the class. Args: filter_window: The filtering window (in time) used to smooth the input sign...
<filename>quickstart-code/src/test/java/org/quickstart/code/example/ReversedMyLinkedList.java<gh_stars>1-10 /** * 项目名称:quickstart-code * 文件名:ReversedMyLinkedList.java * 版本信息: * 日期:2018年1月22日 * Copyright yangzl Corporation 2018 * 版权所有 * */ package org.quickstart.code.example; import org.quickstart.code.example....
THE EFFECT OF PILE GROUP LOCATION IN SLOPE ON ITS SEISMIC BEHAVIOR IN THIS RESEARCH SHAKING TABLE TESTS WERE CONDUCTED TO INVESTIGATE THE EFFECTSOF THE LOCATION OF PILE GROUP LOCATION ON ITS SEISMIC BEHAVIOR. A CAP SUPPORTED BY APILE GROUP WAS SET IN A DRY SAND SLOPE, AND SUBJECTED TO SINUSOIDAL BASE MOTIONWITH CONSTA...
//WE only have two frames so work with that..... char FFMPEG::ReleaseFrame(){ if (mStop){ return -1; } return 1; }
// ErrWriteConcernFailed -- code 64, write concern failed func ErrWriteConcernFailed() Error { return Error{ Message: "write concern failed", Code: 64, } }
def plot_two_conditions(merged_df, condition_1, condition_2, xlabel, ylabel): fig, axes = plt.subplots(ncols=2, nrows=1, figsize=(10, 4)) cmap = sns.cubehelix_palette(start=2.8, rot=0.1, as_cmap=True) fig_abs = sns.scatterplot( data=merged_df, x=f"Test statistic (Real)_grp_{condition_1}", ...
<gh_stars>1-10 package app.packed.state.sandbox; // Vi har 2 mulige taenker jeg... // Vi kender altid alle states... Det ligger fast vi er finite // Men nogen gange kender vi alle mulige transitioner... // Nogen gange goer vi ikke // Sidechannels/reasons/... public interface StateModel { } /// Hvordan modellere v...
def _batch_mv(bmat, bvec): return torch.matmul(bmat, bvec.unsqueeze(-1)).squeeze(-1)
<reponame>Aisiriiiiiii/CoviSolution_final<filename>app/src/main/java/com/pnuema/android/foursite/main_stuff/youtube2.java package com.pnuema.android.foursite.main_stuff; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.widget.Button; import com....
Strength performance of outer layer oil palm trunk wood treated with microwave energy This study was done to evaluate the flexural properties of microwave treated oil palm trunk (OPT) wood. The outer portion for basal position of the tree was chosen as it is the most stable part of oil palm trunk. Six treatment with t...
def GenericTypeParameter(self, parameterIndex): pass
def invert_selection(self, selection): all_atoms = numpy.arange(0,len(self.__parent_molecule.get_atom_information()), 1, dtype=int) remaining_indicies = numpy.delete(all_atoms, selection) return remaining_indicies
Like our Facebook page for more conversation and news coverage from the East Bay and beyond. BERKELEY — Hoping to avoid violent clashes at a planned white supremacist rally this weekend, Berkeley’s mayor on Tuesday issued a plea for counter demonstrations to be held elsewhere in the city. His message was backed by se...