repo_name
stringlengths
6
101
path
stringlengths
4
300
text
stringlengths
7
1.31M
noom1337/hawk-client
net/minecraft/client/gui/GuiCreateFlatWorld.java
<gh_stars>1-10 package net.minecraft.client.gui; import java.io.IOException; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.RenderHelper; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.WorldRenderer; import net.minecraft.client.resources.I18n; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.world.gen.FlatGeneratorInfo; import net.minecraft.world.gen.FlatLayerInfo; public class GuiCreateFlatWorld extends GuiScreen { private String field_146391_r; private FlatGeneratorInfo theFlatGeneratorInfo = FlatGeneratorInfo.getDefaultFlatGenerator(); private final GuiCreateWorld createWorldGui; private String field_146394_i; private GuiButton field_146389_t; private static final String __OBFID = "CL_00000687"; private GuiButton field_146388_u; private GuiCreateFlatWorld.Details createFlatWorldListSlotGui; private GuiButton field_146386_v; private String field_146393_h; public void func_146375_g() { boolean var1 = this.func_146382_i(); this.field_146386_v.enabled = var1; this.field_146388_u.enabled = var1; this.field_146388_u.enabled = false; this.field_146389_t.enabled = false; } public String func_146384_e() { return this.theFlatGeneratorInfo.toString(); } public void drawScreen(int var1, int var2, float var3) { this.drawDefaultBackground(); this.createFlatWorldListSlotGui.drawScreen(var1, var2, var3); this.drawCenteredString(this.fontRendererObj, this.field_146393_h, this.width / 2, 8, 16777215); int var4 = this.width / 2 - 92 - 16; this.drawString(this.fontRendererObj, this.field_146394_i, var4, 32, 16777215); this.drawString(this.fontRendererObj, this.field_146391_r, var4 + 2 + 213 - this.fontRendererObj.getStringWidth(this.field_146391_r), 32, 16777215); super.drawScreen(var1, var2, var3); } public void initGui() { this.buttonList.clear(); this.field_146393_h = I18n.format("createWorld.customize.flat.title"); this.field_146394_i = I18n.format("createWorld.customize.flat.tile"); this.field_146391_r = I18n.format("createWorld.customize.flat.height"); this.createFlatWorldListSlotGui = new GuiCreateFlatWorld.Details(this); this.buttonList.add(this.field_146389_t = new GuiButton(2, this.width / 2 - 154, this.height - 52, 100, 20, String.valueOf((new StringBuilder(String.valueOf(I18n.format("createWorld.customize.flat.addLayer")))).append(" (NYI)")))); this.buttonList.add(this.field_146388_u = new GuiButton(3, this.width / 2 - 50, this.height - 52, 100, 20, String.valueOf((new StringBuilder(String.valueOf(I18n.format("createWorld.customize.flat.editLayer")))).append(" (NYI)")))); this.buttonList.add(this.field_146386_v = new GuiButton(4, this.width / 2 - 155, this.height - 52, 150, 20, I18n.format("createWorld.customize.flat.removeLayer"))); this.buttonList.add(new GuiButton(0, this.width / 2 - 155, this.height - 28, 150, 20, I18n.format("gui.done"))); this.buttonList.add(new GuiButton(5, this.width / 2 + 5, this.height - 52, 150, 20, I18n.format("createWorld.customize.presets"))); this.buttonList.add(new GuiButton(1, this.width / 2 + 5, this.height - 28, 150, 20, I18n.format("gui.cancel"))); this.field_146389_t.visible = this.field_146388_u.visible = false; this.theFlatGeneratorInfo.func_82645_d(); this.func_146375_g(); } public GuiCreateFlatWorld(GuiCreateWorld var1, String var2) { this.createWorldGui = var1; this.func_146383_a(var2); } static FlatGeneratorInfo access$0(GuiCreateFlatWorld var0) { return var0.theFlatGeneratorInfo; } private boolean func_146382_i() { return this.createFlatWorldListSlotGui.field_148228_k > -1 && this.createFlatWorldListSlotGui.field_148228_k < this.theFlatGeneratorInfo.getFlatLayers().size(); } public void func_146383_a(String var1) { this.theFlatGeneratorInfo = FlatGeneratorInfo.createFlatGeneratorFromString(var1); } protected void actionPerformed(GuiButton var1) throws IOException { int var2 = this.theFlatGeneratorInfo.getFlatLayers().size() - this.createFlatWorldListSlotGui.field_148228_k - 1; if (var1.id == 1) { this.mc.displayGuiScreen(this.createWorldGui); } else if (var1.id == 0) { this.createWorldGui.field_146334_a = this.func_146384_e(); this.mc.displayGuiScreen(this.createWorldGui); } else if (var1.id == 5) { this.mc.displayGuiScreen(new GuiFlatPresets(this)); } else if (var1.id == 4 && this.func_146382_i()) { this.theFlatGeneratorInfo.getFlatLayers().remove(var2); this.createFlatWorldListSlotGui.field_148228_k = Math.min(this.createFlatWorldListSlotGui.field_148228_k, this.theFlatGeneratorInfo.getFlatLayers().size() - 1); } this.theFlatGeneratorInfo.func_82645_d(); this.func_146375_g(); } public void handleMouseInput() throws IOException { super.handleMouseInput(); this.createFlatWorldListSlotGui.func_178039_p(); } class Details extends GuiSlot { public int field_148228_k; final GuiCreateFlatWorld this$0; private static final String __OBFID = "CL_00000688"; protected int getScrollBarX() { return this.width - 70; } protected void elementClicked(int var1, boolean var2, int var3, int var4) { this.field_148228_k = var1; this.this$0.func_146375_g(); } private void func_148225_a(int var1, int var2, ItemStack var3) { this.func_148226_e(var1 + 1, var2 + 1); GlStateManager.enableRescaleNormal(); if (var3 != null && var3.getItem() != null) { RenderHelper.enableGUIStandardItemLighting(); this.this$0.itemRender.func_175042_a(var3, var1 + 2, var2 + 2); RenderHelper.disableStandardItemLighting(); } GlStateManager.disableRescaleNormal(); } private void func_148226_e(int var1, int var2) { this.func_148224_c(var1, var2, 0, 0); } private void func_148224_c(int var1, int var2, int var3, int var4) { GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F); this.mc.getTextureManager().bindTexture(Gui.statIcons); float var5 = 0.0078125F; float var6 = 0.0078125F; boolean var7 = true; boolean var8 = true; Tessellator var9 = Tessellator.getInstance(); WorldRenderer var10 = var9.getWorldRenderer(); var10.startDrawingQuads(); var10.addVertexWithUV((double)var1, (double)(var2 + 18), (double)this.this$0.zLevel, (double)((float)var3 * 0.0078125F), (double)((float)(var4 + 18) * 0.0078125F)); var10.addVertexWithUV((double)(var1 + 18), (double)(var2 + 18), (double)this.this$0.zLevel, (double)((float)(var3 + 18) * 0.0078125F), (double)((float)(var4 + 18) * 0.0078125F)); var10.addVertexWithUV((double)(var1 + 18), (double)var2, (double)this.this$0.zLevel, (double)((float)(var3 + 18) * 0.0078125F), (double)((float)var4 * 0.0078125F)); var10.addVertexWithUV((double)var1, (double)var2, (double)this.this$0.zLevel, (double)((float)var3 * 0.0078125F), (double)((float)var4 * 0.0078125F)); var9.draw(); } protected int getSize() { return GuiCreateFlatWorld.access$0(this.this$0).getFlatLayers().size(); } public Details(GuiCreateFlatWorld var1) { super(var1.mc, var1.width, var1.height, 43, var1.height - 60, 24); this.this$0 = var1; this.field_148228_k = -1; } protected boolean isSelected(int var1) { return var1 == this.field_148228_k; } protected void drawBackground() { } protected void drawSlot(int var1, int var2, int var3, int var4, int var5, int var6) { FlatLayerInfo var7 = (FlatLayerInfo)GuiCreateFlatWorld.access$0(this.this$0).getFlatLayers().get(GuiCreateFlatWorld.access$0(this.this$0).getFlatLayers().size() - var1 - 1); IBlockState var8 = var7.func_175900_c(); Block var9 = var8.getBlock(); Item var10 = Item.getItemFromBlock(var9); ItemStack var11 = var9 != Blocks.air && var10 != null ? new ItemStack(var10, 1, var9.getMetaFromState(var8)) : null; String var12 = var11 == null ? "Air" : var10.getItemStackDisplayName(var11); if (var10 == null) { if (var9 != Blocks.water && var9 != Blocks.flowing_water) { if (var9 == Blocks.lava || var9 == Blocks.flowing_lava) { var10 = Items.lava_bucket; } } else { var10 = Items.water_bucket; } if (var10 != null) { var11 = new ItemStack(var10, 1, var9.getMetaFromState(var8)); var12 = var9.getLocalizedName(); } } this.func_148225_a(var2, var3, var11); this.this$0.fontRendererObj.drawString(var12, (double)(var2 + 18 + 5), (double)(var3 + 3), 16777215); String var13; if (var1 == 0) { var13 = I18n.format("createWorld.customize.flat.layer.top", var7.getLayerCount()); } else if (var1 == GuiCreateFlatWorld.access$0(this.this$0).getFlatLayers().size() - 1) { var13 = I18n.format("createWorld.customize.flat.layer.bottom", var7.getLayerCount()); } else { var13 = I18n.format("createWorld.customize.flat.layer", var7.getLayerCount()); } this.this$0.fontRendererObj.drawString(var13, (double)(var2 + 2 + 213 - this.this$0.fontRendererObj.getStringWidth(var13)), (double)(var3 + 3), 16777215); } } }
408794550/871AR
Temp/il2cppOutput/il2cppOutput/AssemblyU2DCSharpU2Dfirstpass_EveryplayRecButtons_3262243951.h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_Object2689449295.h" #include "UnityEngine_UnityEngine_Rect3681755626.h" // EveryplayRecButtons/TextureAtlasSrc struct TextureAtlasSrc_t2048635151; // EveryplayRecButtons/ButtonTapped struct ButtonTapped_t3122824015; #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // EveryplayRecButtons/Button struct Button_t3262243951 : public Il2CppObject { public: // System.Boolean EveryplayRecButtons/Button::enabled bool ___enabled_0; // UnityEngine.Rect EveryplayRecButtons/Button::screenRect Rect_t3681755626 ___screenRect_1; // EveryplayRecButtons/TextureAtlasSrc EveryplayRecButtons/Button::bg TextureAtlasSrc_t2048635151 * ___bg_2; // EveryplayRecButtons/TextureAtlasSrc EveryplayRecButtons/Button::title TextureAtlasSrc_t2048635151 * ___title_3; // EveryplayRecButtons/ButtonTapped EveryplayRecButtons/Button::onTap ButtonTapped_t3122824015 * ___onTap_4; public: inline static int32_t get_offset_of_enabled_0() { return static_cast<int32_t>(offsetof(Button_t3262243951, ___enabled_0)); } inline bool get_enabled_0() const { return ___enabled_0; } inline bool* get_address_of_enabled_0() { return &___enabled_0; } inline void set_enabled_0(bool value) { ___enabled_0 = value; } inline static int32_t get_offset_of_screenRect_1() { return static_cast<int32_t>(offsetof(Button_t3262243951, ___screenRect_1)); } inline Rect_t3681755626 get_screenRect_1() const { return ___screenRect_1; } inline Rect_t3681755626 * get_address_of_screenRect_1() { return &___screenRect_1; } inline void set_screenRect_1(Rect_t3681755626 value) { ___screenRect_1 = value; } inline static int32_t get_offset_of_bg_2() { return static_cast<int32_t>(offsetof(Button_t3262243951, ___bg_2)); } inline TextureAtlasSrc_t2048635151 * get_bg_2() const { return ___bg_2; } inline TextureAtlasSrc_t2048635151 ** get_address_of_bg_2() { return &___bg_2; } inline void set_bg_2(TextureAtlasSrc_t2048635151 * value) { ___bg_2 = value; Il2CppCodeGenWriteBarrier(&___bg_2, value); } inline static int32_t get_offset_of_title_3() { return static_cast<int32_t>(offsetof(Button_t3262243951, ___title_3)); } inline TextureAtlasSrc_t2048635151 * get_title_3() const { return ___title_3; } inline TextureAtlasSrc_t2048635151 ** get_address_of_title_3() { return &___title_3; } inline void set_title_3(TextureAtlasSrc_t2048635151 * value) { ___title_3 = value; Il2CppCodeGenWriteBarrier(&___title_3, value); } inline static int32_t get_offset_of_onTap_4() { return static_cast<int32_t>(offsetof(Button_t3262243951, ___onTap_4)); } inline ButtonTapped_t3122824015 * get_onTap_4() const { return ___onTap_4; } inline ButtonTapped_t3122824015 ** get_address_of_onTap_4() { return &___onTap_4; } inline void set_onTap_4(ButtonTapped_t3122824015 * value) { ___onTap_4 = value; Il2CppCodeGenWriteBarrier(&___onTap_4, value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif
bailingnan/CodingHistory
PAT-Code/A1061.Dating.cpp
#include<cstdio> #include<cstring> int main() { char week[7][4] = {"MON","TUE","WED","THU","FRI","SAT","SUN" }; char str1[61], str2[61], str3[61], str4[61]; scanf("%s%s%s%s", str1, str2, str3, str4); int len1, len2, len3, len4; len1 = strlen(str1); len2 = strlen(str2); len3 = strlen(str3); len4 = strlen(str4); int len = (len1 > len2 ? len2 : len1); int w,h,flag=1; for (int i = 0; i < len; i++) { if (str1[i] == str2[i] && str1[i] >= 'A'&&str1[i] <= 'G'&&flag==1) { w = str1[i] - 'A'; flag=0; continue; } if (str1[i] == str2[i] && (str1[i] >= '0'&&str1[i] <= '9' || str1[i] >= 'A'&&str1[i] <= 'N')&&flag==0) { if (str1[i] >= '0'&&str1[i] <= '9') { h = str1[i] - '0'; break; } if (str1[i] >= 'A'&&str1[i] <= 'N') { h = str1[i] - 'A' + 10; break; } } } len = (len3 > len4 ? len4 : len3); int m; for (int i = 0; i < len; i++) { if (str3[i] == str4[i] && (str3[i] >= 'a'&&str3[i] <= 'z' || str3[i] >= 'A'&str3[i] <= 'Z')) { m = i; break; } } printf("%s %02d:%02d\n", week[w], h, m); return 0; } //算法笔记 #include <cstdio> #include <cstring> int main() { char week[7][5] = { "MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN" }; char str1[70], str2[70], str3[70], str4[70]; gets(str1); gets(str2); gets(str3); gets(str4); int len1 = strlen(str1); int len2 = strlen(str2); int len3 = strlen(str3); int len4 = strlen(str4); int i; for(i = 0; i < len1 && i < len2; i++) { if(str1[i] == str2[i] && str1[i] >='A' && str1[i] <= 'G') { printf("%s ", week[str1[i] - 'A']); break; } } for(i++; i < len1 && i < len2; i++) { if(str1[i] == str2[i]) { if(str1[i] >= '0' && str1[i] <= '9') { printf("%02d:", str1[i] - '0'); break; } else if(str1[i] >= 'A' && str1[i] <= 'N') { printf("%02d:", str1[i] - 'A' + 10); break; } } } for(i = 0; i < len3 && i < len4; i++) { if(str3[i] == str4[i]) { if((str3[i] >= 'A' && str3[i] <= 'Z') || (str3[i] >= 'a' && str3[i] <= 'z')) { printf("%02d", i); break; } } } return 0; }
laxmilal-menaria/metamodel
spring/src/test/java/org/apache/metamodel/spring/PojoDataContextFactoryBeanDelegateTest.java
<filename>spring/src/test/java/org/apache/metamodel/spring/PojoDataContextFactoryBeanDelegateTest.java /** * 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 not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software 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. */ package org.apache.metamodel.spring; import java.util.Arrays; import org.apache.metamodel.DataContext; import org.apache.metamodel.pojo.PojoDataContext; import org.apache.metamodel.schema.Schema; import junit.framework.TestCase; public class PojoDataContextFactoryBeanDelegateTest extends TestCase { public void testConvertTableDefs() throws Exception { final DataContextFactoryBean factoryBean = new DataContextFactoryBean(); factoryBean.setType("POJO"); factoryBean.setDatabaseName("my db"); factoryBean.setTableDefinitions("hello world (greeting VARCHAR, who VARCHAR); foo (bar INTEGER, baz DATE);"); final DataContext dataContext = factoryBean.getObject(); assertTrue(dataContext instanceof PojoDataContext); Schema schema = dataContext.getDefaultSchema(); assertEquals("my db", schema.getName()); assertEquals("[foo, hello world]", Arrays.toString(schema.getTableNames())); assertEquals( "[Column[name=greeting,columnNumber=0,type=VARCHAR,nullable=true,nativeType=null,columnSize=null], " + "Column[name=who,columnNumber=1,type=VARCHAR,nullable=true,nativeType=null,columnSize=null]]", Arrays.toString(schema.getTableByName("hello world").getColumns())); assertEquals("[Column[name=bar,columnNumber=0,type=INTEGER,nullable=true,nativeType=null,columnSize=null], " + "Column[name=baz,columnNumber=1,type=DATE,nullable=true,nativeType=null,columnSize=null]]", Arrays.toString(schema.getTableByName("foo").getColumns())); } }
Osmose/moseamp
musicplayer/plugins/aoplugin/aosdk/corlett.c
<gh_stars>1-10 /* Audio Overload SDK Copyright (c) 2007-2008, <NAME> and <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: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the names of R. Belmont and <NAME> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ // corlett.c // Decodes file format designed by <NAME> (PSF, QSF, ...) /* - First 3 bytes: ASCII signature: "PSF" (case sensitive) - Next 1 byte: Version byte The version byte is used to determine the type of PSF file. It does NOT affect the basic structure of the file in any way. Currently accepted version bytes are: 0x01: Playstation (PSF1) 0x02: Playstation 2 (PSF2) 0x11: Saturn (SSF) [TENTATIVE] 0x12: Dreamcast (DSF) [TENTATIVE] 0x21: Nintendo 64 (USF) [RESERVED] 0x41: Capcom QSound (QSF) - Next 4 bytes: Size of reserved area (R), little-endian unsigned long - Next 4 bytes: Compressed program length (N), little-endian unsigned long This is the length of the program data _after_ compression. - Next 4 bytes: Compressed program CRC-32, little-endian unsigned long This is the CRC-32 of the program data _after_ compression. Filling in this value is mandatory, as a PSF file may be regarded as corrupt if it does not match. - Next R bytes: Reserved area. May be empty if R is 0 bytes. - Next N bytes: Compressed program, in zlib compress() format. May be empty if N is 0 bytes. The following data is optional and may be omitted: - Next 5 bytes: ASCII signature: "[TAG]" (case sensitive) If these 5 bytes do not match, then the remainder of the file may be regarded as invalid and discarded. - Remainder of file: Uncompressed ASCII tag data. */ #include <assert.h> #include <string.h> #include <stdlib.h> #include "ao.h" #include "corlett.h" #include <zlib.h> #include <stdlib.h> #define DECOMP_MAX_SIZE ((32 * 1024 * 1024) + 12) int corlett_decode(uint8 *input, uint32 input_len, uint8 **output, uint64 *size, corlett_t **c) { uint32 *buf; uint32 res_area, comp_crc, actual_crc; uint8 *decomp_dat, *tag_dec; uLongf decomp_length, comp_length; // 32-bit pointer to data buf = (uint32 *)input; // Check we have a PSF format file. if ((input[0] != 'P') || (input[1] != 'S') || (input[2] != 'F')) { return AO_FAIL; } // Get our values res_area = LE32(buf[1]); comp_length = LE32(buf[2]); comp_crc = LE32(buf[3]); if (comp_length > 0) { // Check length if (input_len < comp_length + 16) return AO_FAIL; // Check CRC is correct actual_crc = crc32(0, (unsigned char *)&buf[4+(res_area/4)], comp_length); if (actual_crc != comp_crc) return AO_FAIL; // Decompress data if any decomp_dat = malloc(DECOMP_MAX_SIZE); decomp_length = DECOMP_MAX_SIZE; if (uncompress(decomp_dat, &decomp_length, (unsigned char *)&buf[4+(res_area/4)], comp_length) != Z_OK) { free(decomp_dat); return AO_FAIL; } // Resize memory buffer to what we actually need decomp_dat = realloc(decomp_dat, (size_t)decomp_length + 1); } else { decomp_dat = NULL; decomp_length = 0; } // Make structure *c = malloc(sizeof(corlett_t)); if (!(*c)) { free(decomp_dat); return AO_FAIL; } memset(*c, 0, sizeof(corlett_t)); strcpy((*c)->inf_title, "n/a"); strcpy((*c)->inf_copy, "n/a"); strcpy((*c)->inf_artist, "n/a"); strcpy((*c)->inf_game, "n/a"); strcpy((*c)->inf_year, "n/a"); strcpy((*c)->inf_length, "n/a"); strcpy((*c)->inf_fade, "n/a"); // set reserved section pointer (*c)->res_section = &buf[4]; (*c)->res_size = res_area; // Return it *output = decomp_dat; *size = decomp_length; // Next check for tags input_len -= (comp_length + 16 + res_area); if (input_len < 5) return AO_SUCCESS; // printf("\n\nNew corlett: input len %d\n", input_len); tag_dec = input + (comp_length + res_area + 16); if ((tag_dec[0] == '[') && (tag_dec[1] == 'T') && (tag_dec[2] == 'A') && (tag_dec[3] == 'G') && (tag_dec[4] == ']')) { int tag, l, num_tags, data; // Tags found! tag_dec += 5; input_len -= 5; tag = 0; data = false; num_tags = 0; l = 0; while (input_len && (num_tags < MAX_UNKNOWN_TAGS)) { if (data) { if ((*tag_dec == 0xA) || (*tag_dec == 0x00)) { (*c)->tag_data[num_tags][l] = 0; data = false; num_tags++; l = 0; } else { (*c)->tag_data[num_tags][l++] = *tag_dec; } } else { if (*tag_dec == '=') { (*c)->tag_name[num_tags][l] = 0; l = 0; data = true; } else { (*c)->tag_name[num_tags][l++] = *tag_dec; } } tag_dec++; input_len--; } // Now, process that tag array into what we expect for (num_tags = 0; num_tags < MAX_UNKNOWN_TAGS; num_tags++) { // See if tag belongs in one of the special fields we have if (!strcasecmp((*c)->tag_name[num_tags], "_lib")) { strcpy((*c)->lib, (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "_lib2", 5)) { strcpy((*c)->libaux[0], (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "_lib3", 5)) { strcpy((*c)->libaux[1], (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "_lib4", 5)) { strcpy((*c)->libaux[2], (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "_lib5", 5)) { strcpy((*c)->libaux[3], (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "_lib6", 5)) { strcpy((*c)->libaux[4], (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "_lib7", 5)) { strcpy((*c)->libaux[5], (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "_lib8", 5)) { strcpy((*c)->libaux[6], (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "_lib9", 5)) { strcpy((*c)->libaux[7], (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "_refresh", 8)) { strcpy((*c)->inf_refresh, (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "title", 5)) { strcpy((*c)->inf_title, (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "copyright", 9)) { strcpy((*c)->inf_copy, (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "artist", 6)) { strcpy((*c)->inf_artist, (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "game", 4)) { strcpy((*c)->inf_game, (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "year", 4)) { strcpy((*c)->inf_year, (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "length", 6)) { strcpy((*c)->inf_length, (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } else if (!strncmp((*c)->tag_name[num_tags], "fade", 4)) { strcpy((*c)->inf_fade, (*c)->tag_data[num_tags]); (*c)->tag_data[num_tags][0] = 0; (*c)->tag_name[num_tags][0] = 0; } } } // Bingo return AO_SUCCESS; } uint32 psfTimeToMS(char *str) { int x, c=0; uint32 acc=0; char s[100]; strncpy(s,str,100); s[99]=0; for (x=strlen(s); x>=0; x--) { if (s[x]=='.' || s[x]==',') { acc=atoi(s+x+1); s[x]=0; } else if (s[x]==':') { if(c==0) { acc+=atoi(s+x+1)*10; } else if(c==1) { acc+=atoi(s+x+(x?1:0))*10*60; } c++; s[x]=0; } else if (x==0) { if(c==0) { acc+=atoi(s+x)*10; } else if(c==1) { acc+=atoi(s+x)*10*60; } else if(c==2) { acc+=atoi(s+x)*10*60*60; } } } acc*=100; return(acc); }
wangxhao/spring-practice
spring-security-demo/src/main/java/com/xhao/config/WebMvcConfig.java
package com.xhao.config; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; /** * 创建时间:2017/1/17 15:02 * 作者:WangXianHao. * @author * 描述: * Spring MVC的一些自定义配置 */ @Configuration public class WebMvcConfig extends WebMvcConfigurerAdapter { @Override public void addViewControllers(ViewControllerRegistry registry) { registry.addViewController("/login").setViewName("/login"); registry.addViewController("/logout").setViewName("/logout"); } }
welovekpop/wlk.yt-client
es/components/HeaderBar/AppTitle.js
import _jsx from "@babel/runtime/helpers/builtin/jsx"; import cx from 'classnames'; import React from 'react'; import PropTypes from 'prop-types'; import IconButton from "@material-ui/core/es/IconButton"; import AboutIcon from "@material-ui/icons/es/ArrowDropDown"; import logo from '../../../assets/img/logo-square.png'; var _ref2 = /*#__PURE__*/ _jsx(AboutIcon, {}); var AppTitle = function AppTitle(_ref) { var className = _ref.className, children = _ref.children, onClick = _ref.onClick; return _jsx("div", { className: cx('AppTitle', className) }, void 0, _jsx("h1", { className: "AppTitle-logo" }, void 0, _jsx("img", { className: "AppTitle-logoImage", alt: children, src: logo })), _jsx(IconButton, { className: "AppTitle-button", onClick: onClick }, void 0, _ref2)); }; AppTitle.propTypes = process.env.NODE_ENV !== "production" ? { className: PropTypes.string, children: PropTypes.string.isRequired, onClick: PropTypes.func.isRequired } : {}; export default AppTitle; //# sourceMappingURL=AppTitle.js.map
Hellblazer/apollo
thoth/src/test/java/com/salesforce/apollo/thoth/AbstractDhtTest.java
<gh_stars>0 /* * Copyright (c) 2022, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: BSD-3-Clause * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ package com.salesforce.apollo.thoth; import static com.salesforce.apollo.crypto.SigningThreshold.unweighted; import java.security.KeyPair; import java.security.SecureRandom; import java.time.Duration; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import java.util.concurrent.Executors; import java.util.stream.Collectors; import java.util.stream.IntStream; import org.h2.jdbcx.JdbcConnectionPool; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import com.salesforce.apollo.comm.LocalRouter; import com.salesforce.apollo.comm.ServerConnectionCache; import com.salesforce.apollo.crypto.Digest; import com.salesforce.apollo.crypto.DigestAlgorithm; import com.salesforce.apollo.crypto.Signer.SignerImpl; import com.salesforce.apollo.membership.Context; import com.salesforce.apollo.membership.Member; import com.salesforce.apollo.membership.SigningMember; import com.salesforce.apollo.membership.stereotomy.ControlledIdentifierMember; import com.salesforce.apollo.stereotomy.ControlledIdentifier; import com.salesforce.apollo.stereotomy.StereotomyImpl; import com.salesforce.apollo.stereotomy.event.EstablishmentEvent; import com.salesforce.apollo.stereotomy.event.InceptionEvent; import com.salesforce.apollo.stereotomy.event.RotationEvent; import com.salesforce.apollo.stereotomy.event.protobuf.ProtobufEventFactory; import com.salesforce.apollo.stereotomy.identifier.Identifier; import com.salesforce.apollo.stereotomy.identifier.SelfAddressingIdentifier; import com.salesforce.apollo.stereotomy.identifier.spec.IdentifierSpecification.Builder; import com.salesforce.apollo.stereotomy.identifier.spec.RotationSpecification; import com.salesforce.apollo.stereotomy.mem.MemKERL; import com.salesforce.apollo.stereotomy.mem.MemKeyStore; /** * @author hal.hildebrand * */ public class AbstractDhtTest { protected static final ProtobufEventFactory factory = new ProtobufEventFactory(); protected static final double PBYZ = 0.33; protected final Map<Digest, KerlDHT> dhts = new HashMap<>(); protected Map<Digest, ControlledIdentifier<SelfAddressingIdentifier>> identities; protected int majority; protected final Map<Digest, LocalRouter> routers = new HashMap<>(); public AbstractDhtTest() { super(); } @AfterEach public void after() { routers.values().forEach(r -> r.close()); routers.clear(); dhts.values().forEach(t -> t.stop()); dhts.clear(); } @BeforeEach public void before() throws Exception { var entropy = SecureRandom.getInstance("SHA1PRNG"); entropy.setSeed(new byte[] { 6, 6, 6 }); var stereotomy = new StereotomyImpl(new MemKeyStore(), new MemKERL(DigestAlgorithm.DEFAULT), entropy); identities = IntStream.range(0, getCardinality()) .parallel() .mapToObj(i -> stereotomy.newIdentifier().get()) .collect(Collectors.toMap(controlled -> controlled.getIdentifier().getDigest(), controlled -> controlled)); String prefix = UUID.randomUUID().toString(); Context<Member> context = Context.<Member>newBuilder().setpByz(PBYZ).setCardinality(getCardinality()).build(); majority = context.majority(); identities.values().forEach(ident -> instantiate(ident, context, prefix)); System.out.println(); System.out.println(); System.out.println(String.format("Cardinality: %s, Prob Byz: %s, Majority: %s", getCardinality(), PBYZ, majority)); System.out.println(); } protected int getCardinality() { return Boolean.getBoolean("large_tests") ? 100 : 5; } protected InceptionEvent inception(Builder<?> specification, KeyPair initialKeyPair, ProtobufEventFactory factory, KeyPair nextKeyPair) { specification.addKey(initialKeyPair.getPublic()) .setSigningThreshold(unweighted(1)) .setNextKeys(List.of(nextKeyPair.getPublic())) .setWitnesses(Collections.emptyList()) .setSigner(new SignerImpl(initialKeyPair.getPrivate())); var identifier = Identifier.NONE; InceptionEvent event = factory.inception(identifier, specification.build()); return event; } protected void instantiate(ControlledIdentifier<SelfAddressingIdentifier> identifier, Context<Member> context, String prefix) { SigningMember member = new ControlledIdentifierMember(identifier); context.activate(member); final var url = String.format("jdbc:h2:mem:%s-%s;DB_CLOSE_DELAY=-1", member.getId(), prefix); // System.out.println("URL: " + url); context.activate(member); JdbcConnectionPool connectionPool = JdbcConnectionPool.create(url, "", ""); LocalRouter router = new LocalRouter(prefix, ServerConnectionCache.newBuilder().setTarget(2), Executors.newFixedThreadPool(4), null); router.setMember(member); routers.put(member.getId(), router); dhts.put(member.getId(), new KerlDHT(Duration.ofMillis(10), context, member, connectionPool, DigestAlgorithm.DEFAULT, router, Executors.newFixedThreadPool(4), Duration.ofSeconds(2), Executors.newSingleThreadScheduledExecutor(), 0.125, null)); } protected RotationEvent rotation(KeyPair prevNext, final Digest prevDigest, EstablishmentEvent prev, KeyPair nextKeyPair, ProtobufEventFactory factory) { var rotSpec = RotationSpecification.newBuilder(); rotSpec.setIdentifier(prev.getIdentifier()) .setCurrentCoords(prev.getCoordinates()) .setCurrentDigest(prevDigest) .setKey(prevNext.getPublic()) .setSigningThreshold(unweighted(1)) .setNextKeys(List.of(nextKeyPair.getPublic())) .setSigner(new SignerImpl(prevNext.getPrivate())); RotationEvent rotation = factory.rotation(rotSpec.build(), false); return rotation; } }
Hickeyer/codingdb
dist-primary/src/main/java/com/stylefeng/guns/modular/dist/service/ITaskService.java
<reponame>Hickeyer/codingdb package com.stylefeng.guns.modular.dist.service; import com.stylefeng.guns.common.persistence.model.User; public interface ITaskService { @Deprecated void upgradeLevel(String type); void clearData(User user); void clearAuthDB(); void upgradeLevelVersionTwo(String identityType); }
HomeIncorporated/jhipster-holistic
mobile/rn/ios/Pods/Headers/Public/ReactNativeNavigation/RNNElementView.h
#import <UIKit/UIKit.h> @interface RNNElementView : UIView @property (nonatomic, strong) NSString* elementId; @property (nonatomic, strong) NSString* type; @property (nonatomic, strong) NSString* resizeMode; @property (nonatomic, strong) NSNumber* interactive; @property (nonatomic, strong) UIViewController* vc; @property (nonatomic) CGPoint originalCenter; @end
khoanguyencao/me218a
FrameworkHeaders/ES_Framework.h
/**************************************************************************** Module EF_Framework.h Description header file for use with the top level functions of the EF Event Framework Notes History When Who What/Why -------------- --- -------- 11/02/13 17:06 jec added ES_PostToServiceLIFO prototype 08/05/13 15:00 jec added #include for ES_Port.h to get portability stuff 10/17/06 07:41 jec started coding *****************************************************************************/ #ifndef ES_Framework_H #define ES_Framework_H #include "ES_Types.h" #include "ES_Port.h" #include "ES_Events.h" // These includes are not strictly necessary for the framework, but simplify // the use of the framework by requiring only 2 include files // ES_Configure.h and ES_Framework.h // The balance of the framework headers are included here #include "ES_PostList.h" #include "ES_General.h" #include "ES_Timers.h" typedef enum { Success = 0, FailedPost = 1, FailedRun, FailedPointer, FailedIndex, FailedInit }ES_Return_t; ES_Return_t ES_Initialize(TimerRate_t NewRate); ES_Return_t ES_Run(void); bool ES_PostAll(ES_Event_t ThisEvent); bool ES_PostToService(uint8_t WhichService, ES_Event_t ThisEvent); bool ES_PostToServiceLIFO(uint8_t WhichService, ES_Event_t TheEvent); #endif // ES_Framework_H
kenirwin/Suma
analysis/src/scripts/directives/sumaActivityFilter.js
'use strict'; angular.module('sumaAnalysis') .directive('sumaActivityFilter', function () { return { restrict: 'A', templateUrl: 'views/directives/activityFilter.html', scope: {acts: '='}, controller: ['$scope', function ($scope) { $scope.reset = function () { _.each($scope.acts, function (act) { act.enabled = true; act.filter = 'allow'; }); }; $scope.setStatus = function () { var actGrps = _.filter($scope.acts, {type: 'activityGroup'}); _.each(actGrps, function (actGrp) { var acts = _.filter($scope.acts, {type: 'activity', activityGroup: actGrp.id}); _.each(acts, function (act) { if (actGrp.filter === 'exclude') { act.enabled = false; } else { act.enabled = true; } }); }); }; }] }; });
comfyneet/Yaof
include/Yaof/Misc/InputStream.hpp
#ifndef YAOF_MISC_INPUTSTREAM_HPP #define YAOF_MISC_INPUTSTREAM_HPP #include "Yaof/Core/Configuration.hpp" #include "Yaof/Misc/NonCopyable.hpp" namespace yf { class YAOF_DLL InputStream : public NonCopyable { public: InputStream() = default; virtual ~InputStream() = default; virtual bool read(void* data, long size) const = 0; virtual void seek(long position) const = 0; virtual long tell() const = 0; virtual long getSize() const = 0; }; } #endif
yannicklamprecht/Smart-Server-Tool
src/main/java/com/ysl3000/utils/valuemappers/mappers/WorldMapper.java
<filename>src/main/java/com/ysl3000/utils/valuemappers/mappers/WorldMapper.java<gh_stars>1-10 package com.ysl3000.utils.valuemappers.mappers; import com.ysl3000.utils.MessageWrapper; import com.ysl3000.utils.valuemappers.ValueMapper; import org.bukkit.World; /** * Created by ysl3000 */ public class WorldMapper implements ValueMapper { @Override public void injectPlaceholder(MessageWrapper message) { message.get(World.class).ifPresent(world -> message.replace("{world_name}", world.getName())); } }
BIBSYSDEV/nva-search-api
search-commons/src/main/java/no/unit/nva/search/models/IndexDocument.java
<reponame>BIBSYSDEV/nva-search-api package no.unit.nva.search.models; import static nva.commons.core.attempt.Try.attempt; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.JsonNode; import java.util.Objects; import java.util.Optional; import no.unit.nva.identifiers.SortableIdentifier; import no.unit.nva.search.IndexingConfig; import nva.commons.core.JacocoGenerated; import nva.commons.core.JsonSerializable; import nva.commons.core.StringUtils; import org.elasticsearch.action.index.IndexRequest; import org.elasticsearch.common.xcontent.XContentType; public class IndexDocument implements JsonSerializable { public static final String BODY = "body"; public static final String CONSUMPTION_ATTRIBUTES = "consumptionAttributes"; public static final String MISSING_IDENTIFIER_IN_RESOURCE = "Missing identifier in resource"; public static final String MISSING_INDEX_NAME_IN_RESOURCE = "Missing index name in resource"; @JsonProperty(CONSUMPTION_ATTRIBUTES) private final EventConsumptionAttributes consumptionAttributes; @JsonProperty(BODY) private final JsonNode resource; @JsonCreator public IndexDocument(@JsonProperty(CONSUMPTION_ATTRIBUTES) EventConsumptionAttributes consumptionAttributes, @JsonProperty(BODY) JsonNode resource) { this.consumptionAttributes = consumptionAttributes; this.resource = resource; } public IndexDocument validate() { Objects.requireNonNull(getIndexName()); Objects.requireNonNull(getDocumentIdentifier()); return this; } public static IndexDocument fromJsonString(String json) { return attempt(() -> IndexingConfig.objectMapper.readValue(json, IndexDocument.class)).orElseThrow(); } @JacocoGenerated public EventConsumptionAttributes getConsumptionAttributes() { return consumptionAttributes; } @JacocoGenerated public JsonNode getResource() { return resource; } @JsonIgnore public String getIndexName() { return Optional.ofNullable(consumptionAttributes.getIndex()) .filter(StringUtils::isNotBlank) .orElseThrow(() -> new RuntimeException(MISSING_INDEX_NAME_IN_RESOURCE)); } @JsonIgnore public String getDocumentIdentifier() { return Optional.ofNullable(consumptionAttributes.getDocumentIdentifier()) .map(SortableIdentifier::toString) .orElseThrow(() -> new RuntimeException(MISSING_IDENTIFIER_IN_RESOURCE)); } public IndexRequest toIndexRequest() { return new IndexRequest(getIndexName()) .source(serializeResource(), XContentType.JSON) .id(getDocumentIdentifier()); } @JacocoGenerated @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof IndexDocument)) { return false; } IndexDocument that = (IndexDocument) o; return Objects.equals(getConsumptionAttributes(), that.getConsumptionAttributes()) && Objects.equals(getResource(), that.getResource()); } @JacocoGenerated @Override public int hashCode() { return Objects.hash(getConsumptionAttributes(), getResource()); } private String serializeResource() { return attempt(() -> IndexingConfig.objectMapper.writeValueAsString(resource)).orElseThrow(); } }
Mercateo/rest-hateoas-client
src/main/java/com/mercateo/rest/hateoas/client/impl/ResponseImpl.java
<reponame>Mercateo/rest-hateoas-client /** * Copyright © 2016 Mercateo AG (http://www.mercateo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * 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. */ package com.mercateo.rest.hateoas.client.impl; import java.net.URI; import java.util.Optional; import com.google.common.annotations.VisibleForTesting; import com.mercateo.rest.hateoas.client.OngoingResponse; import com.mercateo.rest.hateoas.client.Response; import com.mercateo.rest.hateoas.client.schema.ClientHyperSchema; import lombok.AllArgsConstructor; import lombok.NonNull; @AllArgsConstructor public class ResponseImpl<T> implements Response<T> { @NonNull private final ResponseBuilder responseBuilder; @VisibleForTesting final ClientHyperSchema jsonHyperSchema; protected final T value; @NonNull private URI uri; @Override public Optional<T> getResponseObject() { return Optional.ofNullable(value); } @Override public <S> OngoingResponse<S> prepareNextWithResponse(@NonNull Class<S> clazz) { if (jsonHyperSchema == null) { throw new IllegalStateException("There is no possibility for a next response"); } return new OngoingResponseImpl<S>(clazz, jsonHyperSchema, responseBuilder, uri); } @Override public boolean isRelPresent(@NonNull String rel) { return jsonHyperSchema != null && jsonHyperSchema.getByRel(rel).isPresent(); } }
curiousjgeorge/aws-sdk-cpp
aws-cpp-sdk-es/include/aws/es/model/ZoneAwarenessConfig.h
<filename>aws-cpp-sdk-es/include/aws/es/model/ZoneAwarenessConfig.h<gh_stars>1-10 /* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file 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. */ #pragma once #include <aws/es/ElasticsearchService_EXPORTS.h> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ElasticsearchService { namespace Model { /** * <p>Specifies the zone awareness configuration for the domain cluster, such as * the number of availability zones.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ZoneAwarenessConfig">AWS * API Reference</a></p> */ class AWS_ELASTICSEARCHSERVICE_API ZoneAwarenessConfig { public: ZoneAwarenessConfig(); ZoneAwarenessConfig(Aws::Utils::Json::JsonView jsonValue); ZoneAwarenessConfig& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** * <p>An integer value to indicate the number of availability zones for a domain * when zone awareness is enabled. This should be equal to number of subnets if VPC * endpoints is enabled</p> */ inline int GetAvailabilityZoneCount() const{ return m_availabilityZoneCount; } /** * <p>An integer value to indicate the number of availability zones for a domain * when zone awareness is enabled. This should be equal to number of subnets if VPC * endpoints is enabled</p> */ inline bool AvailabilityZoneCountHasBeenSet() const { return m_availabilityZoneCountHasBeenSet; } /** * <p>An integer value to indicate the number of availability zones for a domain * when zone awareness is enabled. This should be equal to number of subnets if VPC * endpoints is enabled</p> */ inline void SetAvailabilityZoneCount(int value) { m_availabilityZoneCountHasBeenSet = true; m_availabilityZoneCount = value; } /** * <p>An integer value to indicate the number of availability zones for a domain * when zone awareness is enabled. This should be equal to number of subnets if VPC * endpoints is enabled</p> */ inline ZoneAwarenessConfig& WithAvailabilityZoneCount(int value) { SetAvailabilityZoneCount(value); return *this;} private: int m_availabilityZoneCount; bool m_availabilityZoneCountHasBeenSet; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws
kaist-plrg/jest
data/generated/335.js
<gh_stars>1-10 var x = new Promise ( 0 ) ;
Chiracism/Front-Container
src/components/_dashboard/categorie/index.js
export { default as CategorieListToolbar } from './CategorieListToolbar'; export { default as CategorieMoreMenu } from './CategorieMoreMenu';
appsw/NewShopBKY
app/src/main/java/bai/kang/yun/zxd/mvp/ui/adapter/GoodsCategoryListAdapter.java
package bai.kang.yun.zxd.mvp.ui.adapter; import android.view.View; import com.jess.arms.base.BaseHolder; import com.jess.arms.base.DefaultAdapter; import java.util.List; import bai.kang.yun.zxd.R; import bai.kang.yun.zxd.mvp.model.entity.ReturnCategory; import bai.kang.yun.zxd.mvp.ui.holder.GoodsCategoryListItemHolder; /** * Created by Administrator on 2017/4/18 0018. */ public class GoodsCategoryListAdapter extends DefaultAdapter<ReturnCategory.DataEntity> { public GoodsCategoryListAdapter(List<ReturnCategory.DataEntity> infos) { super(infos); } GoodsCategoryListItemHolder goodsCategoryListItemHolder; @Override public BaseHolder<ReturnCategory.DataEntity> getHolder(View v, int viewType) { goodsCategoryListItemHolder=new GoodsCategoryListItemHolder(v); return goodsCategoryListItemHolder; } @Override public int getLayoutId(int viewType) { return R.layout.item_find_left; } }
kelby0320/mug
src/io_event/io_request_event.h
<filename>src/io_event/io_request_event.h #ifndef IO_REQUEST_EVENT_H #define IO_REQUEST_EVENT_H #include "routing_table.h" typedef struct { io_event_t event; struct mug_request *request; struct mug_response *response; routing_table_t *routing_table; } io_request_event_t; io_request_event_t* io_request_event_init(int, routing_table_t*); #endif
TairaSayo/magellan
graph/circle.go
<reponame>TairaSayo/magellan package graph import "github.com/hajimehoshi/ebiten" const defaultTexRadius = 512 var defaultCircle Tex func init() { defaultCircle = circleTex(defaultTexRadius) } func CircleTex() Tex { return defaultCircle } func circleTex(radius int) Tex { d := radius*2 + 1 img, _ := ebiten.NewImage(d, d, ebiten.FilterLinear) p := make([]byte, d*d*4) dw := d * 4 r2 := radius * radius for x := -radius; x <= radius; x++ { for y := -radius; y <= radius; y++ { if x*x+y*y <= r2 { ix := x + radius iy := y + radius for i := 0; i < 4; i++ { p[4*ix+dw*iy+i] = 255 } } } } img.ReplacePixels(p) return TexFromImage(img, ebiten.FilterLinear, 0, 0, 0, "~circle") }
mentaljam/msugeo
library/src/logoimage.hpp
<gh_stars>1-10 #ifndef LOGOIMAGE_HPP #define LOGOIMAGE_HPP #include <cstring> #include <gdal_priv.h> /// @brief LogoImage image class class LogoImage { public: LogoImage() {} unsigned int width() { return 262; } ///< Number of columns in image unsigned int height() { return 130; } ///< Number of lines in image unsigned int bands() { return 3; } ///< Number of image bands unsigned int size() { return 34060; } ///< Number of pixels in band /// Write band data to buffer unsigned char *data(const unsigned int &band) { if (band >= this->bands()) return 0; size_t offset = 0; for (unsigned int b = 0; b < band; offset += mDeflatedDataSize[b], ++b); return (unsigned char *)CPLZLibInflate(&mData[offset], mDeflatedDataSize[band], 0, 0, 0); } private: static const unsigned char mData[23489]; ///< Image data array unsigned int mDeflatedDataSize[3] = {8022, 7826, 7641}; ///< Sizes of deflated data of bands }; const unsigned char LogoImage::mData[] = { 0x78,0x9c,0xed,0x5d,0x77,0x5c,0x93,0x47,0xdc,0xff,0xe3,0x44,0xd4,0x5a,0xac,0x75, 0x54,0x6b,0x87,0xad,0xb6,0x56,0x5b,0x7,0x26,0x41,0x40,0x70,0xe3,0xd6,0x2a,0x4a, 0x5b,0x27,0xca,0x8,0x20,0x21,0x13,0x1c,0x58,0x51,0x8b,0x82,0x7b,0xf,0x44,0xd4, 0xaa,0x15,0x77,0x2d,0x43,0x11,0x7,0xb8,0x10,0x8,0x21,0x61,0xe3,0x9e,0xb8,0xa8, 0x32,0x54,0x56,0x80,0xdc,0x7b,0xf7,0x3c,0x79,0x92,0x90,0x3c,0x9,0x4f,0x4,0xec, 0xfb,0xbe,0x1f,0xbf,0x9f,0xf,0xcf,0xb8,0xbb,0xdc,0xfd,0xee,0xfb,0xdc,0xfd,0xee, 0x77,0x13,0x8,0x3f,0xe0,0x3,0x3e,0xe0,0x3,0x3e,0xe0,0x3,0x1a,0xf,0x95,0xff, 0xb5,0x0,0x4,0x94,0xd5,0xff,0x65,0xea,0xb5,0x91,0x1b,0x6a,0xfe,0xcb,0xf4,0x29, 0x5c,0x39,0xfd,0x1f,0x26,0x5e,0x18,0xe8,0xe9,0xd5,0x14,0x85,0xa1,0xa6,0x56,0xf3, 0xa8,0x24,0x1f,0x89,0x6b,0xb9,0xd6,0xb9,0x86,0x72,0x25,0x1e,0x6a,0x4f,0x84,0xaa, 0x20,0xac,0xae,0x22,0x1c,0x55,0x55,0x2a,0x7c,0xab,0x86,0x2a,0xa2,0x80,0x54,0xe2, 0xb7,0xaa,0x8a,0xb2,0x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x28,0x8c,0xf6,0x37,0x4e,0x82,0x48,0xcc,0xe2,0xd8,0xe5,0xe8,0x46, 0x7c,0x18,0x80,0xa5,0xcc,0x44,0x78,0xdb,0xb,0xb4,0x33,0xd4,0xad,0xf4,0x78,0xd3, 0x16,0x80,0x15,0xcc,0x82,0x16,0xb4,0x4,0x5f,0x33,0x8c,0x15,0x6e,0x17,0xf2,0xf, 0x3d,0xf0,0x25,0xa,0xc2,0xda,0x17,0x7f,0xe1,0xce,0xd2,0x48,0x63,0x2c,0xcc,0x36, 0x41,0x82,0x28,0xc0,0x9e,0xc3,0xae,0x93,0x95,0x5e,0x0,0x24,0x32,0x13,0x21,0x69, 0x6f,0x16,0x73,0xb3,0xe2,0xf1,0x6e,0x3b,0x10,0xc1,0x2c,0x68,0x6b,0x0,0x18,0xf6, 0xb0,0x4b,0x7e,0x17,0xf1,0xae,0x5e,0xc3,0x65,0x41,0x18,0x5e,0x14,0x4e,0x94,0x78, 0x77,0x1b,0x7a,0x12,0x6c,0xc,0x7b,0x52,0xba,0x2c,0xc,0x62,0x73,0xec,0x74,0x22, 0x7e,0xd4,0xa,0x18,0xef,0x1a,0x35,0xc,0xca,0x58,0x66,0xe1,0xfa,0x1,0xb0,0x8f, 0x59,0xc8,0x6c,0x81,0x68,0xde,0x83,0x63,0x28,0xf7,0xf3,0xa2,0x1e,0x86,0x90,0xd5, 0x5e,0x3c,0x93,0xd6,0x5e,0x62,0xf,0x32,0xa1,0x15,0x50,0xdb,0x32,0x82,0xcd,0xf9, 0x49,0x67,0x4d,0xc5,0x85,0x66,0xe6,0xb5,0xd7,0x4d,0x80,0x19,0x0,0x30,0x1c,0xa3, 0xda,0x26,0x14,0xf9,0x95,0x6d,0x41,0xb9,0x88,0x7b,0xb2,0x5c,0x53,0xc5,0x27,0xd3, 0xb1,0x30,0x4a,0x6c,0x82,0x3,0xf4,0xa3,0x69,0x2c,0xd4,0x86,0xe8,0x44,0xc,0xde, 0xa1,0x3f,0xd3,0xb8,0x8,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4a, 0x89,0xc4,0x47,0x20,0xb4,0xbc,0x95,0x4d,0xec,0xf6,0x77,0x57,0x6c,0x9d,0x65,0x4c, 0x2f,0xd8,0xaa,0x75,0xa3,0x90,0x66,0xc9,0x73,0x5,0x75,0x66,0x5e,0x28,0xad,0xd4, 0x10,0x5e,0xb3,0x57,0xef,0xa2,0xb5,0x86,0xf2,0x3a,0x99,0x36,0x60,0xa1,0x79,0x92, 0x52,0x6d,0xd1,0xb4,0x1e,0x6c,0x50,0xe8,0x48,0xbc,0xa4,0x4e,0x38,0xea,0x46,0xeb, 0xad,0x4c,0x8f,0x24,0xbd,0x2f,0xcb,0x6f,0xcb,0xa9,0x2e,0x5a,0x50,0x5a,0x25,0xac, 0x90,0xeb,0xb0,0x10,0x93,0x4a,0xa6,0x2b,0x96,0x87,0x8a,0xd6,0xa4,0xad,0x27,0x44, 0xc9,0x55,0xfc,0x8e,0xef,0x36,0xd9,0x7,0x85,0xa3,0xe8,0x59,0x60,0x8f,0x56,0xdb, 0xb,0x92,0x9b,0x34,0x29,0x27,0x51,0x85,0x5e,0x6c,0x84,0x6,0x78,0x9b,0x4f,0xf8, 0xdf,0x81,0x9a,0x1,0x7,0x7a,0x16,0xc0,0x68,0x18,0x47,0x7e,0x24,0xba,0x15,0xa6, 0x18,0xf7,0xbf,0xa4,0x82,0xd2,0x6f,0x99,0x54,0xca,0xc3,0x49,0xef,0xd4,0x8c,0x5b, 0xf2,0x36,0xea,0xa0,0x4b,0xf5,0x59,0x88,0x52,0xb3,0x20,0x94,0xaf,0x16,0x86,0x29, 0x8,0x55,0xc5,0xcb,0x94,0x11,0xc6,0x4f,0x8b,0xdc,0x38,0x1,0xdf,0x86,0x96,0x85, 0xfe,0xde,0xea,0xa2,0x10,0x4c,0x9b,0x74,0x28,0x25,0xd9,0x2f,0x46,0xd7,0xf7,0x96, 0xf8,0x7d,0x1,0xe6,0xc2,0xf0,0xba,0x79,0x36,0x64,0x1,0xa4,0x42,0x5b,0xf0,0xcd, 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64, 0x34,0x10,0xc2,0xab,0xb4,0xf0,0xe9,0x5a,0xd3,0x48,0x97,0x85,0x2f,0xe6,0x1c,0xc9, 0x30,0xb9,0x6b,0x31,0x46,0xdb,0x8a,0xae,0x36,0x1a,0xa8,0x26,0x33,0x81,0xc,0xf2, 0x97,0x2c,0x2b,0x4d,0x91,0xb1,0x9b,0x96,0x5,0xff,0xeb,0x49,0x64,0xa0,0x48,0x85, 0x70,0x63,0xee,0x3c,0xfc,0xd4,0x6a,0xf0,0xb0,0x61,0xc3,0x88,0xb2,0xd3,0x39,0xe7, 0x6f,0xbe,0xc8,0x2f,0x4a,0x9f,0x5,0x1b,0xaa,0x95,0x14,0x98,0xd8,0x9c,0x52,0x3b, 0x8e,0x92,0xb0,0x59,0xfd,0xeb,0x98,0x95,0x31,0x4b,0xc6,0x7c,0xd9,0xf1,0x53,0xab, 0x56,0x43,0xa1,0x75,0x2b,0xab,0x76,0x9d,0xfa,0x4e,0x5f,0x19,0x57,0xff,0x42,0xcf, 0x0,0xd,0x9,0x4b,0x4d,0xc8,0x91,0x77,0x85,0x34,0x58,0x57,0xc9,0xa,0x5e,0x16, 0xa8,0x95,0x84,0x3e,0xb,0x81,0x99,0xea,0x53,0xfe,0xa4,0xd7,0xbd,0x8f,0xe7,0xeb, 0x75,0x64,0xad,0x12,0xae,0x9,0x44,0x7e,0xff,0xd4,0x65,0x81,0x35,0xca,0x93,0xea, 0x4f,0x6,0x9a,0x9c,0x29,0x11,0xab,0x63,0xb1,0xaf,0x37,0x3b,0x24,0xca,0xb,0xef, 0x65,0xe5,0xc3,0xac,0xec,0x7b,0x34,0x16,0x20,0x2d,0x1e,0x53,0xca,0xce,0xe4,0x79, 0xf9,0x77,0x92,0xc9,0xe2,0x35,0x3,0x75,0xd7,0xca,0xe9,0x59,0xf0,0x8d,0xc8,0x23, 0x47,0x25,0xbb,0xdc,0x3a,0x39,0x2f,0xe9,0xba,0xce,0x90,0x27,0x46,0x8b,0x23,0x29, 0x8b,0xc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1e,0xb9,0x77,0x98,0x72,0x8f,0x1e,0xd,0x3c,0xac,0xdf,0x9f,0x87,0xb9, 0x60,0x15,0x15,0xa,0xbc,0xb,0xff,0xb6,0xbb,0x27,0xd7,0xe0,0xd7,0x42,0x3f,0xfc, 0x58,0x2c,0x6b,0x86,0x9f,0x96,0x71,0x74,0xaf,0x8e,0x4e,0x77,0x71,0xa1,0x52,0x91, 0x37,0x1,0xc0,0x60,0x18,0xae,0xdc,0x5e,0xcb,0x4e,0x19,0x80,0x71,0x13,0x39,0xe9, 0x85,0x73,0x0,0x18,0x9b,0x97,0x72,0x65,0xb5,0xc0,0x54,0x73,0xba,0xd4,0xc,0x2c, 0x25,0x29,0x31,0x89,0x85,0xe8,0x17,0x37,0x9b,0x35,0xb2,0x9b,0xc3,0x28,0xb4,0xfd, 0xee,0x7e,0xe4,0xd4,0x3a,0x76,0xfc,0x58,0x60,0x60,0xe0,0x6b,0xa7,0xf7,0xe3,0x61, 0xee,0xc8,0x84,0x12,0x36,0x11,0x1,0x3,0xda,0xb9,0xe5,0x12,0xf8,0x95,0x9f,0xb, 0x6b,0xae,0xf6,0x66,0xf5,0x4d,0xc8,0x85,0x60,0x13,0x80,0xa9,0x26,0x3a,0x59,0x6b, 0xf8,0x38,0x58,0x95,0xc2,0xda,0xee,0xab,0x1,0xa0,0x6d,0x64,0x75,0x6c,0x13,0x8c, 0xa6,0x5c,0x7,0x73,0x71,0x33,0x60,0x2b,0x21,0x69,0xd,0x54,0xa5,0x96,0xcd,0x80, 0x4b,0x15,0x74,0xda,0xd4,0xeb,0xe8,0x73,0x21,0xf4,0x2c,0xd8,0xa6,0x7f,0xbc,0x3e, 0xb0,0xf,0xf9,0x5c,0x92,0x1d,0xd,0xa4,0x71,0x74,0x9f,0x24,0xcb,0x5,0x57,0x7a, 0x1,0x48,0xce,0x81,0x2,0x50,0x5,0x40,0xd1,0x3c,0xb8,0x99,0x59,0xb0,0xa,0xb6, 0x14,0x96,0xe9,0x1e,0x0,0x9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, 0xce,0xa1,0x9a,0x6b,0xab,0xab,0x1b,0xdb,0xca,0x5b,0x46,0x3f,0x4a,0x47,0x34,0x10, 0x65,0xad,0x4,0xd7,0xda,0x16,0x87,0x33,0x8c,0x40,0x3b,0xde,0x38,0x46,0xb6,0x97, 0x6b,0xc3,0x6c,0x1b,0xea,0x5,0x4a,0xb4,0x42,0x65,0x48,0x19,0xa9,0xb1,0x82,0xee, 0x24,0x66,0x87,0x9c,0xf8,0xf4,0x2d,0x50,0x4d,0x6b,0xcc,0x2c,0x90,0x4e,0xef,0x8f, 0x38,0xb,0x96,0x59,0x69,0x10,0xa6,0xf4,0x0,0x73,0x17,0xae,0x84,0x6,0xea,0x46, 0x53,0x34,0x2b,0x3b,0x58,0x90,0x4c,0xef,0xf9,0x96,0x59,0xf4,0x34,0x21,0xd7,0x2, 0xf1,0x71,0xaa,0xe8,0x7d,0x4e,0x25,0xc6,0xc,0x5b,0x53,0x1a,0x2d,0x95,0xef,0xcc, 0x42,0xc0,0x7b,0x95,0xe,0x69,0xa0,0x74,0x9f,0x64,0x63,0x25,0x3a,0x6d,0xcf,0x85, 0xf6,0x2,0x85,0xd4,0xce,0x2,0x99,0x21,0xcf,0x69,0xf1,0xa4,0x41,0xed,0xb4,0x4, 0x12,0xe5,0x5c,0xd4,0xed,0x96,0x87,0x85,0xe8,0x30,0x7b,0x35,0x86,0x8f,0x42,0x39, 0x98,0x8c,0x45,0x72,0x11,0x33,0x5,0x4c,0x4,0x86,0x7e,0x11,0x6b,0x4,0x25,0x4c, 0xb7,0x91,0xd,0xd2,0x98,0x62,0x36,0x80,0x15,0x74,0x7,0x8b,0xe8,0xb3,0x80,0x51, 0xd4,0xd0,0x42,0x93,0xe7,0x1,0xd8,0xae,0x71,0x6c,0xc0,0x8d,0xf2,0x58,0x6a,0x47, 0xf3,0x26,0xe1,0x58,0xe5,0x35,0x6f,0x28,0x7c,0xbf,0x73,0x81,0xab,0x7b,0x4d,0x73, 0x1e,0x2c,0x4,0xdc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c6,0xc3,0xf5,0xb4,0x27,0x62, 0x4f,0x87,0xa5,0xa,0x44,0xa8,0x44,0x3a,0x1d,0x9f,0x63,0x16,0x98,0xb3,0xa5,0xde, 0x8a,0xf2,0x6b,0x1f,0x99,0xb,0x6e,0x52,0x15,0x6e,0xfa,0xce,0x99,0x5,0x3b,0x1e, 0xa3,0x27,0x62,0x75,0xad,0xf4,0xc5,0xef,0x7,0x50,0x21,0xfb,0xde,0xa2,0x2f,0xe4, 0x6,0x7,0xb,0x36,0xd4,0xc2,0xc4,0x1a,0xff,0x96,0x98,0xb8,0x61,0x5c,0x80,0xa7, 0x41,0x49,0x46,0x5b,0x19,0x82,0x63,0x2b,0xbd,0x1e,0xe8,0x40,0x8b,0x8a,0x59,0x8e, 0x86,0x2a,0xa6,0x45,0x30,0x85,0xf3,0xdf,0x46,0xe6,0x86,0x19,0x43,0xde,0x83,0x2e, 0x45,0xe0,0x62,0xe1,0xa9,0x6,0xda,0xf,0xdf,0x27,0x62,0xd4,0x2,0xbd,0x93,0x48, 0x97,0x4b,0x5f,0xfc,0xa1,0x9f,0x20,0xba,0x3d,0x59,0xa0,0xf6,0x76,0x84,0x72,0x5d, 0x84,0x5c,0x72,0x3,0xcc,0x9,0x60,0x27,0x73,0x3e,0x46,0xf4,0xf7,0x30,0xe7,0xb6, 0x7d,0x7d,0x78,0x90,0xf5,0x8c,0xad,0x66,0x20,0xdf,0xc5,0x1a,0xc6,0xee,0x30,0xd3, 0x63,0xde,0x26,0x69,0x77,0x84,0xf5,0x12,0xd5,0xfc,0xf1,0x1d,0x58,0xf8,0x85,0x8e, 0x9e,0xa0,0x23,0x6,0x19,0xb5,0xc0,0xac,0x88,0xa5,0xea,0x68,0xc5,0xf0,0xd4,0x10, 0xd9,0x6d,0x1b,0x47,0x38,0x58,0x20,0xf7,0x78,0xe8,0x4c,0x4a,0xfa,0xad,0x77,0x54, 0x40,0x1d,0x86,0x36,0x93,0x97,0x87,0x3a,0x6f,0x6e,0xb1,0x16,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,0x8c,0xbb,0xc9,0x96,0x4a,0xc5,0xa2,0x70,0x9b,0x5,0x4b, 0xda,0x71,0xa,0x87,0x76,0xee,0xec,0xdf,0x6a,0x59,0xca,0x22,0x5,0xca,0x21,0xa6, 0x0,0xd,0xff,0x17,0xc7,0x63,0x39,0xf8,0x95,0x9c,0x81,0x1f,0xa9,0x81,0x11,0xf8, 0xc9,0x72,0xcd,0xee,0xe5,0xf2,0x85,0x93,0x1e,0xb3,0x3d,0xa,0x5b,0x43,0x41,0x5a, 0x8a,0x39,0xab,0x1,0xe5,0x8a,0xda,0x4c,0x8e,0x4,0x64,0x7e,0x24,0x6d,0x33,0x79, 0x41,0x69,0x48,0xe7,0x2a,0x1,0xd6,0x65,0xd4,0xe8,0x9d,0xe8,0x17,0x99,0x91,0x49, 0x2a,0x1b,0x46,0xa9,0x22,0xbd,0x14,0x35,0x65,0x7d,0x37,0xef,0xea,0xef,0xef,0xdf, 0xf1,0xfc,0x52,0x14,0xd6,0x48,0xd6,0x2,0x0,0x73,0x2a,0x98,0x98,0x4c,0x64,0x5d, 0xf0,0xcb,0x61,0x83,0xed,0x37,0x94,0x19,0xca,0x40,0x2c,0x30,0xf8,0x2c,0x36,0xcc, 0x65,0xf3,0x2b,0xa3,0x20,0x67,0x82,0xad,0x3d,0x33,0x4,0x2f,0xc2,0xf9,0xb9,0x2, 0x88,0x18,0xd3,0x80,0xd1,0xd2,0xa0,0xa8,0x37,0xe4,0xc0,0xa0,0x71,0x80,0x6,0x11, 0xf,0x97,0xd7,0x94,0x46,0x9f,0x49,0x85,0x7,0x14,0xb9,0x1f,0xe7,0x67,0x96,0xa0, 0x9e,0xd1,0x57,0x76,0xf6,0x73,0xb4,0x73,0x39,0x4,0x53,0x3c,0x4,0x80,0xc1,0x6, 0xeb,0x39,0x8,0x11,0x48,0x80,0x8c,0xc5,0x91,0x3,0x5,0x33,0x4b,0x4f,0x0,0x30, 0xe2,0x82,0xb0,0x38,0xf8,0x97,0xfa,0xc6,0xe0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0x77,0xdc,0x2c,0x60, 0xb0,0xed,0x21,0xc7,0x99,0xae,0xd8,0xe9,0x24,0xc7,0x57,0xba,0x78,0xea,0x83,0x17, 0x85,0xab,0x7e,0x22,0x58,0xa,0x1f,0xfc,0x87,0xf0,0xa4,0x4e,0x1b,0xfd,0xb0,0xab, 0x4c,0xef,0x80,0xcc,0x9d,0xdf,0xba,0x9a,0x1b,0xc,0x8f,0xfb,0xce,0x74,0xb5,0x2a, 0x94,0x4b,0x25,0x12,0x89,0xfc,0x72,0xbf,0x65,0x7d,0x5,0x85,0x6f,0x7d,0x74,0xde, 0x1b,0x18,0x32,0x17,0xb6,0xe3,0x67,0xd4,0xa5,0xaf,0xa5,0xb8,0x56,0xc9,0x91,0x2e, 0xb6,0xbc,0xef,0xa1,0xce,0xa9,0xc0,0x70,0xfe,0x18,0x88,0xed,0xea,0xdf,0xfe,0xec, 0x52,0xf8,0x22,0x4b,0x43,0x29,0x9c,0x14,0x48,0x99,0x5b,0xde,0x37,0x6d,0xa9,0xa0, 0xd0,0x15,0x2,0x99,0x7f,0xdd,0x65,0xfd,0xf,0x24,0x11,0xc6,0xcb,0x20,0x90,0xf8, 0x92,0x38,0xcb,0x2d,0xc8,0xf3,0x2e,0x28,0x7c,0xa9,0x82,0xc2,0x45,0x80,0xfd,0x34, 0xb1,0x8c,0x6f,0xeb,0x98,0x3c,0x15,0x14,0x88,0x0,0x58,0x2e,0xc5,0x5d,0x7c,0xf9, 0x96,0x1d,0x0,0x1c,0xae,0x76,0x86,0xcf,0x96,0xe9,0x45,0x9d,0x11,0x5b,0x4,0x51, 0xbf,0xc7,0xac,0xb,0x3,0x73,0x15,0x5,0x37,0xf0,0x6b,0x28,0xf7,0xd8,0x4c,0x72, 0xa9,0xdf,0x36,0x70,0xcf,0xce,0xfe,0xed,0x3e,0x90,0xfd,0x56,0x19,0x84,0x73,0x2e, 0x89,0xce,0x9e,0xd1,0xbe,0x50,0x30,0x50,0x26,0xbd,0xea,0xb3,0xe2,0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0x52,0x37,0x7f,0x2e,0x48, 0x31,0x82,0x94,0x30,0x3f,0xc1,0xd3,0x38,0xa9,0x90,0xee,0x55,0xa5,0x68,0xdf,0x85, 0x76,0xc1,0x72,0xcc,0x3c,0xde,0x63,0x4a,0x76,0xb7,0x2,0x61,0xed,0x3,0x91,0x56, 0x20,0xd0,0xcc,0x89,0xee,0x9e,0x6,0x1,0xa9,0x20,0x6d,0x12,0xab,0x50,0xd2,0x90, 0x52,0xbd,0x61,0xf,0x49,0x48,0x75,0xce,0x62,0xa,0x5c,0x5a,0x70,0x1e,0xd5,0x20, 0xce,0x98,0xbf,0x9f,0xe1,0x39,0x19,0xdf,0xb1,0x2d,0x96,0xa0,0x5b,0xa1,0xd0,0xf7, 0x40,0xa1,0x25,0x8,0x50,0x4f,0xac,0x93,0x6d,0xaa,0xb,0x23,0xcc,0x60,0x84,0x5f, 0x5a,0x15,0x8a,0x26,0x52,0x23,0x35,0x2,0x51,0x54,0x13,0x84,0x98,0x52,0x16,0xa1, 0xac,0x92,0xd0,0x4b,0x2c,0x15,0x24,0xe9,0xd4,0x5b,0x9b,0xb9,0x88,0x41,0xc6,0xb4, 0xee,0x6d,0x64,0x9,0xdc,0xd3,0x4a,0x28,0x9c,0x6a,0x3,0x2,0x5d,0xbc,0xba,0x4f, 0xf6,0x56,0x6d,0xc1,0x26,0x12,0x97,0x38,0x6d,0x46,0x7,0x93,0xd2,0xcd,0x8a,0xec, 0xb4,0x5,0x93,0x28,0xf5,0x54,0x24,0x2e,0xb1,0x5c,0x96,0xa1,0xb3,0xf7,0xde,0x8d, 0x84,0x23,0xf3,0xf1,0xc5,0x1f,0x71,0x76,0xb4,0x71,0x83,0x38,0xa,0x1b,0x75,0xed, 0x50,0x28,0x6c,0xed,0x95,0x5d,0x53,0x5b,0x5b,0x25,0x89,0x2d,0xd3,0xba,0x10,0x56, 0xa2,0xd5,0x40,0x11,0x84,0xc4,0xe9,0x6c,0xe8,0x45,0x15,0x2f,0x7f,0xd,0x72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0x19,0x5b,0x44,0x2a,0x10, 0x44,0x41,0x52,0x34,0x9a,0x85,0xd6,0x12,0xb3,0x75,0x1b,0xfe,0xcf,0x96,0x6,0x96, 0xde,0x13,0x7a,0xc2,0x3d,0xc2,0x38,0x60,0xbc,0x9b,0x26,0xe7,0xeb,0xb,0x73,0xeb, 0x64,0xb2,0xea,0x82,0x18,0x15,0x49,0x2c,0x24,0xf6,0xb7,0x94,0x84,0x56,0xd2,0x4a, 0x51,0x95,0x25,0xc8,0x64,0xe8,0xca,0xfb,0xd6,0x1e,0x6f,0xec,0xee,0xd1,0x6d,0xbd, 0x8,0x85,0xf5,0xd3,0x65,0x69,0x90,0xbf,0x5f,0x33,0x1f,0xa,0x45,0xd8,0x17,0x7e, 0x5c,0x29,0x9a,0x38,0xf3,0x72,0x61,0x4,0x27,0x9,0x29,0x28,0x14,0x61,0xe5,0x47, 0x65,0x5b,0x5e,0x68,0x8a,0x2c,0x33,0x41,0x64,0x41,0xf6,0xde,0x91,0xab,0xdc,0x49, 0xb4,0xd5,0x93,0x1c,0x50,0xbb,0x7b,0x65,0x2b,0x2a,0x6f,0x95,0xa3,0x35,0xfd,0x67, 0x96,0x6,0x8,0x12,0x97,0x32,0x31,0x81,0x62,0xae,0x8e,0x8b,0xb6,0x88,0x30,0x98, 0x7c,0x16,0xaa,0x89,0x9e,0xfb,0xcb,0xc2,0x80,0x99,0x34,0xc,0x15,0x13,0xcd,0xd9, 0x6a,0x29,0x61,0x93,0xc9,0x56,0x57,0x22,0xe9,0x18,0x49,0xaa,0x96,0x91,0x43,0x29, 0x64,0x20,0xa5,0xf5,0x5,0xe4,0x3f,0x44,0x77,0xbb,0xc5,0x94,0xa0,0x7e,0x23,0xec, 0xb,0x37,0x73,0xa1,0xe9,0x58,0x9c,0xe,0xef,0x7d,0xe6,0x5f,0x6e,0xb4,0x44,0x5a, 0xb8,0xd5,0x65,0x7a,0x5a,0xb6,0xee,0x9d,0x72,0xd1,0x4,0x49,0x62,0xb,0x58,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0x41,0x39, 0x86,0x1b,0xc2,0xcb,0xcc,0x80,0x5,0x91,0x51,0x7d,0xf2,0xd4,0x4b,0x5e,0x1e,0x84, 0x41,0xb3,0x40,0xd6,0x58,0x33,0x0,0x75,0x28,0x44,0x51,0xed,0x7,0xda,0xd4,0x32, 0xa4,0x2b,0xef,0x15,0xe4,0x4f,0x5d,0x4a,0x7b,0x14,0xe5,0x96,0xd6,0x14,0xc0,0xc, 0xe,0xc7,0x93,0x85,0x24,0x67,0x40,0xba,0xba,0x9b,0x6e,0x8,0x61,0x95,0x71,0x56, 0xd6,0x48,0xdb,0xdb,0x45,0x77,0xd5,0xa8,0x68,0xf1,0xf8,0x42,0xca,0x4f,0xd9,0x9d, 0x9f,0x1c,0x7a,0xe5,0xd5,0x23,0xa7,0x5c,0x16,0x6b,0x28,0x49,0x87,0x29,0xca,0x35, 0xa0,0x95,0x7f,0xfc,0xa7,0x63,0x72,0x83,0xdb,0x66,0xf5,0x86,0x6a,0xfa,0x3,0x63, 0x32,0x29,0x55,0x88,0x34,0x66,0x6c,0x40,0x40,0x81,0x52,0x29,0x10,0x99,0xcc,0x2d, 0x50,0xa8,0xb4,0x7e,0x4e,0x89,0xd6,0xb3,0xb7,0x68,0x2e,0x36,0xe2,0x51,0xf0,0xdb, 0x7f,0x8,0xc2,0x8d,0xda,0x38,0x39,0xaa,0x97,0x97,0xd7,0xc1,0x13,0xfa,0x34,0x18, 0x83,0x17,0x36,0xb4,0xb7,0x54,0xee,0x7,0x69,0x4d,0x99,0x6d,0x1c,0x33,0xfa,0x33, 0xe8,0xac,0x2e,0xd,0x9f,0x97,0xc0,0x8c,0x1,0xf1,0xa9,0x41,0x34,0x5f,0x8b,0xde, 0x2f,0x6a,0x34,0x4d,0x9b,0x2d,0xfa,0x1b,0xbf,0xcc,0x6d,0x33,0x3f,0xe7,0x82,0x7, 0x6c,0xde,0x34,0x3d,0x6b,0xfe,0x78,0xc5,0xf9,0xe7,0x9c,0x73,0x4e,0x17,0xfc,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0xd,0xce,0xb6,0xdf,0xb5,0x18, 0xa9,0x9c,0xd8,0xd0,0x14,0xd2,0xa8,0x41,0xca,0x8e,0xf3,0x28,0x1c,0xa6,0x1c,0x26, 0xab,0xed,0x55,0x71,0x14,0x2c,0x1a,0x3e,0xd3,0xdb,0x26,0x7a,0xca,0x76,0x2b,0x4a, 0x7d,0x69,0x6d,0x77,0x77,0x37,0xd7,0x77,0xbe,0xe1,0x18,0x64,0xe8,0x84,0xc7,0x53, 0x8f,0x42,0xdf,0xc6,0xc7,0xcb,0x53,0x99,0xad,0x2,0x80,0x88,0x2a,0x1,0x53,0xc5, 0xfc,0xab,0x61,0x4b,0x11,0xbf,0x43,0xa7,0x51,0xab,0x94,0x36,0x40,0x29,0xd5,0x1a, 0xad,0xc9,0x1d,0x98,0xef,0x34,0xe,0x80,0x96,0x98,0x96,0x41,0x68,0xb3,0x75,0xb3, 0xe4,0x56,0x72,0xfd,0xba,0xeb,0x49,0x6a,0x32,0x32,0x29,0x8,0x89,0x46,0x14,0xe6, 0xcc,0xc2,0x29,0x7f,0x6,0x6b,0x72,0xc8,0xf5,0xbd,0xae,0x3a,0x3a,0xf,0xb7,0x41, 0x14,0xdc,0xf5,0x28,0x74,0xdf,0x6b,0x2b,0xeb,0x87,0xf6,0x41,0xf7,0x61,0x21,0x9c, 0x26,0x75,0xa9,0x53,0x29,0x9f,0x49,0xa6,0x40,0x32,0x99,0x91,0xba,0x7a,0x36,0x2b, 0xc4,0x26,0xf1,0xb6,0xab,0xda,0x86,0x75,0xbc,0xf8,0xbf,0x8e,0xa,0x42,0x1b,0x41, 0x14,0x85,0x84,0xdf,0xc9,0x47,0x25,0xff,0x7a,0x70,0x28,0x69,0xd3,0x7c,0xb5,0x1e, 0x85,0x73,0xdf,0xb5,0x44,0x1b,0x51,0xe8,0x7b,0xb0,0x1a,0x5e,0x98,0xa7,0xba,0x5e, 0x5e,0x4f,0x74,0x7e,0xc0,0x92,0x54,0x12,0x6c,0xc6,0xf6,0x53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xf8,0xd,0xbc,0xa6,0x44,0xfa,0xa2, 0x60,0x47,0xa1,0xe5,0xd3,0xff,0x37,0x5f,0xd8,0x42,0x26,0x95,0x4c,0x70,0x87,0x3a, 0x22,0x49,0x90,0x48,0xa6,0x24,0xc7,0x7e,0x16,0x41,0x41,0xcf,0x30,0xff,0x96,0x69, 0x13,0x81,0xe9,0xb8,0x69,0x8c,0x92,0x6f,0x99,0xff,0xae,0xca,0xbc,0xc4,0x56,0xe9, 0x74,0xbf,0xba,0x94,0xcb,0x9d,0x6,0xd4,0xcf,0xd2,0x59,0x3a,0x4b,0x67,0xe9,0x2c, 0xfd,0xf7,0xa6,0xff,0xf,0xbb,0xfe,0xb8,0xf0, }; #endif // LOGOIMAGE_HPP
Chr0nos/motorized
motorized/client.py
<gh_stars>1-10 from typing import Optional from motor.motor_asyncio import AsyncIOMotorClient, AsyncIOMotorDatabase from contextlib import asynccontextmanager class Connection: client: AsyncIOMotorClient = None database: AsyncIOMotorDatabase = None async def connect(self, *args, **kwargs): print(f'Connection to {args} {kwargs}') self.client = AsyncIOMotorClient(*args, **kwargs) self.database = self.client.get_default_database() async def disconnect(self) -> None: self.client = None self.database = None @asynccontextmanager async def client( *args, client: Optional[AsyncIOMotorClient] = None, **kwargs ): if not client: client = AsyncIOMotorClient(*args, **kwargs) old_client = connection.client old_database = connection.database connection.client = client connection.database = client.get_default_database() yield connection.client = old_client connection.database = old_database connection = Connection()
rollinhand/depot-ee
src/main/java/org/kivio/security/ShiroProducer.java
package org.kivio.security; import org.apache.shiro.SecurityUtils; import org.apache.shiro.mgt.SecurityManager; import org.apache.shiro.session.Session; import org.apache.shiro.subject.Subject; import javax.enterprise.inject.Produces; import javax.inject.Singleton; /** * Producer for some of the important security management components * of Apache Shiro framework. With this producer Shiro components can * be injected by CDI context. * * @author <NAME>, <EMAIL> * @version 1.0 * @since 2018-03-18 */ @Singleton public class ShiroProducer { @Produces public SecurityManager createSecurityManager() { // by default this uses an INI filter configuration return SecurityUtils.getSecurityManager(); } @Produces public Subject createSubject() { return SecurityUtils.getSubject(); } @Produces public Session createSession() { return SecurityUtils.getSubject().getSession(); } }
interactivefiction/gnome-inform7-chimara
interpreters/bocfel/random.h
#ifndef ZTERP_MT_H #define ZTERP_MT_H void seed_random(long); void zrandom(void); #endif
MintaiDS/White
Source/Engine/Graphics/Core/Game.h
#pragma once #include "Renderer.h" namespace White { namespace Engine { namespace Graphics { class Renderer; class Game { public: Game(Renderer& renderer); virtual void Play(); protected: Renderer& renderer; }; } } }
OluSure/Hacktoberfest2021-1
Contributions/C++ Practice Problems/creating a class.cpp
#include <iostream> #include <string> using namespace std; class Student { private: string name; int marks; public: void getDetails(); void setDetails(); }; void Student::setDetails() { cout << "Enter the name : " << endl; cin >> name; cout << "Enter total marks : " << endl; cin >> marks; } void Student::getDetails() { cout << "Name : " << name << " ,marks : " << marks << endl; } int main(int argc, char const *argv[]) { int count; cout << "Enter the count of students : "; cin >> count; if (count > 0) { Student studentArray[count]; for (int i = 0; i < count; i++) { cout << "For student " << i + 1 << " :" << endl; studentArray[i].setDetails(); } cout << "\nYou have entered : " << endl; for (int i = 0; i < count; i++) { studentArray[i].getDetails(); } } else { cout << "Please enter a valid number." << endl; } return 0; }
onap/vvp-engagementmgr
django/engagementmanager/tests/test_base_transaction_entity.py
<filename>django/engagementmanager/tests/test_base_transaction_entity.py # # ============LICENSE_START========================================== # org.onap.vvp/engagementmgr # =================================================================== # Copyright © 2017 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed # under the Apache License, Version 2.0 (the “License”); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # 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. # # # # Unless otherwise specified, all documentation contained herein is licensed # under the Creative Commons License, Attribution 4.0 Intl. (the “License”); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # # https://creativecommons.org/licenses/by/4.0/ # # Unless required by applicable law or agreed to in writing, documentation # 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. # # ============LICENSE_END============================================ # # ECOMP is a trademark and service mark of AT&T Intellectual Property. from abc import ABCMeta, abstractmethod import http.client import django from django.conf import settings from django.test.client import Client from django.test.testcases import TransactionTestCase from engagementmanager.tests.vvpEntitiesCreator import VvpEntitiesCreator from engagementmanager.service.logging_service import LoggingServiceFactory django.setup() logger = LoggingServiceFactory.get_logger() class TestBaseTransactionEntity(TransactionTestCase): __metaclass__ = ABCMeta def setUp(self): logger.debug("---------------------- TransactionTestCase " + self.__class__.__name__ + " ----------------------") self.urlPrefix = "/%s/v1/engmgr/" % settings.PROGRAM_NAME_URL_PREFIX self.conn = http.client.HTTPConnection( "127.0.0.1", 8000) # @UndefinedVariable self.c = Client() self.creator = VvpEntitiesCreator() settings.IS_SIGNAL_ENABLED = False self.childSetup() def tearDown(self): settings.IS_SIGNAL_ENABLED = True self.conn.close() logger.debug("---------------------- TransactionTestCase " + self.__class__.__name__ + " ---------------------- ") @abstractmethod def childSetup(self): pass def randomGenerator(self, typeOfValue, numberOfDigits=0): return self.creator.randomGenerator(typeOfValue, numberOfDigits) def loginAndCreateSessionToken(self, user): return self.creator.loginAndCreateSessionToken(user)
STEllAR-GROUP/hpxcl
tests/unit/opencl/cl_tests.hpp
// Copyright (c) 2013 <NAME> // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <hpx/config.hpp> #include <hpx/hpx.hpp> #include <hpx/hpx_init.hpp> #include <hpx/util/lightweight_test.hpp> //#include <hpx/util/static.hpp> #include <hpx/include/iostreams.hpp> #include <hpxcl/opencl.hpp> using boost::program_options::options_description; using boost::program_options::value; using boost::program_options::variables_map; // the main test function static void cl_test(hpx::opencl::device, hpx::opencl::device); /* #define TEST_CL_BUFFER(buffer, value) \ { \ std::shared_ptr<std::vector<char>> out1 = \ buffer.enqueue_read(0, DATASIZE).get().get_data().get();\ HPX_TEST_EQ(std::string((const char*)(value)), std::string(out1->data())); \ } */ #define CREATE_BUFFER(name, data) \ static const buffer_type name(data, sizeof(data), \ buffer_type::init_mode::reference) #define COMPARE_RESULT_INT(result_data, correct_result) \ { \ auto lhs = result_data; \ auto rhs = correct_result; \ HPX_TEST_EQ(lhs.size(), rhs.size()); \ for (std::size_t i = 0; i < lhs.size(); i++) { \ std::cout << std::hex << lhs[i] << "-" << rhs[i] << std::endl; \ HPX_TEST_EQ(lhs[i], rhs[i]); \ } \ } typedef hpx::serialization::serialize_buffer<char> buffer_type; typedef hpx::serialization::serialize_buffer<uint32_t> intbuffer_type; typedef hpx::serialization::serialize_buffer<uint16_t> int16buffer_type; std::string to_string(buffer_type buf) { std::size_t length = 0; while (length < buf.size()) { if (buf[length] == '\0') break; length++; } return std::string(buf.data(), buf.data() + length); } #define COMPARE_RESULT(result_data, correct_result) \ { \ auto lhs = result_data; \ auto rhs = correct_result; \ HPX_TEST_EQ(lhs.size(), rhs.size()); \ std::string correct_string = to_string(rhs); \ std::string result_string = to_string(lhs); \ HPX_TEST_EQ(correct_string, result_string); \ } static void print_testdevice_info(hpx::opencl::device& cldevice, std::size_t device_id, std::size_t num_devices) { // Test whether get_device_info works std::string version = cldevice.get_device_info<CL_DEVICE_VERSION>().get(); // Test whether version is a valid OpenCL version string std::string versionstring = std::string("OpenCL "); HPX_TEST(0 == version.compare(0, versionstring.length(), versionstring)); // Write Info Code hpx::cout << "Device ID: " << device_id << " / " << num_devices << hpx::endl; hpx::cout << "Device GID: " << cldevice.get_id() << hpx::endl; hpx::cout << "Version: " << version << hpx::endl; hpx::cout << "Name: " << cldevice.get_device_info<CL_DEVICE_NAME>().get() << hpx::endl; hpx::cout << "Vendor: " << cldevice.get_device_info<CL_DEVICE_VENDOR>().get() << hpx::endl; hpx::cout << "Profile: " << cldevice.get_device_info<CL_DEVICE_PROFILE>().get() << hpx::endl; // Test for valid device client HPX_TEST(cldevice.get_id()); } static std::vector<hpx::opencl::device> init(variables_map& vm) { std::size_t device_id = 0; if (vm.count("deviceid")) device_id = vm["deviceid"].as<std::size_t>(); // Try to get remote devices std::vector<hpx::opencl::device> remote_devices = hpx::opencl::create_remote_devices(CL_DEVICE_TYPE_ALL, "OpenCL 1.1") .get(); std::vector<hpx::opencl::device> local_devices = hpx::opencl::create_local_devices(CL_DEVICE_TYPE_ALL, "OpenCL 1.1").get(); // If no remote devices present, get local device if (remote_devices.empty()) { hpx::cout << "WARNING: No remote devices found." << hpx::endl; remote_devices = local_devices; } HPX_ASSERT(!remote_devices.empty()); HPX_ASSERT(!local_devices.empty()); HPX_TEST(local_devices.size() > device_id); HPX_TEST(remote_devices.size() > device_id); // Choose device hpx::opencl::device local_device = local_devices[device_id]; hpx::opencl::device remote_device = remote_devices[device_id]; // Print info hpx::cout << "Local device:" << hpx::endl; print_testdevice_info(local_device, device_id, local_devices.size()); hpx::cout << "Remote device:" << hpx::endl; print_testdevice_info(remote_device, device_id, remote_devices.size()); // return the devices std::vector<hpx::opencl::device> devices; devices.push_back(local_device); devices.push_back(remote_device); return devices; } int hpx_main(variables_map& vm) { { auto devices = init(vm); hpx::cout << hpx::endl; cl_test(devices[0], devices[1]); } hpx::finalize(); return hpx::util::report_errors(); } /////////////////////////////////////////////////////////////////////////////// int main(int argc, char* argv[]) { // Configure application-specific options options_description cmdline("Usage: " HPX_APPLICATION_STRING " [options]"); cmdline.add_options()("deviceid", value<std::size_t>()->default_value(0), "the ID of the device we will run our tests on"); return hpx::init(cmdline, argc, argv); }
woflydev/general-projects
diskreet-blockchain/ts/components/conversation/Emojify.js
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Emojify = void 0; const react_1 = __importDefault(require("react")); const defaultRenderNonEmoji = (text) => react_1.default.createElement(react_1.default.Fragment, null, text || ''); const Emojify = (props) => { const { text, renderNonEmoji, sizeClass, isGroup } = props; if (!renderNonEmoji) { return react_1.default.createElement(react_1.default.Fragment, null, defaultRenderNonEmoji(text)); } const rendered = renderNonEmoji?.({ text: text || '', key: 1, isGroup }); let size = 1.0; switch (sizeClass) { case 'jumbo': size = 2.0; break; case 'large': size = 1.8; break; case 'medium': size = 1.5; break; case 'small': size = 1.1; break; case 'default': size = 1.0; break; default: } return react_1.default.createElement("span", { style: { fontSize: `${size}em`, userSelect: 'inherit' } }, rendered); }; exports.Emojify = Emojify;
LaterIdiot/LOLDirt-Bot
commands/Owner/perms.js
const Discord = require("discord.js"); const { color } = require("../../config.json"); module.exports = { name: "perms", description: "Finds all permissions of a player.", args: true, guildOnly: true, mention: true, usage: "<mention>", cooldown: 0, permission: "Bot Admin", async execute(message, args, db, mentionedUser) { const permissions = mentionedUser.permissions.toArray(); const permsStr = `\n\`${permissions.join("`\n`")}\``; const permsEmbed = new Discord.MessageEmbed({ color: color.green, title: "Permmisions!", description: `All the permmisions of ${mentionedUser.user}!\n${permsStr}`, timestamp: new Date(), footer: { text: message.author.username, icon_url: message.author.avatarURL({ dynamic: true }), }, }); message.channel.send(message.author, permsEmbed); return message.delete(); }, };
Cohort-4-Team-Ana-1/Frontend
src/components/RoomListed.js
<filename>src/components/RoomListed.js import React, { useEffect, useState } from "react"; import axios from "axios"; import void_heart from "../assets/void_heart.svg"; import { Link } from "react-router-dom"; import { useFetchFavorites } from "../hooks/useFetchFavorites"; export const RoomListed = () => { const city = localStorage.getItem("city"); const [state, setstate] = useState([]); useEffect(() => { axios({ url: "/rooms/number/20", method: "GET", }) .then((response) => { setstate(response.data.body); }) .catch((err) => { // console.error(err); }); }, []); const [fav, setFav] = useState(); const favorites = useFetchFavorites(fav); return ( <section className="cards__container"> {!city && state.map((item) => ( <div className="card" key={`${item._id}`}> <img className="card__roomImage" src={item.main_image} alt="room main image" /> <p className="card__price"> {new Intl.NumberFormat("es-CO").format(item.price)} COP </p> <img src={void_heart} className="card__heart" alt="favorites image" onClick={() => { !sessionStorage.getItem("user-id") ? alert("debes tener una cuenta para agregar a favoritos") : localStorage.setItem("favRoom", item._id) && setFav(localStorage.getItem("favRoom")); }} /> <div className="card__info"> <Link onClick={() => { sessionStorage.setItem("roomId", `${item._id}`); }} to={`/room-details/${item._id}`} className="card__address" > {item.address} </Link> </div> <img className="card__userimage" src={item.owner.user_picture} alt="user picture" /> <p className="card__username">{item.owner.first_name}</p> </div> ))} </section> ); };
dillonhafer/budgetal
mobile/src/utils/Progress.js
import React, { PureComponent } from "react"; import { colors } from "@shared/theme"; import styled from "styled-components/native"; const Outer = styled.View({ justifyContent: "center", backgroundColor: "#f1f1f1", borderColor: "#f1f1f1", borderWidth: 1, borderRadius: 10, height: 20, width: "100%", overflow: "hidden", }); const Meter = styled.View(({ color, percent }) => ({ backgroundColor: color, borderColor: color, borderRadius: 10, borderWidth: 0, height: 20, width: `${percent}%`, })); export default class Progress extends PureComponent { render() { const { status, percent } = this.props; let color = colors.primary; if ((status && status === "exception") || (!status && percent > 100)) { color = colors.error; } if ((status && status === "success") || (!status && percent === 100)) { color = colors.success; } return ( <Outer> <Meter color={color} percent={percent} /> </Outer> ); } }
yinquan529/platform-external-chromium-trace
trace-viewer/src/cc/raster_task_slice_view_test.js
// Copyright (c) 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. 'use strict'; base.require('cc.raster_task_slice_view'); base.require('tracing.importer.trace_event_importer'); base.require('tracing.trace_model'); base.require('cc.layer_tree_host_impl_test_data'); base.unittest.testSuite('cc.raster_task_slice_view', function() { test('instantiate', function() { var m = new tracing.TraceModel(g_catLTHIEvents); var p = m.processes[1]; var rasterTask = p.threads[1].sliceGroup.slices.filter(function(slice) { return slice.title == 'TileManager::RunRasterTask'; })[0]; var view = new cc.RasterTaskSliceView(); view.style.minHeight = '500px'; view.slice = rasterTask; this.addHTMLOutput(view); }); });
harshp8l/deep-learning-lang-detection
data/train/scala/88642984ee5ca011ba67dcd3e1e8ea457368d1daTweetStreamBundle.scala
<gh_stars>10-100 package example.philmonroe.setup.bundles import io.dropwizard.ConfiguredBundle import io.dropwizard.setup.{Environment, Bootstrap} import example.philmonroe.DwExampleConfig import example.philmonroe.core.tweet_stream.{TweetProcessor, TweetProcessingPool, TweetStream} import example.philmonroe.healthchecks.TweetStreamHealthcheck class TweetStreamBundle(esBundle: ElasticSearchBundle) extends ConfiguredBundle[DwExampleConfig] { override def initialize(bootstrap: Bootstrap[_]): Unit = {} override def run(config: DwExampleConfig, env: Environment): Unit = { val tweetStream = new TweetStream(config.twitter) val processors = 0 to 4 map { i => new TweetProcessor(i, tweetStream.queue, env.getObjectMapper, esBundle.elasticsearch.get) } val processorPool = new TweetProcessingPool(processors) env.lifecycle().manage(processorPool) processors.foreach(env.lifecycle().manage) env.lifecycle().manage(tweetStream) env.healthChecks().register("tweet-stream", new TweetStreamHealthcheck(tweetStream)) } }
cryst-al/novoline
src/net/aP0.java
<filename>src/net/aP0.java package net; import net.minecraft.client.model.ModelBase; import net.minecraft.client.renderer.entity.RenderCreeper; import net.minecraft.util.ResourceLocation; public class aP0 { public static void a(RenderCreeper var0, ResourceLocation var1) { var0.bindTexture(var1); } public static ModelBase a(RenderCreeper var0) { return var0.getMainModel(); } }
yuriilychak/MantiCore
src/component/ui/ComUIElement.js
import ComUI from "./ComUI"; import Parser from "ui/parser/index"; import Type from "util/Type"; /** * @desc Base Class for create components from bundle. * @class * @extends MANTICORE.component.ui.ComUI * @memberOf MANTICORE.component.ui */ class ComUIElement extends ComUI { /** * @constructor * @param {string} elementName - Link to ui element in bundle * @param {?string} [bundleName = null] - Name of bundle. If not set search in all bundles. * @param {?MANTICORE.view.ComponentContainer} [owner = null] - Owner of component. (Need for clone function.) */ constructor(elementName, bundleName = null, owner = null) { super("ComUIElement"); /** * @type {string} * @private */ this._elementName = elementName; /** * @type {?string} * @private */ this._bundleName = bundleName; if (Type.isNull(owner)) { owner = Parser.parseElement(elementName, bundleName); } owner.componentManager.addComponent(this); } /** * @desc Clone component * @method * @public * @return {MANTICORE.component.ui.ComUIElement} */ clone() { return ComUIElement.create(this._elementName, this._bundleName); } } export default ComUIElement;
nais/device
cmd/gateway-agent/main.go
<filename>cmd/gateway-agent/main.go<gh_stars>10-100 package main import ( "net/http" "path" "path/filepath" "time" "github.com/nais/device/pkg/basicauth" g "github.com/nais/device/pkg/gateway-agent" "github.com/nais/device/pkg/logger" "github.com/coreos/go-iptables/iptables" "github.com/nais/device/pkg/version" log "github.com/sirupsen/logrus" flag "github.com/spf13/pflag" ) var ( cfg = g.DefaultConfig() ) func init() { flag.StringVar(&cfg.Name, "name", cfg.Name, "gateway name") flag.StringVar(&cfg.ConfigDir, "config-dir", cfg.ConfigDir, "gateway-agent config directory") flag.StringVar(&cfg.PublicIP, "public-ip", cfg.PublicIP, "public gateway ip") flag.StringVar(&cfg.PrometheusAddr, "prometheus-address", cfg.PrometheusAddr, "prometheus listen address") flag.StringVar(&cfg.PrometheusPublicKey, "prometheus-public-key", cfg.PrometheusPublicKey, "prometheus public key") flag.StringVar(&cfg.PrometheusTunnelIP, "prometheus-tunnel-ip", cfg.PrometheusTunnelIP, "prometheus tunnel ip") flag.BoolVar(&cfg.DevMode, "development-mode", cfg.DevMode, "development mode avoids setting up interface and configuring WireGuard") flag.StringVar(&cfg.LogLevel, "log-level", "info", "log level") flag.StringVar(&cfg.EnrollmentToken, "enrollment-token", "is not set", "bootstrap-api enrollment token") flag.Parse() logger.Setup(cfg.LogLevel) cfg.WireGuardConfigPath = path.Join(cfg.ConfigDir, "wg0.conf") cfg.PrivateKeyPath = path.Join(cfg.ConfigDir, "private.key") cfg.APIServerPasswordPath = path.Join(cfg.ConfigDir, "apiserver_password") cfg.BootstrapConfigPath = filepath.Join(cfg.ConfigDir, "bootstrapconfig.json") log.Infof("Version: %s, Revision: %s", version.Version, version.Revision) g.InitializeMetrics(cfg.Name, version.Version) go g.Serve(cfg.PrometheusAddr) } func main() { if err := cfg.InitLocalConfig(); err != nil { log.Fatalf("Initializing local configuration: %v", err) } bootstrapper := g.Bootstrapper{ Config: &cfg, HTTPClient: &http.Client{Transport: &basicauth.Transport{Username: cfg.Name, Password: cfg.EnrollmentToken}}, } var err error cfg.BootstrapConfig, err = bootstrapper.EnsureBootstrapConfig() if err != nil { log.Fatalf("Ensuring gateway is bootstrapped: %v", err) } log.Info("starting gateway-agent") if !cfg.DevMode { if err := g.SetupInterface(cfg.BootstrapConfig.DeviceIP); err != nil { log.Fatalf("setting up interface: %v", err) } var err error cfg.IPTables, err = iptables.New() if err != nil { log.Fatalf("setting up iptables %v", err) } err = g.SetupIptables(cfg) if err != nil { log.Fatalf("Setting up iptables defaults: %v", err) } } else { log.Infof("Skipping interface setup") } baseConfig := g.GenerateBaseConfig(cfg) if err := g.ActuateWireGuardConfig(baseConfig, cfg.WireGuardConfigPath); err != nil && !cfg.DevMode { log.Fatalf("actuating base config: %v", err) } client := http.Client{Transport: &basicauth.Transport{Username: cfg.Name, Password: cfg.APIServerPassword}} for range time.NewTicker(10 * time.Second).C { log.Infof("getting config") gatewayConfig, err := g.GetGatewayConfig(cfg, client) if err != nil { log.Error(err) g.FailedConfigFetches.Inc() continue } g.LastSuccessfulConfigFetch.SetToCurrentTime() log.Debugf("%+v\n", gatewayConfig) // skip side-effects for local development if cfg.DevMode { continue } if c, err := g.ConnectedDeviceCount(); err != nil { log.Errorf("Getting connected device count: %v", err) } else { g.ConnectedDevices.Set(float64(c)) } peerConfig := g.GenerateWireGuardPeers(gatewayConfig.Devices) if err := g.ActuateWireGuardConfig(baseConfig+peerConfig, cfg.WireGuardConfigPath); err != nil { log.Errorf("actuating WireGuard config: %v", err) } err = g.ForwardRoutes(cfg, gatewayConfig.Routes) if err != nil { log.Errorf("forwarding routes: %v", err) } } }
msharmavikram/gem5_experiments
build/ARM/python/_m5/param_MemObject.cc
<filename>build/ARM/python/_m5/param_MemObject.cc #include "pybind11/pybind11.h" #include "pybind11/stl.h" #include "params/MemObject.hh" #include "python/pybind11/core.hh" #include "sim/init.hh" #include "sim/sim_object.hh" #include "mem/mem_object.hh" namespace py = pybind11; static void module_init(py::module &m_internal) { py::module m = m_internal.def_submodule("param_MemObject"); py::class_<MemObjectParams, ClockedObjectParams, std::unique_ptr<MemObjectParams, py::nodelete>>(m, "MemObjectParams") ; py::class_<MemObject, ClockedObject, std::unique_ptr<MemObject, py::nodelete>>(m, "MemObject") ; } static EmbeddedPyBind embed_obj("MemObject", module_init, "ClockedObject");
daniel486/cv-template
app/containers/CertificationField/index.js
<filename>app/containers/CertificationField/index.js<gh_stars>0 /* eslint-disable react/prop-types */ /* eslint-disable react/no-array-index-key */ /** * * CertificationField * */ import React, { useState } from 'react'; import { connect } from 'react-redux'; import { useInjectSaga } from 'utils/injectSaga'; import { useInjectReducer } from 'utils/injectReducer'; import Button from '@material-ui/core/Button'; import FormControl from '@material-ui/core/FormControl'; import FormHelperText from '@material-ui/core/FormHelperText'; import Input from '@material-ui/core/Input'; import InputLabel from '@material-ui/core/InputLabel'; import Grid from '@material-ui/core/Grid'; import saga from './saga'; import reducer from './reducer'; import CertificationTitleField from '../../components/CertificationTitleField/Loadable'; export function CertificationField(props) { useInjectReducer({ key: 'certificationField', reducer }); useInjectSaga({ key: 'certificationField', saga }); const [certificationTitle, setCertificationTitle] = useState([]); const handleAddCertificationTitle = () => { const allCertificationTitle = certificationTitle.concat( CertificationTitleField, ); setCertificationTitle(allCertificationTitle); }; const certificationTitleRender = certificationTitle.map( (Element, indexCertificationTitle) => ( <Element key={indexCertificationTitle} index={indexCertificationTitle} indexCertification={props.index} /> ), ); return ( <div> <br /> <hr /> <Grid container direction="row" justify="space-around" alignItems="center" > {certificationTitleRender} </Grid> <Grid container direction="column" justify="space-around" alignItems="center" > <Grid item> <FormControl> <InputLabel htmlFor="component-helper"> Certification institute </InputLabel> <Input required id={`cert-inst-${props.index}`} name="certInst" /> <FormHelperText>Enter the certification name</FormHelperText> </FormControl> </Grid> <Grid item> <Button variant="contained" size="small" color="secondary" onClick={handleAddCertificationTitle} > Add Certification Title </Button> </Grid> </Grid> </div> ); } export default connect()(CertificationField);
sshockwave/Online-Judge-Solutions
AtCoder/Grand/24/E.cpp
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <cctype> using namespace std; typedef long long lint; #define cout cerr #define ni (next_num<int>()) template<class T>inline T next_num(){ T i=0;char c; while(!isdigit(c=getchar())&&c!='-'); bool neg=c=='-'; neg?c=getchar():0; while(i=i*10-'0'+c,isdigit(c=getchar())); return neg?-i:i; } template<class T1,class T2>inline void apmax(T1 &a,const T2 &b){if(a<b)a=b;} template<class T1,class T2>inline void apmin(T1 &a,const T2 &b){if(b<a)a=b;} template<class T>inline void mset(T a,int v,int n){memset(a,v,n*sizeof(a[0]));} const int N=310; int O; namespace gmath{ int c[N][N]; inline void main(int n){ memset(c,0,sizeof(c)); for(int i=0;i<=n;i++){ c[i][0]=1; for(int j=1;j<=i;j++){ c[i][j]=(c[i-1][j-1]+c[i-1][j])%O; } } } } using gmath::c; int n; int f[N],g[N]; inline void dp_exp(){//g=exp(f) g[0]=1; assert(f[0]==0); for(int i=1;i<=n;i++){ int &ans=g[i]=0; for(int j=1;j<=i;j++){ ans=(ans+(lint)f[j]*g[i-j]%O*c[i-1][j-1])%O; } } } int main(){ #ifndef ONLINE_JUDGE freopen("grow.in","r",stdin); freopen("grow.out","w",stdout); #endif n=ni; int tot=ni; O=ni; gmath::main(n); mset(f,0,n+1); for(;tot--;){ dp_exp(); for(int i=1;i<=n;i++){ f[i]=(f[i]+g[i-1])%O; } } dp_exp(); printf("%d\n",g[n]); return 0; }
aceunlonely/xget
plugins/integrate/input/file.js
<filename>plugins/integrate/input/file.js var fs = require('fs') var Type = (function() { var type = {}; var typeArr = ['String', 'Object', 'Number', 'Array','Undefined', 'Function', 'Null', 'Symbol','Boolean','RegExp']; for (var i = 0; i < typeArr.length; i++) { (function(name) { type['is' + name] = function(obj) { return Object.prototype.toString.call(obj) == '[object ' + name + ']'; } })(typeArr[i]); } return type; })(); var check =(input)=>{ if(!input.path) throw Error("plugins input file: input path needed" + input ) } /* { "type":"file", "path" : "d:/abc.txt", "encoding" : "utf8" } */ exports.run=(input,options)=>{ check(input) if(Type.isArray(input.path)) { var content="" input.path.forEach(element => { content +=fs.readFileSync(element, { encoding : ( input.encoding || "utf8")}); }); return content } else return fs.readFileSync(input.path, { encoding : ( input.encoding || "utf8")}); } exports.example = { type: "file", path : "d:/abc.txt", encoding : "utf8(默认值utf8)" } exports.output = "content" //exports.input = "" // exports.outputs // exports.inputs
agave233/PaddleHelix
pahelix/networks/compound_encoder.py
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # 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. """ Basic Encoder for compound atom/bond features. """ import numpy as np import paddle import paddle.nn as nn import pgl from pahelix.utils.compound_tools import CompoundKit from pahelix.networks.basic_block import RBF class AtomEmbedding(nn.Layer): """ Atom Encoder """ def __init__(self, atom_names, embed_dim): super(AtomEmbedding, self).__init__() self.atom_names = atom_names self.embed_list = nn.LayerList() for name in self.atom_names: embed = nn.Embedding( CompoundKit.get_atom_feature_size(name) + 5, embed_dim, weight_attr=nn.initializer.XavierUniform()) self.embed_list.append(embed) def forward(self, node_features): """ Args: node_features(dict of tensor): node features. """ out_embed = 0 for i, name in enumerate(self.atom_names): out_embed += self.embed_list[i](node_features[name]) return out_embed class AtomFloatEmbedding(nn.Layer): """ Atom Float Encoder """ def __init__(self, atom_float_names, embed_dim, rbf_params=None): super(AtomFloatEmbedding, self).__init__() self.atom_float_names = atom_float_names if rbf_params is None: self.rbf_params = { 'van_der_waals_radis': (np.arange(1, 3, 0.2), 10.0), # (centers, gamma) 'partial_charge': (np.arange(-1, 4, 0.25), 10.0), # (centers, gamma) 'mass': (np.arange(0, 2, 0.1), 10.0), # (centers, gamma) } else: self.rbf_params = rbf_params self.linear_list = nn.LayerList() self.rbf_list = nn.LayerList() for name in self.atom_float_names: centers, gamma = self.rbf_params[name] rbf = RBF(centers, gamma) self.rbf_list.append(rbf) linear = nn.Linear(len(centers), embed_dim) self.linear_list.append(linear) def forward(self, feats): """ Args: feats(dict of tensor): node float features. """ out_embed = 0 for i, name in enumerate(self.atom_float_names): x = feats[name] rbf_x = self.rbf_list[i](x) out_embed += self.linear_list[i](rbf_x) return out_embed class BondEmbedding(nn.Layer): """ Bond Encoder """ def __init__(self, bond_names, embed_dim): super(BondEmbedding, self).__init__() self.bond_names = bond_names self.embed_list = nn.LayerList() for name in self.bond_names: embed = nn.Embedding( CompoundKit.get_bond_feature_size(name) + 5, embed_dim, weight_attr=nn.initializer.XavierUniform()) self.embed_list.append(embed) def forward(self, edge_features): """ Args: edge_features(dict of tensor): edge features. """ out_embed = 0 for i, name in enumerate(self.bond_names): out_embed += self.embed_list[i](edge_features[name]) return out_embed class BondFloatRBF(nn.Layer): """ Bond Float Encoder using Radial Basis Functions """ def __init__(self, bond_float_names, embed_dim, rbf_params=None): super(BondFloatRBF, self).__init__() self.bond_float_names = bond_float_names if rbf_params is None: self.rbf_params = { 'bond_length': (np.arange(0, 2, 0.1), 10.0), # (centers, gamma) } else: self.rbf_params = rbf_params self.linear_list = nn.LayerList() self.rbf_list = nn.LayerList() for name in self.bond_float_names: centers, gamma = self.rbf_params[name] rbf = RBF(centers, gamma) self.rbf_list.append(rbf) linear = nn.Linear(len(centers), embed_dim) self.linear_list.append(linear) def forward(self, bond_float_features): """ Args: bond_float_features(dict of tensor): bond float features. """ out_embed = 0 for i, name in enumerate(self.bond_float_names): x = bond_float_features[name] rbf_x = self.rbf_list[i](x) out_embed += self.linear_list[i](rbf_x) return out_embed class BondAngleFloatRBF(nn.Layer): """ Bond Angle Float Encoder using Radial Basis Functions """ def __init__(self, bond_angle_float_names, embed_dim, rbf_params=None): super(BondAngleFloatRBF, self).__init__() self.bond_angle_float_names = bond_angle_float_names if rbf_params is None: self.rbf_params = { 'bond_angle': (np.arange(0, np.pi, 0.1), 10.0), # (centers, gamma) } else: self.rbf_params = rbf_params self.linear_list = nn.LayerList() self.rbf_list = nn.LayerList() for name in self.bond_angle_float_names: centers, gamma = self.rbf_params[name] rbf = RBF(centers, gamma) self.rbf_list.append(rbf) linear = nn.Linear(len(centers), embed_dim) self.linear_list.append(linear) def forward(self, bond_angle_float_features): """ Args: bond_angle_float_features(dict of tensor): bond angle float features. """ out_embed = 0 for i, name in enumerate(self.bond_angle_float_names): x = bond_angle_float_features[name] rbf_x = self.rbf_list[i](x) out_embed += self.linear_list[i](rbf_x) return out_embed
aballano/androidstarters.com
templates/googlesamples-mvp-clean/app/src/main/java/com/example/android/architecture/blueprints/todoapp/statistics/domain/model/Statistics.java
<gh_stars>100-1000 package <%= appPackage %>.statistics.domain.model; public class Statistics { private final int completedTasks; private final int activeTasks; public Statistics(int completedTasks, int activeTasks) { this.completedTasks = completedTasks; this.activeTasks = activeTasks; } public int getCompletedTasks() { return completedTasks; } public int getActiveTasks() { return activeTasks; } }
JasonFengIce/IsmartvAppStore
recoTvFrame/src/main/java/reco/frame/tv/view/TvImageView.java
package reco.frame.tv.view; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import reco.frame.tv.TvBitmap; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.BitmapFactory; import android.graphics.drawable.Drawable; import android.os.Handler; import android.os.Message; import android.util.AttributeSet; import android.view.View; import android.widget.ImageView; /** * 此控件禁用焦点 * @author reco * */ public class TvImageView extends View { public Boolean showLoading = true; public TvImageView(Context context) { super(context); // TODO Auto-generated constructor stub } public TvImageView(Context context, AttributeSet attrs) { super(context, attrs); } public TvImageView(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); } /** * 加载网络图片 * @param url */ public void configImageUrl(String url) { TvBitmap.create(getContext()).display(this, url); } /** * 可配置网络图片 * * @param url * @param loadingRes */ public void configImageUrl(String url, int loadingRes) { TvBitmap.create(getContext()).display(this, url,loadingRes); } }
fabiojna02/OpenCellular
firmware/coreboot/src/security/vboot/vbnv.h
<gh_stars>1-10 /* * This file is part of the coreboot project. * * Copyright (C) 2016 Google Inc. * * 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; version 2 of the License. * * 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. */ #ifndef __VBOOT_VBNV_H__ #define __VBOOT_VBNV_H__ #include <types.h> /* Generic functions */ void read_vbnv(uint8_t *vbnv_copy); void save_vbnv(const uint8_t *vbnv_copy); int verify_vbnv(uint8_t *vbnv_copy); void regen_vbnv_crc(uint8_t *vbnv_copy); int get_recovery_mode_from_vbnv(void); void set_recovery_mode_into_vbnv(int recovery_reason); int vboot_wants_oprom(void); /* Read the USB Device Controller(UDC) enable flag from VBNV. */ int vbnv_udc_enable_flag(void); /* Initialize and read vbnv. This is used in the main vboot logic path. */ void vbnv_init(uint8_t *vbnv_copy); /* Reset vbnv snapshot to a known state. */ void vbnv_reset(uint8_t *vbnv_copy); /* CMOS backend */ /* Initialize the vbnv cmos backing store. The vbnv_copy pointer is used for optional temporary storage in the init function. */ void vbnv_init_cmos(uint8_t *vbnv_copy); /* Return non-zero if cmos power was lost. */ int vbnv_cmos_failed(void); void read_vbnv_cmos(uint8_t *vbnv_copy); void save_vbnv_cmos(const uint8_t *vbnv_copy); /* Flash backend */ void read_vbnv_flash(uint8_t *vbnv_copy); void save_vbnv_flash(const uint8_t *vbnv_copy); /* EC backend */ void read_vbnv_ec(uint8_t *vbnv_copy); void save_vbnv_ec(const uint8_t *vbnv_copy); #endif /* __VBOOT_VBNV_H__ */
Noorbakht/Offensive-Tweet-Detection
node_modules/rainbow-node-sdk/lib/services/AdminService.js
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; Object.defineProperty(exports, "__esModule", { value: true }); const ErrorManager_1 = require("../common/ErrorManager"); const Utils_1 = require("../common/Utils"); const LOG_ID = "ADMIN/SVCE - "; let Admin = /** * @module * @name Admin * @version 1.69.0-debug-24th-03-2020--03-54-58.0 * @public * @description * This module handles the management of users. Using it, You will be able to create new users, to modify information of users and to delete them.<br> * This module can be use too to create Guest users who are specific temporaly users that can be used in Rainbow. * <br><br> * The main methods proposed in that module allow to: <br> * - Create a new user in a specified company <br> * - Modify information of an existing user <br> * - Delete an existing user <br> * - Invite a user in Rainbow <br> * - Change the password of a user <br> * - Create a guest user */ class Admin { constructor(_eventEmitter, _logger, _startConfig) { this.ready = false; this._startConfig = _startConfig; this._xmpp = null; this._rest = null; this._s2s = null; this._options = {}; this._useXMPP = false; this._useS2S = false; this._eventEmitter = _eventEmitter; this._logger = _logger; this.ready = false; } get startConfig() { return this._startConfig; } start(_options, _core) { let that = this; return new Promise(function (resolve, reject) { try { that._xmpp = _core._xmpp; that._rest = _core._rest; that._options = _options; that._s2s = _core._s2s; that._useXMPP = that._options.useXMPP; that._useS2S = that._options.useS2S; that.ready = true; resolve(); } catch (err) { that._logger.log("internalerror", LOG_ID + "(start) error : ", err); return reject(); } }); } stop() { let that = this; return new Promise(function (resolve, reject) { try { that._xmpp = null; that._rest = null; that.ready = false; resolve(); } catch (err) { that._logger.log("internalerror", LOG_ID + "(stop) error : ", err); return reject(err); } }); } /** * @public * @method createCompany * @instance * @description * Create a company * @param {string} strName The name of the new company * @param {string} country Company country (ISO 3166-1 alpha3 format, size 3 car) * @param {string} state (optionnal if not USA) define a state when country is 'USA' (["ALASKA", "....", "NEW_YORK", "....", "WYOMING"] ), else it is not managed by server. Default value on server side: ALABAMA * @async * @return {Promise<Object, ErrorManager>} * @fulfil {Object} - Created Company or an error object depending on the result * @category async */ createCompany(strName, country, state) { let that = this; that._logger.log("internal", LOG_ID + "(createCompany) parameters : strName : ", strName, ", country : ", country); return new Promise(function (resolve, reject) { try { if (!strName) { that._logger.log("error", LOG_ID + "(createCompany) bad or empty 'strName' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } that._rest.createCompany(strName, country, state).then((company) => { that._logger.log("internal", LOG_ID + "(createCompany) Successfully created company : ", strName); resolve(company); }).catch((err) => { that._logger.log("error", LOG_ID + "(createCompany) ErrorManager when creating"); that._logger.log("internalerror", LOG_ID + "(createCompany) ErrorManager when creating : ", strName); return reject(err); }); } catch (err) { that._logger.log("internalerror", LOG_ID + "(createCompany) error : ", err); return reject(err); } }); } /** * Remove a user from a company * @private */ removeUserFromCompany(user) { let that = this; return that.deleteUser(user.id); } /** * Set the visibility for a company * @private */ setVisibilityForCompany(company, visibleByCompany) { let that = this; that._logger.log("internal", LOG_ID + "(setVisibilityForCompany) parameters : company : ", company); return new Promise(function (resolve, reject) { try { if (!company) { that._logger.log("error", LOG_ID + "(setVisibilityForCompany) bad or empty 'company' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } if (!visibleByCompany) { that._logger.log("error", LOG_ID + "(setVisibilityForCompany) bad or empty 'visibleByCompany' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } that._rest.setVisibilityForCompany(company.id, visibleByCompany.id).then((user) => { that._logger.log("internal", LOG_ID + "(setVisibilityForCompany) Successfully set visibility for company : ", company); resolve(user); }).catch((err) => { that._logger.log("error", LOG_ID + "(setVisibilityForCompany) ErrorManager when set visibility for company"); that._logger.log("internalerror", LOG_ID + "(setVisibilityForCompany) ErrorManager when set visibility for company : ", company); return reject(err); }); } catch (err) { that._logger.log("error", LOG_ID + "(setVisibilityForCompany) _exiting_"); return reject(err); } }); } /** * @public * @method createUserInCompany * @instance * @description * Create a new user in a given company * @param {string} email The email of the user to create * @param {string} password The associated password * @param {string} firstname The user firstname * @param {string} lastname The user lastname * @param {string} [companyId="user company"] The Id of the company where to create the user or the connected user company if null * @param {string} [language="en-US"] The language of the user. Default is `en-US`. Can be fr-FR, de-DE... * @param {boolean} [isCompanyAdmin=false] True to create the user with the right to manage the company (`companyAdmin`). False by default. * @param {Array<string>} [roles] The roles the created user. * @async * @return {Promise<Contact, ErrorManager>} * @fulfil {Contact} - Created contact in company or an error object depending on the result * @category async */ createUserInCompany(email, password, firstname, lastname, companyId, language, isCompanyAdmin, roles) { let that = this; return new Promise(function (resolve, reject) { try { language = language || "en-US"; let isAdmin = isCompanyAdmin || false; if (!email) { that._logger.log("error", LOG_ID + "(createUserInCompany) bad or empty 'email' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } if (!password) { that._logger.log("error", LOG_ID + "(createUserInCompany) bad or empty 'password' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } if (!firstname) { that._logger.log("error", LOG_ID + "(createUserInCompany) bad or empty 'firstname' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } if (!lastname) { that._logger.log("error", LOG_ID + "(createUserInCompany) bad or empty 'lastname' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } that._rest.createUser(email, password, firstname, lastname, companyId, language, isAdmin, roles).then((user) => { that._logger.log("debug", LOG_ID + "(createUserInCompany) Successfully created user for account : ", email); resolve(user); }).catch((err) => { that._logger.log("error", LOG_ID + "(createUserInCompany) ErrorManager when creating user for account "); that._logger.log("internalerror", LOG_ID + "(createUserInCompany) ErrorManager when creating user for account : ", email); return reject(err); }); } catch (err) { that._logger.log("internalerror", LOG_ID + "(createUserInCompany) error : ", err); reject(err); } }); } /** * @public * @method createGuestUser * @instance * @description * Create a new guest user in the same company as the requester admin * @param {string} firstname The user firstname * @param {string} lastname The user lastname * @param {string} [language="en-US"] The language of the user. Default is `en-US`. Can be fr-FR, de-DE... * @param {Number} [timeToLive] Allow to provide a duration in second to wait before starting a user deletion from the creation date * @async * @return {Promise<Object, ErrorManager>} * @fulfil {Object} - Created guest user in company or an error object depending on the result * @category async */ createGuestUser(firstname, lastname, language, timeToLive) { let that = this; return new Promise(function (resolve, reject) { try { language = language || "en-US"; if (!firstname) { that._logger.log("error", LOG_ID + "(createGuestUser) bad or empty 'firstname' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } if (!lastname) { that._logger.log("error", LOG_ID + "(createGuestUser) bad or empty 'lastname' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } if (timeToLive && isNaN(timeToLive)) { that._logger.log("error", LOG_ID + "(createGuestUser) bad or empty 'timeToLive' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } that._rest.createGuestUser(firstname, lastname, language, timeToLive).then((user) => { that._logger.log("debug", LOG_ID + "(createGuestUser) Successfully created guest user for account : ", user.loginEmail); resolve(user); }).catch((err) => { that._logger.log("error", LOG_ID + `(createGuestUser) Error when creating guest user`); that._logger.log("internalerror", LOG_ID + `(createGuestUser) Error when creating guest user with firstname: ${firstname}, lastname: ${lastname}`); return reject(err); }); } catch (err) { that._logger.log("internalerror", LOG_ID + "(createGuestUser) error : ", err); return reject(err); } }); } /** * @public * @method createAnonymousGuestUser * @since 1.31 * @instance * @description * Create a new anonymous guest user in the same company as the requester admin * Anonymous guest user is user without name and firstname * @param {Number} [timeToLive] Allow to provide a duration in second to wait before starting a user deletion from the creation date * @async * @return {Promise<Object, ErrorManager>} * @fulfil {Object} - Created anonymous guest user in company or an error object depending on the result * @category async */ createAnonymousGuestUser(timeToLive) { let that = this; return new Promise(function (resolve, reject) { try { if (timeToLive && isNaN(timeToLive)) { that._logger.log("error", LOG_ID + "(createAnonymousGuestUser) bad or empty 'timeToLive' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } that._rest.createGuestUser(null, null, null, timeToLive).then((user) => { that._logger.log("internal", LOG_ID + "(createAnonymousGuestUser) Successfully created guest user for account : ", user.loginEmail); resolve(user); }).catch((err) => { that._logger.log("error", LOG_ID + "(createAnonymousGuestUser) ErrorManager when creating anonymous guest user"); return reject(err); }); } catch (err) { that._logger.log("internalerror", LOG_ID + "(createAnonymousGuestUser) error : ", err); reject(err); } }); } /** * @public * @method inviteUserInCompany * @instance * @description * Invite a new user to join a company in Rainbow * @param {string} email The email address of the contact to invite * @param {string} companyId The id of the company where the user will be invited in * @param {string} [language="en-US"] The language of the message to send. Default is `en-US` * @param {string} [message=""] A custom message to send * @async * @return {Promise<Object, ErrorManager>} * @fulfil {Object} - Created invitation or an error object depending on the result * @category async */ inviteUserInCompany(email, companyId, language, message) { let that = this; return new Promise(function (resolve, reject) { try { language = language || "en-US"; message = message || null; if (!email) { that._logger.log("error", LOG_ID + "(inviteUserInCompany) bad or empty 'email' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } if (!companyId) { that._logger.log("error", LOG_ID + "(inviteUserInCompany) bad or empty 'companyId' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } that._rest.inviteUser(email, companyId, language, message).then((user) => { that._logger.log("internal", LOG_ID + "(inviteUserInCompany) Successfully inviting user for account : ", email); resolve(user); }).catch((err) => { that._logger.log("error", LOG_ID + "(inviteUserInCompany) ErrorManager when inviting user for account"); that._logger.log("internalerror", LOG_ID + "(inviteUserInCompany) ErrorManager when inviting user for account : ", email, ", error : ", err); return reject(err); }); } catch (err) { that._logger.log("internalerror", LOG_ID + "(inviteUserInCompany) error : ", err); return reject(err); } }); } /** * @public * @method changePasswordForUser * @instance * @description * Change a password for a user * @param {string} password The <PASSWORD> * @param {string} userId The id of the user * @async * @return {Promise<Object, ErrorManager>} * @fulfil {Object} - Updated user or an error object depending on the result * @category async */ changePasswordForUser(password, userId) { let that = this; return new Promise(function (resolve, reject) { try { if (!password) { that._logger.log("error", LOG_ID + "(changePasswordToUser) bad or empty 'password' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } if (!userId) { that._logger.log("error", LOG_ID + "(changePasswordToUser) bad or empty 'userId' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } that._rest.changePassword(password, userId).then((user) => { that._logger.log("internal", LOG_ID + "(changePasswordToUser) Successfully changing password for user account : ", userId); resolve(user); }).catch((err) => { that._logger.log("error", LOG_ID + "(changePasswordToUser) ErrorManager when changing password for user account"); that._logger.log("internalerror", LOG_ID + "(changePasswordToUser) ErrorManager when changing password for user account : ", userId); return reject(err); }); } catch (err) { that._logger.log("internalerror", LOG_ID + "(changePasswordToUser) error : ", err); return reject(err); } }); } /** * @public * @method updateInformationForUser * @instance * @description * Change information of a user. Fields that can be changed: `firstName`, `lastName`, `nickName`, `title`, `jobTitle`, `country`, `language`, `timezone`, `emails` * @param {Object} objData An object (key: value) containing the data to change with their new value * @param {string} userId The id of the user * @async * @return {Promise<Object, ErrorManager>} * @fulfil {Object} - Updated user or an error object depending on the result * @category async */ updateInformationForUser(objData, userId) { let that = this; return new Promise(function (resolve, reject) { try { if (!objData) { that._logger.log("error", LOG_ID + "(updateInformationForUser) bad or empty 'objData' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } if ("loginEmail" in objData) { that._logger.log("error", LOG_ID + "(updateInformationForUser) can't change the loginEmail with that API"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } if ("password" in objData) { that._logger.log("error", LOG_ID + "(updateInformationForUser) can't change the password with that API"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } that._rest.updateInformation(objData, userId).then((user) => { that._logger.log("internal", LOG_ID + "(updateInformationForUser) Successfully changing information for user account : ", userId); resolve(user); }).catch((err) => { that._logger.log("error", LOG_ID + "(updateInformationForUser) ErrorManager when changing information for user account"); that._logger.log("internalerror", LOG_ID + "(updateInformationForUser) ErrorManager when changing information for user account : ", userId); return reject(err); }); } catch (err) { that._logger.log("internalerror", LOG_ID + "(updateInformationForUser) error : ", err); return reject(err); } }); } /** * @public * @method deleteUser * @instance * @description * Delete an existing user * @param {string} userId The id of the user * @async * @return {Promise<Object, ErrorManager>} * @fulfil {Object} - Deleted user or an error object depending on the result * @category async */ deleteUser(userId) { let that = this; return new Promise(function (resolve, reject) { try { if (!userId) { that._logger.log("error", LOG_ID + "(deleteUser) bad or empty 'userId' parameter"); reject(ErrorManager_1.ErrorManager.getErrorManager().BAD_REQUEST); return; } that._rest.deleteUser(userId).then((user) => { that._logger.log("debug", LOG_ID + "(deleteUser) Successfully deleting user account "); that._logger.log("internal", LOG_ID + "(deleteUser) Successfully deleting user : ", user); resolve(user); }).catch((err) => { that._logger.log("error", LOG_ID + "(deleteUser) ErrorManager when deleting user account : ", userId); return reject(err); }); } catch (err) { that._logger.log("internalerror", LOG_ID + "(deleteUser) error : ", err); return reject(err); } }); } /** * @public * @method getAllCompanies * @instance * @description * Get all companies for a given admin * @async * @return {Promise<Object, ErrorManager>} * @fulfil {Object} - Json object containing with all companies (companyId and companyName) or an error object depending on the result * @category async */ getAllCompanies() { let that = this; return new Promise(function (resolve, reject) { try { that._rest.getAllCompanies().then((companies) => { that._logger.log("debug", LOG_ID + "(getAllCompanies) Successfully get all companies"); that._logger.log("internal", LOG_ID + "(getAllCompanies) : companies values : ", companies.data); resolve(companies); }).catch(function (err) { that._logger.log("error", LOG_ID + "(getAllCompanies) ErrorManager when get All companies"); return reject(err); }); } catch (err) { that._logger.log("internalerror", LOG_ID + "(getAllCompanies) error : ", err); return reject(err); } }); } /** * get a company * @private */ getCompanyById(companyId) { let that = this; return new Promise((resolve, reject) => { try { that._rest.getCompany(companyId).then((company) => { that._logger.log("debug", LOG_ID + "(getCompanyById) Successfully get a company"); that._logger.log("internal", LOG_ID + "(getCompanyById) : companies values : ", company.data); resolve(company.data); }).catch((err) => { that._logger.log("error", LOG_ID + "(getCompanyById) ErrorManager when get a company"); return reject(err); }); } catch (err) { that._logger.log("internalerror", LOG_ID + "(getCompanyById) error : ", err); return reject(err); } }); } /** * Remove a company * @private */ removeCompany(company) { let that = this; this._logger.log("internal", LOG_ID + "(deleteCompany) parameters : company : ", company); return new Promise(function (resolve, reject) { try { that._rest.deleteCompany(company.id).then((companies) => { that._logger.log("debug", LOG_ID + "(deleteCompany) Successfully remove company"); that._logger.log("internal", LOG_ID + "(deleteCompany) : companies values : ", companies.data); resolve(companies); }).catch(function (err) { that._logger.log("error", LOG_ID + "(deleteCompany) ErrorManager when removing company"); return reject(err); }); } catch (err) { that._logger.log("internalerror", LOG_ID + "(deleteCompany) error : ", err); return reject(err); } }); } /** * @public * @method askTokenOnBehalf * @instance * @description * Ask Rainbow for a token on behalf a user * This allow to not use the secret key on client side * @param {string} loginEmail The user login email * @param {string} password <PASSWORD> * @async * @return {Promise<Object, Error>} * @fulfil {Object} - Json object containing the user data, application data and token * @category async */ askTokenOnBehalf(loginEmail, password) { let that = this; return new Promise(function (resolve, reject) { try { that._rest.askTokenOnBehalf(loginEmail, password).then(json => { that._logger.log("debug", LOG_ID + "(getGuestOrUserToken) Successfully logged-in a user"); that._logger.log("internal", LOG_ID + "(getGuestOrUserToken) : user data : ", json); resolve(json); }).catch(function (err) { that._logger.log("error", LOG_ID + "(getGuestOrUserToken) Error when getting a token"); return reject(err); }); } catch (err) { that._logger.log("internalerror", LOG_ID + "(getGuestOrUserToken) error : ", err); return reject(err); } }); } /** * @public * @method getAllUsers * @instance * @description * Get all users for a given admin * @async * @param {string} format Allows to retrieve more or less user details in response. * small: id, loginEmail, firstName, lastName, displayName, companyId, companyName, isTerminated * medium: id, loginEmail, firstName, lastName, displayName, jid_im, jid_tel, companyId, companyName, lastUpdateDate, lastAvatarUpdateDate, isTerminated, guestMode * full: all user fields * @param {number} offset Allow to specify the position of first user to retrieve (first user if not specified). Warning: if offset > total, no results are returned. * @param {number} limit Allow to specify the number of users to retrieve (default=100). * @param {string} sortField Sort user list based on the given field (default="loginEmail"). * @return {Promise<Object, ErrorManager>} * @fulfil {Array} - Array of Json object containing users or an error object depending on the result * @category async */ getAllUsers(format = "small", offset = 0, limit = 100, sortField = "loginEmail") { let that = this; return new Promise(function (resolve, reject) { try { that._rest.getAllUsers(format, offset, limit, sortField).then((users) => { that._logger.log("debug", LOG_ID + "(getAllUsers) Successfully get all companies"); that._logger.log("internal", LOG_ID + "(getAllUsers) : companies values : ", users.data); resolve(users.data); }).catch(function (err) { that._logger.log("error", LOG_ID + "(getAllUsers) ErrorManager when get All companies"); that._logger.log("internalerror", LOG_ID + "(getAllUsers) ErrorManager when get All companies : ", err); return reject(err); }); } catch (err) { that._logger.log("internalerror", LOG_ID + "(getAllUsers) error : ", err); return reject(err); } }); } /** * @public * @method getContactInfos * @instance * @description * Get informations about a user * @param {string} userId The id of the user * @async * @return {Promise<Object, ErrorManager>} * @fulfil {Object} - Json object containing informations or an error object depending on the result * @category async */ getContactInfos(userId) { let that = this; return new Promise(function (resolve, reject) { try { that._rest.getContactInfos(userId).then((result) => { that._logger.log("debug", LOG_ID + "(getContactInfos) Successfully get Contact Infos"); that._logger.log("internal", LOG_ID + "(getContactInfos) : result : ", result); resolve(result); }).catch(function (err) { that._logger.log("error", LOG_ID + "(getContactInfos) ErrorManager when get contact infos "); that._logger.log("internalerror", LOG_ID + "(getContactInfos) ErrorManager when get contact infos : ", err); return reject(err); }); } catch (err) { that._logger.log("error", LOG_ID + "(getContactInfos) error : ", err); return reject(err); } }); } /** * @public * @method updateContactInfos * @instance * @description * Set informations about a user * @param {string} userId The id of the user * @param {Object} infos The infos of the user : * {String{3..255}} [infos.loginEmail] User email address (used for login). * <br/> Must be unique (409 error is returned if a user already exists with the same email address). * {String{8..64}} [infos.password] User password. * <br/> Rules: more than 8 characters, at least 1 capital letter, 1 number, 1 special character. * {String{1..255}} [infos.firstName] User first name * {String{1..255}} [infos.lastName] User last name * {String{1..255}} [infos.nickName] User nickName * {String{1..40}} [infos.title] User title (honorifics title, like Mr, Mrs, Sir, Lord, Lady, Dr, Prof,...) * {String{1..255}} [infos.jobTitle] User job title * {String[]{1..64}} [infos.tags] An Array of free tags associated to the user. * <br/> A maximum of 5 tags is allowed, each tag can have a maximum length of 64 characters. * <br/> `tags` can only be set by users who have administrator rights on the user. The user can't modify the tags. * <br/> The tags are visible by the user and all users belonging to his organisation/company, and can be used with * the search API to search the user based on his tags. * {Object[]} [infos.emails] Array of user emails addresses objects * {String{3..255}} [infos.emails.email] User email address * {String=home,work,other} [infos.emails.type] User email type * {Object[]} [infos.phoneNumbers] Array of user phone numbers objects * <br/> * <br/><u><i>Note:</i></u> For each provided number, the server tries to compute the associated E.164 number (<code>numberE164</code> field) using provided PhoneNumber country if available, user country otherwise. * If <code>numberE164</code> can't be computed, an error 400 is returned (ex: wrong phone number, phone number not matching country code, ...) * {String{1..32}} [infos.phoneNumbers.number] User phone number (as entered by user) * {String{3}} [infos.phoneNumbers.country] Phone number country (ISO 3166-1 alpha3 format). Used to compute numberE164 field from number field. * <br/> * <br/>If not provided, user country is used by default. * {String=home,work,other} phoneNumbers.type Phone number type * {String=landline,mobile,fax,other} phoneNumbers.deviceType Phone number device type * {String{3}} [infos.country] User country (ISO 3166-1 alpha3 format) * {String=null,"AA","AE","AP","AK","AL","AR","AZ","CA","CO","CT","DC","DE","FL","GA","GU","HI","IA","ID","IL","IN","KS","KY","LA","MA","MD","ME","MI","MN","MO","MS","MT","NC","ND","NE","NH","NJ","NM","NV","NY","OH","OK","OR","PA","PR","RI","SC","SD","TN","TX","UT","VA","VI","VT","WA","WI","WV","WY","AB","BC","MB","NB","NL","NS","NT","NU","ON","PE","QC","SK","YT"} [infos.state] When country is 'USA' or 'CAN', a state can be defined. Else it is not managed. * <br/> USA states code list: * <li> <code>AA</code>:"Armed Forces America", * <li> <code>AE</code>:"Armed Forces", * <li> <code>AP</code>:"Armed Forces Pacific", * <li> <code>AK</code>:"Alaska", * <li> <code>AL</code>:"Alabama", * <li> <code>AR</code>:"Arkansas", * <li> <code>AZ</code>:"Arizona", * <li> <code>CA</code>:"California", * <li> <code>CO</code>:"Colorado", * <li> <code>CT</code>:"Connecticut", * <li> <code>DC</code>:"Washington DC", * <li> <code>DE</code>:"Delaware", * <li> <code>FL</code>:"Florida", * <li> <code>GA</code>:"Georgia", * <li> <code>GU</code>:"Guam", * <li> <code>HI</code>:"Hawaii", * <li> <code>IA</code>:"Iowa", * <li> <code>ID</code>:"Idaho", * <li> <code>IL</code>:"Illinois", * <li> <code>IN</code>:"Indiana", * <li> <code>KS</code>:"Kansas", * <li> <code>KY</code>:"Kentucky", * <li> <code>LA</code>:"Louisiana", * <li> <code>MA</code>:"Massachusetts", * <li> <code>MD</code>:"Maryland", * <li> <code>ME</code>:"Maine", * <li> <code>MI</code>:"Michigan", * <li> <code>MN</code>:"Minnesota", * <li> <code>MO</code>:"Missouri", * <li> <code>MS</code>:"Mississippi", * <li> <code>MT</code>:"Montana", * <li> <code>NC</code>:"North Carolina", * <li> <code>ND</code>:"Northmo Dakota", * <li> <code>NE</code>:"Nebraska", * <li> <code>NH</code>:"New Hampshire", * <li> <code>NJ</code>:"New Jersey", * <li> <code>NM</code>:"New Mexico", * <li> <code>NV</code>:"Nevada", * <li> <code>NY</code>:"New York", * <li> <code>OH</code>:"Ohio", * <li> <code>OK</code>:"Oklahoma", * <li> <code>OR</code>:"Oregon", * <li> <code>PA</code>:"Pennsylvania", * <li> <code>PR</code>:"Puerto Rico", * <li> <code>RI</code>:"Rhode Island", * <li> <code>SC</code>:"South Carolina", * <li> <code>SD</code>:"South Dakota", * <li> <code>TN</code>:"Tennessee", * <li> <code>TX</code>:"Texas", * <li> <code>UT</code>:"Utah", * <li> <code>VA</code>:"Virginia", * <li> <code>VI</code>:"Virgin Islands", * <li> <code>VT</code>:"Vermont", * <li> <code>WA</code>:"Washington", * <li> <code>WI</code>:"Wisconsin", * <li> <code>WV</code>:"West Virginia", * <li> <code>WY</code>:"Wyoming" * <br/> Canada states code list: * <li> <code>AB</code>: "Alberta", * <li> <code>BC</code>: "British Columbia", * <li> <code>MB</code>: "Manitoba", * <li> <code>NB</code>: "New Brunswick", * <li> <code>NL</code>: "Newfoundland and Labrador", * <li> <code>NS</code>: "Nova Scotia", * <li> <code>NT</code>: "Northwest Territories", * <li> <code>NU</code>: "Nunavut", * <li> <code>ON</code>: "Ontario", * <li> <code>PE</code>: "Prince Edward Island", * <li> <code>QC</code>: "Quebec", * <li> <code>SK</code>: "Saskatchewan", * <li> <code>YT</code>: "Yukon" * {String="/^([a-z]{2})(?:(?:(-)[A-Z]{2}))?$/"} [infos.language] User language * <br/> * <br/> Language format is composed of locale using format <code>ISO 639-1</code>, with optionally the regional variation using <code>ISO 3166‑1 alpha-2</code> (separated by hyphen). * <br/> Locale part is in lowercase, regional part is in uppercase. Examples: en, en-US, fr, fr-FR, fr-CA, es-ES, es-MX, ... * <br/> More information about the format can be found on this <a href="https://en.wikipedia.org/wiki/Language_localisation#Language_tags_and_codes">link</a>. * {String} [infos.timezone] User timezone name * <br/> Allowed values: one of the timezone names defined in <a href="https://www.iana.org/time-zones">IANA tz database</a> * <br/> Timezone name are composed as follow: <code>Area/Location</code> (ex: Europe/Paris, America/New_York,...) * {String=free,basic,advanced} [infos.accountType=free] User subscription type * {String[]=guest,user,admin,bp_admin,bp_finance,company_support,all_company_channels_admin,public_channels_admin,closed_channels_admin,app_admin,app_support,app_superadmin,directory_admin,support,superadmin} [infos.roles='["user"]'] List of user roles * <br/> * <br/>The general rule is that a user must have the roles that the wants to assign to someone else. * <br/>Examples: * <ul> * <li>an <code>admin</code> can add or remove the role <code>admin</code> to another user of the company(ies) he manages,</li> * <li>an <code>bp_admin</code> can add or remove the role <code>bp_admin</code> to another user of the company(ies) he manages,</li> * <li>an <code>app_superadmin</code> can add or remove the role <code>app_superadmin</code> to another user...</li> * </ul> * Here are some explanations regarding the roles available in Rainbow: * <ul> * <li><code>admin</code>, <code>bp_admin</code> and <code>bp_finance</code> roles are related to company management (and resources linked to companies, such as users, systems, subscriptions, ...).</li> * <li><code>bp_admin</code> and <code>bp_finance</code> roles can only be set to users of a BP company (company with isBP=true).</li> * <li><code>app_admin</code>, <code>app_support</code> and <code>app_superadmin</code> roles are related to application management.</li> * <li><code>all_company_channels_admin</code>, <code>public_channels_admin</code> and <code>closed_channels_admin</code> roles are related to channels management.</li> * <li>Only <code>superadmin</code> can set <code>superadmin</code> and <code>support</code> roles to a user.</li> * <li>A user with admin rights (admin, bp_admin, superadmin) can't change his own roles, except for roles related to channels (<code>all_company_channels_admin</code>, <code>public_channels_admin</code> and <code>closed_channels_admin</code>).</li> * </ul> * {String=organization_admin,company_admin,site_admin} [infos.adminType] Mandatory if roles array contains <code>admin</code> role: specifies at which entity level the administrator has admin rights in the hierarchy ORGANIZATIONS/COMPANIES/SITES/SYSTEMS * {String} [infos.companyId] User company unique identifier (like 569ce8c8f9336c471b98eda1) * <br/> companyName field is automatically filled on server side based on companyId. * {Boolean} [infos.isActive=true] Is user active * {Boolean} [infos.isInitialized=false] Is user initialized * {String=private,public,closed,isolated,none} [infos.visibility] User visibility * </br> Define if the user can be searched by users being in other company and if the user can search users being in other companies. * - `public`: User can be searched by external users / can search external users. User can invite external users / can be invited by external users * - `private`: User **can't** be searched by external users / can search external users. User can invite external users / can be invited by external users * - `closed`: User **can't** be searched by external users / **can't** search external users. User can invite external users / can be invited by external users * - `isolated`: User **can't** be searched by external users / **can't** search external users. User **can't** invite external users / **can't** be invited by external users * - `none`: Default value reserved for guest. User **can't** be searched by **any users** (even within the same company) / can search external users. User can invite external users / can be invited by external users * <br/>External users mean 'public user not being in user's company nor user's organisation nor a company visible by user's company. * {Number} [infos.timeToLive] Duration in second to wait before automatically starting a user deletion from the creation date. * <br/> Once the timeToLive has been reached, the user won't be usable to use APIs anymore (error 401523). His account may then be deleted from the database at any moment. * <br/> Value -1 means timeToLive is disable (i.e. user account will not expire). * <br/> If created user has role <code>guest</code> and no timeToLive is provided, a default value of 172800 seconds is set (48 hours). * <br/> If created user does not have role <code>guest</code> and no timeToLive is provided, a default value of -1 is set (no expiration). * {String=DEFAULT,RAINBOW,SAML} [infos.authenticationType] User authentication type (if not set company default authentication will be used) * {String{0..64}} [infos.userInfo1] Free field that admin can use to link their users to their IS/IT tools / to perform analytics (this field is output in the CDR file) * {String{0..64}} [infos.userInfo2] 2nd Free field that admin can use to link their users to their IS/IT tools / to perform analytics (this field is output in the CDR file) * * @async * @return {Promise<Object, ErrorManager>} * @fulfil {Object} - Json object containing informations or an error object depending on the result * @category async */ updateContactInfos(userId, infos) { let that = this; return new Promise(function (resolve, reject) { try { const propertiesToSave = ["loginEmail", "password", "phoneNumbers", "country", "number", "type", "deviceType", "shortNumber", "systemId", "internalNumber", "firstName", "lastName", "nickName", "title", "jobTitle", "tags", "emails", "country", "state", "language", "timezone", "accountType", "roles", "adminType", "companyId", "isActive", "isInitialized", "visibility", "timeToLive", "authenticationType", "userInfo1", "userInfo2" ]; let data = {}; let infosProperties = Object.keys(infos); propertiesToSave.forEach((propname) => { if (infosProperties.find((iter) => { return iter === propname; })) { data[propname] = infos[propname]; } }); /* if (infosProperties["loginEmail"] != undefined) data["loginEmail"] = infos["loginEmail"]; if (infosProperties["password"] != undefined) data["password"] = infos["password"]; if (infosProperties["password"] != undefined) data["phoneNumbers"] = infos["phoneNumbers"]; if (infosProperties["password"] != undefined) data["country"] = infos["country"]; if (infosProperties["password"] != undefined) data["number"] = infos["number"]; if (infosProperties["password"] != undefined) data["type"] = infos["type"]; if (infosProperties["password"] != undefined) data["deviceType"] = infos["deviceType"]; if (infosProperties["password"] != undefined) data["shortNumber"] = infos["shortNumber"]; if (infosProperties["password"] != undefined) data["systemId"] = infos["systemId"]; if (infosProperties["password"] != undefined) data["internalNumber"] = infos["internalNumber"]; if (infosProperties["password"] != undefined) data["firstName"] = infos["firstName"]; if (infosProperties["password"] != undefined) data["lastName"] = infos["lastName"]; if (infosProperties["password"] != undefined) data["nickName"] = infos["nickName"]; if (infosProperties["password"] != undefined) data["title"] = infos["title"]; if (infosProperties["password"] != undefined) data["jobTitle"] = infos["jobTitle"]; if (infosProperties["password"] != undefined) data["tags"] = infos["tags"]; if (infosProperties["password"] != undefined) data["emails"] = infos["emails"]; if (infosProperties["password"] != undefined) data["country"] = infos["country"]; if (infosProperties["password"] != undefined) data["state"] = infos["state"]; if (infosProperties["password"] != undefined) data["language"] = infos["language"]; if (infosProperties["password"] != undefined) data["timezone"] = infos["timezone"]; if (infosProperties["password"] != undefined) data["accountType"] = infos["accountType"]; if (infosProperties["password"] != undefined) data["roles"] = infos["roles"]; if (infosProperties["password"] != undefined) data["adminType"] = infos["adminType"]; if (infosProperties["password"] != undefined) data["companyId"] = infos["companyId"]; if (infosProperties["password"] != undefined) data["isActive"] = infos["isActive"]; if (infosProperties["password"] != undefined) data["isInitialized "] = infos["isInitialized"]; if (infosProperties["password"] != undefined) data["visibility"] = infos["visibility"]; if (infosProperties["password"] != undefined) data["timeToLive"] = infos["timeToLive"]; if (infosProperties["password"] != undefined) data["authenticationType"] = infos["authenticationType"]; if (infosProperties["password"] != undefined) data["userInfo1"] = infos["userInfo1"]; if (infosProperties["password"] != undefined) data["userInfo2"] = infos["userInfo2"]; */ that._rest.putContactInfos(userId, data).then((result) => { that._logger.log("debug", LOG_ID + "(updateContactInfos) Successfully put all infos"); that._logger.log("internal", LOG_ID + "(updateContactInfos) : result : ", result); resolve(result); }).catch(function (err) { that._logger.log("internalerror", LOG_ID + "(updateContactInfos) ErrorManager when put infos", err); that._logger.log("error", LOG_ID + "(updateContactInfos) ErrorManager when put infos"); return reject(err); }); } catch (err) { return reject(err); } }); } }; Admin = __decorate([ Utils_1.logEntryExit(LOG_ID), Utils_1.isStarted([]) /** * @module * @name Admin * @version 1.69.0-debug-24th-03-2020--03-54-58.0 * @public * @description * This module handles the management of users. Using it, You will be able to create new users, to modify information of users and to delete them.<br> * This module can be use too to create Guest users who are specific temporaly users that can be used in Rainbow. * <br><br> * The main methods proposed in that module allow to: <br> * - Create a new user in a specified company <br> * - Modify information of an existing user <br> * - Delete an existing user <br> * - Invite a user in Rainbow <br> * - Change the password of a user <br> * - Create a guest user */ ], Admin); exports.AdminService = Admin; module.exports.AdminService = Admin; //# sourceMappingURL=AdminService.js.map
wilebeast/FireFox-OS
B2G/gecko/browser/base/content/test/browser_bug594131.js
/* 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/. */ function test() { let newTab = gBrowser.addTab("http://example.com"); waitForExplicitFinish(); newTab.linkedBrowser.addEventListener("load", mainPart, true); function mainPart() { newTab.linkedBrowser.removeEventListener("load", mainPart, true); gBrowser.pinTab(newTab); gBrowser.selectedTab = newTab; openUILinkIn("http://example.org/", "current", { inBackground: true }); isnot(gBrowser.selectedTab, newTab, "shouldn't load in background"); gBrowser.removeTab(newTab); gBrowser.removeTab(gBrowser.tabs[1]); // example.org tab finish(); } }
xiaolanchong/call_to_power2
ctp2_code/ui/ldl/ldl_list.h
#ifndef LDL_LIST_H__ #define LDL_LIST_H__ #include "ldl_attr.hpp" class ldl_attributelist { public: ldl_attribute *m_head; ldl_attribute *m_tail; ldl_attributelist() { m_head = m_tail = NULL; } ~ldl_attributelist() { ldl_attribute *del = m_head, *next; while(del) { next = del->m_next; delete del; del = next; } m_head = m_tail = NULL; } ldl_attribute *GetHead() { return m_head; } ldl_attribute *GetTail() { return m_tail; } ldl_attribute *GetNext(ldl_attribute *att) { return att->m_next; } void AddTail(ldl_attribute *att) { if(m_tail) { m_tail->m_next = att; m_tail = att; } else { m_head = m_tail = att; } } ldl_attribute *FindAttribute(char *name) { ldl_attribute *search = m_head; while(search) { if(search->m_name == name) { return search; } search = search->m_next; } return NULL; } }; #endif
bennapp/game
back-end/wo/terrian_helper.go
package wo import ( "../dbs" "../gs" "../pnt" "../terr" ) func SetTerrain(coord gs.Coord, terrain terr.Terrain) { paint := dbs.LoadPaintByCoord(coord) if paint == nil { paint = pnt.NewPaintByTerrain(terrain) } else { paint.Terrain = terrain } dbs.SavePaintLocation(coord, paint) }
duranfatih/ccd-data-store-api
src/main/java/uk/gov/hmcts/ccd/domain/types/RegionValidator.java
<reponame>duranfatih/ccd-data-store-api<gh_stars>10-100 package uk.gov.hmcts.ccd.domain.types; import com.fasterxml.jackson.databind.JsonNode; import org.springframework.beans.factory.annotation.Qualifier; import uk.gov.hmcts.ccd.domain.model.definition.CaseFieldDefinition; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.util.List; @Named("RegionValidator") @Singleton public class RegionValidator implements BaseTypeValidator { public static final String TYPE_ID = "Region"; private TextValidator textValidator; @Inject public RegionValidator(@Qualifier("TextValidator") TextValidator textValidator) { this.textValidator = textValidator; } @Override public BaseType getType() { return BaseType.get(TYPE_ID); } @Override public List<ValidationResult> validate(final String dataFieldId, final JsonNode dataValue, final CaseFieldDefinition caseFieldDefinition) { List<ValidationResult> validationResult = textValidator.validate(dataFieldId, dataValue, caseFieldDefinition); return validationResult; } }
hwangdeyu/onnxruntime
orttraining/orttraining/core/framework/mpi_setup.h
<reponame>hwangdeyu/onnxruntime #pragma once #ifdef USE_HOROVOD #include "orttraining/core/graph/horovod_adapters.h" #include <mpi.h> #endif namespace onnxruntime { namespace training { struct MPIContext { MPIContext(int world_rank = 0, int local_rank = 0, int world_size = 1, int local_size = 1); int world_rank; int local_rank; int world_size; int local_size; }; #ifdef USE_HOROVOD MPIContext setup_horovod(); void shutdown_horovod(); #endif } // namespace training } // namespace onnxruntime
dybiszb/MeanCurvatureLibrary
code/external/libigl/external/embree/kernels/xeon/geometry/linei_intersector.h
// ======================================================================== // // Copyright 2009-2015 Intel 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 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. // // ======================================================================== // #pragma once #include "linei.h" #include "line_intersector.h" #include "intersector_epilog.h" namespace embree { namespace isa { template<int M, int Mx, bool filter> struct LineMiIntersector1 { typedef LineMi<M> Primitive; typedef typename LineIntersector1<Mx>::Precalculations Precalculations; static __forceinline void intersect(Precalculations& pre, Ray& ray, const Primitive& line, Scene* scene, const unsigned* geomID_to_instID) { STAT3(normal.trav_prims,1,1,1); Vec4<vfloat<M>> v0,v1; line.gather(v0,v1,scene); LineIntersector1<Mx>::intersect(ray,pre,line.valid(),v0,v1,Intersect1Epilog<M,Mx,filter>(ray,line.geomIDs,line.primIDs,scene,geomID_to_instID)); } static __forceinline bool occluded(Precalculations& pre, Ray& ray, const Primitive& line, Scene* scene, const unsigned* geomID_to_instID) { STAT3(shadow.trav_prims,1,1,1); Vec4<vfloat<M>> v0,v1; line.gather(v0,v1,scene); return LineIntersector1<Mx>::intersect(ray,pre,line.valid(),v0,v1,Occluded1Epilog<M,Mx,filter>(ray,line.geomIDs,line.primIDs,scene,geomID_to_instID)); } }; template<int M, int Mx, bool filter> struct LineMiMBIntersector1 { typedef LineMi<M> Primitive; typedef typename LineIntersector1<Mx>::Precalculations Precalculations; static __forceinline void intersect(Precalculations& pre, Ray& ray, const Primitive& line, Scene* scene, const unsigned* geomID_to_instID) { STAT3(normal.trav_prims,1,1,1); Vec4<vfloat<M>> v0,v1; line.gather(v0,v1,scene,ray.time); LineIntersector1<Mx>::intersect(ray,pre,line.valid(),v0,v1,Intersect1Epilog<M,Mx,filter>(ray,line.geomIDs,line.primIDs,scene,geomID_to_instID)); } static __forceinline bool occluded(Precalculations& pre, Ray& ray, const Primitive& line, Scene* scene, const unsigned* geomID_to_instID) { STAT3(shadow.trav_prims,1,1,1); Vec4<vfloat<M>> v0,v1; line.gather(v0,v1,scene,ray.time); return LineIntersector1<Mx>::intersect(ray,pre,line.valid(),v0,v1,Occluded1Epilog<M,Mx,filter>(ray,line.geomIDs,line.primIDs,scene,geomID_to_instID)); } }; template<int M, int Mx, int K, bool filter> struct LineMiIntersectorK { typedef LineMi<M> Primitive; typedef typename LineIntersectorK<Mx,K>::Precalculations Precalculations; static __forceinline void intersect(Precalculations& pre, RayK<K>& ray, size_t k, const Primitive& line, Scene* scene) { STAT3(normal.trav_prims,1,1,1); Vec4<vfloat<M>> v0,v1; line.gather(v0,v1,scene); LineIntersectorK<Mx,K>::intersect(ray,k,pre,line.valid(),v0,v1,Intersect1KEpilog<M,Mx,K,filter>(ray,k,line.geomIDs,line.primIDs,scene)); } static __forceinline bool occluded(Precalculations& pre, RayK<K>& ray, size_t k, const Primitive& line, Scene* scene) { STAT3(shadow.trav_prims,1,1,1); Vec4<vfloat<M>> v0,v1; line.gather(v0,v1,scene); return LineIntersectorK<Mx,K>::intersect(ray,k,pre,line.valid(),v0,v1,Occluded1KEpilog<M,Mx,K,filter>(ray,k,line.geomIDs,line.primIDs,scene)); } }; template<int M, int Mx, int K, bool filter> struct LineMiMBIntersectorK { typedef LineMi<M> Primitive; typedef typename LineIntersectorK<Mx,K>::Precalculations Precalculations; static __forceinline void intersect(Precalculations& pre, RayK<K>& ray, size_t k, const Primitive& line, Scene* scene) { STAT3(normal.trav_prims,1,1,1); Vec4<vfloat<M>> v0,v1; line.gather(v0,v1,scene,ray.time[k]); LineIntersectorK<Mx,K>::intersect(ray,k,pre,line.valid(),v0,v1,Intersect1KEpilog<M,Mx,K,filter>(ray,k,line.geomIDs,line.primIDs,scene)); } static __forceinline bool occluded(Precalculations& pre, RayK<K>& ray, size_t k, const Primitive& line, Scene* scene) { STAT3(shadow.trav_prims,1,1,1); Vec4<vfloat<M>> v0,v1; line.gather(v0,v1,scene,ray.time[k]); return LineIntersectorK<Mx,K>::intersect(ray,k,pre,line.valid(),v0,v1,Occluded1KEpilog<M,Mx,K,filter>(ray,k,line.geomIDs,line.primIDs,scene)); } }; } }
vbohinc/qpid-java
broker-core/src/main/java/org/apache/qpid/server/security/auth/manager/ScramSHA1AuthenticationManager.java
<reponame>vbohinc/qpid-java /* * * 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 not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software 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. * */ package org.apache.qpid.server.security.auth.manager; import java.nio.charset.Charset; import java.util.Map; import org.apache.qpid.server.model.Broker; import org.apache.qpid.server.model.ManagedObject; import org.apache.qpid.server.model.ManagedObjectFactoryConstructor; @ManagedObject( category = false, type = "SCRAM-SHA-1" ) public class ScramSHA1AuthenticationManager extends AbstractScramAuthenticationManager<ScramSHA1AuthenticationManager> { public static final String PROVIDER_TYPE = "SCRAM-SHA-1"; private static final String HMAC_NAME = "HmacSHA1"; static final Charset ASCII = Charset.forName("ASCII"); private static final String MECHANISM = "SCRAM-SHA-1"; private static final String DIGEST_NAME = "SHA-1"; @ManagedObjectFactoryConstructor protected ScramSHA1AuthenticationManager(final Map<String, Object> attributes, final Broker broker) { super(attributes, broker); } @Override protected String getMechanismName() { return MECHANISM; } @Override protected String getDigestName() { return DIGEST_NAME; } @Override protected String getHmacName() { return HMAC_NAME; } }
demarle/compute-runtime
opencl/test/unit_test/test_macros/test_checks_ocl.cpp
<reponame>demarle/compute-runtime<gh_stars>0 /* * Copyright (C) 2020-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "opencl/test/unit_test/test_macros/test_checks_ocl.h" #include "shared/source/device/device_info.h" #include "shared/source/helpers/hw_helper.h" #include "shared/test/common/helpers/default_hw_info.h" #include "opencl/source/cl_device/cl_device.h" #include "opencl/source/context/context.h" #include "opencl/source/helpers/cl_hw_helper.h" #include "opencl/source/kernel/kernel.h" using namespace NEO; bool TestChecks::supportsSvm(const ClDevice *pClDevice) { return supportsSvm(&pClDevice->getDevice()); } bool TestChecks::supportsImages(const Context *pContext) { return pContext->getDevice(0)->getSharedDeviceInfo().imageSupport; } bool TestChecks::supportsOcl21(const Context *pContext) { return pContext->getDevice(0)->isOcl21Conformant(); } bool TestChecks::supportsOcl21(const std::unique_ptr<HardwareInfo> &pHardwareInfo) { return (pHardwareInfo->capabilityTable.supportsOcl21Features && pHardwareInfo->capabilityTable.supportsDeviceEnqueue && pHardwareInfo->capabilityTable.supportsPipes && pHardwareInfo->capabilityTable.supportsIndependentForwardProgress); } bool TestChecks::supportsDeviceEnqueue(const ClDevice *pClDevice) { return pClDevice->getHardwareInfo().capabilityTable.supportsDeviceEnqueue; } bool TestChecks::supportsDeviceEnqueue(const Context *pContext) { return supportsDeviceEnqueue(pContext->getDevice(0)); } bool TestChecks::supportsDeviceEnqueue(const std::unique_ptr<HardwareInfo> &pHardwareInfo) { return pHardwareInfo->capabilityTable.supportsDeviceEnqueue; } bool TestChecks::supportsAuxResolves() { KernelInfo kernelInfo{}; KernelArgInfo argInfo{}; argInfo.isBuffer = true; argInfo.pureStatefulBufferAccess = false; kernelInfo.kernelArgInfo.push_back(std::move(argInfo)); auto &clHwHelper = ClHwHelper::get(defaultHwInfo->platform.eRenderCoreFamily); return clHwHelper.requiresAuxResolves(kernelInfo); }
talshimoni/gimel
udc/udc-serv/src/main/java/com/paypal/udc/dao/rangerpolicy/RangerPolicyRepository.java
<gh_stars>100-1000 package com.paypal.udc.dao.rangerpolicy; import java.util.List; import org.springframework.data.repository.CrudRepository; import com.paypal.udc.entity.rangerpolicy.DerivedPolicy; public interface RangerPolicyRepository extends CrudRepository<DerivedPolicy, Long> { List<DerivedPolicy> findByPolicyLocationsContainingAndTypeNameAndClusterId(String location, String typeName, long clusterId); DerivedPolicy findByClusterIdAndPolicyId(long clusterId, int policyId); List<DerivedPolicy> findByClusterIdAndIsActiveYN(long clusterId, String isActiveYN); }
k8s-arya/lizthegrey-adventofcode
2018/day09.go
<reponame>k8s-arya/lizthegrey-adventofcode package main import ( "container/ring" "flag" "fmt" ) var numPlayers = flag.Int("numPlayers", 9, "The number of players.") var maxMarble = flag.Int("maxMarble", 25, "The maximum marble score.") func main() { flag.Parse() scores := make([]int, *numPlayers) pidx := -1 current := ring.New(1) current.Value = 0 for i := 1; i <= *maxMarble; i++ { pidx = (pidx + 1) % *numPlayers if i%23 != 0 { current = current.Next() added := ring.New(1) added.Value = i current.Link(added) current = current.Next() } else { scores[pidx] += i for v := 0; v < 7; v++ { current = current.Prev() } current = current.Prev() removed := current.Unlink(1) current = current.Next() scores[pidx] += removed.Value.(int) } } result := 0 for _, v := range scores { if v > result { result = v } } fmt.Printf("Result is %d\n", result) }
saga-project/saga-cpp
external/u2nt/lib/dh_mem.c
<filename>external/u2nt/lib/dh_mem.c<gh_stars>1-10 /***************************************************************************** * * * DH_MEM.C * * * * Freely redistributable and modifiable. Use at your own risk. * * * * Copyright 1994 The Downhill Project * * * *****************************************************************************/ #if !defined(lint) && !defined(_NOIDENT) static const char* rcsid = "@(#)$RCSfile: dh_mem.c,v $ $Revision: 1.1 $ (DOWNHILL) $Date: 2006/02/07 17:25:06 $"; #endif /* Include stuff *************************************************************/ #include "INCLUDE/DH.H" #include <malloc.h> /* Function stuff ************************************************************/ /* Free a memory block ===================================================== */ #if (_DOWNHILL_POSIX_SOURCE == 0) void cfree(void* mem_Block) { free(mem_Block); } #endif
vxsd/refraction
src/game/shared/groundlink.h
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #ifndef GROUNDLINK_H #define GROUNDLINK_H #ifdef _WIN32 #pragma once #endif //----------------------------------------------------------------------------- // Purpose: Used for tracking many to one ground entity chains ( many ents can share a single ground entity ) //----------------------------------------------------------------------------- struct groundlink_t { EHANDLE entity; groundlink_t *nextLink; groundlink_t *prevLink; }; #endif // GROUNDLINK_H
nafeu/audio-visualizer-starter
src/libraries/beads/src/beads_main/net/beadsproject/beads/ugens/TapIn.java
/* * This file is part of Beads. See http://www.beadsproject.net for all information. */ package net.beadsproject.beads.ugens; import java.util.Arrays; import net.beadsproject.beads.core.AudioContext; import net.beadsproject.beads.core.UGen; /** * TapIn stores and serves sound data. Can be used with TapOut to implement * delays, etc. * * @beads.category effect * @author ben * @author <NAME> * @version 0.9 */ public class TapIn extends UGen { private float mem[]; private int memLength, maxDelay; private int counter; private float sampsPerMS; /** * @param ac * AudioContext * @param maxDelayInMS * The size of the tapin memory buffer in milliseconds. */ public TapIn(AudioContext ac, float maxDelayInMS) { super(ac, 1, 0); sampsPerMS = (float) ac.msToSamples(1); maxDelay = (int) ac.msToSamples(maxDelayInMS) + 1; if (maxDelay < bufferSize) { maxDelay = bufferSize; } memLength = maxDelay + 1; mem = new float[memLength]; Arrays.fill(mem, 0.f); counter = 0; } public void calculateBuffer() { float[] bi = bufIn[0]; for (int i = 0; i < bufferSize; i++) { mem[counter] = bi[i]; counter = (counter + 1) % memLength; } } public void fillBufferLinear(float buf[], UGen env) { int base = (counter - bufferSize + memLength) % memLength; for (int i = 0; i < buf.length; i++) { float numSamplesBack; if ((numSamplesBack = env.getValue(0, i) * sampsPerMS) < 0) { numSamplesBack = 0; } else if (numSamplesBack > maxDelay) { numSamplesBack = maxDelay; } float frac = numSamplesBack % 1; int d1 = ((base + i - ((int) numSamplesBack) - 1) + memLength) % memLength; int d2 = (d1 + 1) % memLength; buf[i] = mem[d1] * frac + mem[d2] * (1 - frac); } } public void fillBufferLinear(float buf[], float numSamplesBack) { if (numSamplesBack < 0) { numSamplesBack = 0; } else if (numSamplesBack > maxDelay) { numSamplesBack = maxDelay; } float frac = numSamplesBack % 1; int base = (counter - bufferSize - ((int) numSamplesBack) - 1 + memLength + memLength); for (int i = 0; i < buf.length; i++) { int d1 = (base + i) % memLength; buf[i] = mem[d1] * frac + mem[(d1 + 1) % memLength] * (1 - frac); } } public void fillBufferNoInterp(float buf[], UGen env) { int base = (counter - bufferSize + memLength + memLength); for (int i = 0; i < buf.length; i++) { int numSamplesBack; if ((numSamplesBack = (int) (env.getValue(0, i) * sampsPerMS + .5)) < 0) { numSamplesBack = 0; } else if (numSamplesBack > maxDelay) { numSamplesBack = maxDelay; } buf[i] = mem[(base + i - numSamplesBack) % memLength]; } } public void fillBufferNoInterp(float buf[], int numSamplesBack) { if (numSamplesBack < 0) { numSamplesBack = 0; } else if (numSamplesBack > maxDelay) { numSamplesBack = maxDelay; } int base = (counter - bufferSize - numSamplesBack + memLength + memLength); for (int i = 0; i < buf.length; i++) { buf[i] = mem[(base + i) % memLength]; } } public float fillBufferAllpass(float buf[], UGen env, float lastY) { int base = counter - bufferSize + memLength + memLength; for (int i = 0; i < buf.length; i++) { float numSamplesBack; if ((numSamplesBack = env.getValue(0, i) * sampsPerMS) < 0) { numSamplesBack = 0; } else if (numSamplesBack > maxDelay) { numSamplesBack = maxDelay; } float frac = numSamplesBack % 1; float g = (1 - frac) / (1 + frac); int d1 = ((base + i - ((int) numSamplesBack) - 1) + memLength) % memLength; buf[i] = lastY = mem[d1] + g * (mem[(d1 + 1) % memLength] - lastY); } return lastY; } /** * * @param buf * @param sampDel * @param g * @param lastY * @return The last output value. */ public float fillBufferAllpass(float buf[], int sampDel, float g, float lastY) { if (sampDel < 0) { sampDel = 0; } else if (sampDel > maxDelay) { sampDel = maxDelay; } int base = counter - bufferSize - sampDel - 1 + memLength + memLength; for (int i = 0; i < buf.length; i++) { int d1 = (base + i) % memLength; buf[i] = lastY = mem[d1] + g * (mem[(d1 + 1) % memLength] - lastY); } return lastY; } }
huahang/incubator-nuttx
mm/iob/iob_pack.c
<gh_stars>1-10 /**************************************************************************** * mm/iob/iob_pack.c * * Copyright (C) 2014 <NAME>. All rights reserved. * Author: <NAME> <<EMAIL>> * * 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 copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * ****************************************************************************/ /**************************************************************************** * Included Files ****************************************************************************/ #include <nuttx/config.h> #include <string.h> #include <nuttx/mm/iob.h> #include "iob.h" /**************************************************************************** * Public Functions ****************************************************************************/ /**************************************************************************** * Name: iob_pack * * Description: * Pack all data in the I/O buffer chain so that the data offset is zero * and all but the final buffer in the chain are filled. Any emptied * buffers at the end of the chain are freed. * ****************************************************************************/ FAR struct iob_s *iob_pack(FAR struct iob_s *iob, enum iob_user_e producerid) { FAR struct iob_s *head; FAR struct iob_s *next; unsigned int ncopy; unsigned int navail; /* Handle special cases */ while (iob->io_len <= 0) { iob = iob_free(iob, producerid); if (iob == NULL) { return NULL; } } /* Now remember the head of the chain (for the return value) */ head = iob; /* Pack each entry in the list */ while (iob) { next = iob->io_flink; /* Eliminate the data offset in this entry */ if (iob->io_offset > 0) { memcpy(iob->io_data, &iob->io_data[iob->io_offset], iob->io_len); iob->io_offset = 0; } /* Is there a buffer after this one? */ if (next) { /* How many bytes can we copy from the next I/O buffer. Limit the * size of the copy to the amount of free space in current I/O * buffer */ ncopy = next->io_len; navail = CONFIG_IOB_BUFSIZE - iob->io_len; if (ncopy > navail) { ncopy = navail; } if (ncopy > 0) { /* Copy the data from the next into the current I/O buffer iob */ memcpy(&iob->io_data[iob->io_len], &next->io_data[next->io_offset], ncopy); /* Adjust lengths and offsets */ iob->io_len += ncopy; next->io_len -= ncopy; next->io_offset += ncopy; } /* Have we consumed all of the data in the next entry? */ if (next->io_len <= 0) { /* Yes.. free the next entry in I/O buffer chain */ next = iob_free(next, producerid); iob->io_flink = next; } } /* Set up to pack the next entry in the chain */ iob = next; } return head; }
zealoussnow/chromium
chrome/browser/chromeos/extensions/ime_menu_event_router.cc
<reponame>zealoussnow/chromium<gh_stars>1000+ // Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/extensions/ime_menu_event_router.h" #include <memory> #include <vector> #include "base/values.h" #include "chrome/browser/chromeos/extensions/input_method_api.h" #include "chrome/common/extensions/api/input_method_private.h" #include "content/public/browser/browser_context.h" #include "extensions/browser/event_router.h" namespace input_method_private = extensions::api::input_method_private; namespace OnImeMenuActivationChanged = extensions::api::input_method_private::OnImeMenuActivationChanged; namespace OnImeMenuListChanged = extensions::api::input_method_private::OnImeMenuListChanged; namespace OnImeMenuItemsChanged = extensions::api::input_method_private::OnImeMenuItemsChanged; namespace chromeos { ExtensionImeMenuEventRouter::ExtensionImeMenuEventRouter( content::BrowserContext* context) : context_(context) { input_method::InputMethodManager::Get()->AddImeMenuObserver(this); } ExtensionImeMenuEventRouter::~ExtensionImeMenuEventRouter() { input_method::InputMethodManager::Get()->RemoveImeMenuObserver(this); } void ExtensionImeMenuEventRouter::ImeMenuActivationChanged(bool activation) { extensions::EventRouter* router = extensions::EventRouter::Get(context_); if (!router->HasEventListener(OnImeMenuActivationChanged::kEventName)) return; std::unique_ptr<base::ListValue> args(new base::ListValue()); args->Append(activation); // The router will only send the event to extensions that are listening. auto event = std::make_unique<extensions::Event>( extensions::events::INPUT_METHOD_PRIVATE_ON_IME_MENU_ACTIVATION_CHANGED, OnImeMenuActivationChanged::kEventName, std::move(*args).TakeList(), context_); router->BroadcastEvent(std::move(event)); } void ExtensionImeMenuEventRouter::ImeMenuListChanged() { extensions::EventRouter* router = extensions::EventRouter::Get(context_); if (!router->HasEventListener(OnImeMenuListChanged::kEventName)) return; // The router will only send the event to extensions that are listening. auto event = std::make_unique<extensions::Event>( extensions::events::INPUT_METHOD_PRIVATE_ON_IME_MENU_LIST_CHANGED, OnImeMenuListChanged::kEventName, std::vector<base::Value>(), context_); router->BroadcastEvent(std::move(event)); } void ExtensionImeMenuEventRouter::ImeMenuItemsChanged( const std::string& engine_id, const std::vector<input_method::InputMethodManager::MenuItem>& items) { extensions::EventRouter* router = extensions::EventRouter::Get(context_); if (!router->HasEventListener(OnImeMenuItemsChanged::kEventName)) return; std::vector<input_method_private::MenuItem> menu_items; for (const auto& item : items) { input_method_private::MenuItem menu_item; menu_item.id = item.id; menu_item.label = std::make_unique<std::string>(item.label); switch (item.style) { case input_method::InputMethodManager::MENU_ITEM_STYLE_CHECK: menu_item.style = input_method_private::ParseMenuItemStyle("check"); break; case input_method::InputMethodManager::MENU_ITEM_STYLE_RADIO: menu_item.style = input_method_private::ParseMenuItemStyle("radio"); break; case input_method::InputMethodManager::MENU_ITEM_STYLE_SEPARATOR: menu_item.style = input_method_private::ParseMenuItemStyle("separator"); break; default: menu_item.style = input_method_private::ParseMenuItemStyle(""); } menu_item.visible = std::make_unique<bool>(item.visible); menu_item.checked = std::make_unique<bool>(item.checked); menu_item.enabled = std::make_unique<bool>(item.enabled); menu_items.push_back(std::move(menu_item)); } auto args = OnImeMenuItemsChanged::Create(engine_id, menu_items); // The router will only send the event to extensions that are listening. auto event = std::make_unique<extensions::Event>( extensions::events::INPUT_METHOD_PRIVATE_ON_IME_MENU_ITEMS_CHANGED, OnImeMenuItemsChanged::kEventName, std::move(args), context_); router->BroadcastEvent(std::move(event)); } } // namespace chromeos
CourtHive/tods-competition-factory
src/drawEngine/generators/feedInChampionShip.js
import { getStageDrawPositionsCount } from '../../drawEngine/getters/stageGetter'; import structureTemplate from '../../drawEngine/generators/structureTemplate'; import { feedInLinks } from '../../drawEngine/generators/feedInLinks'; import { treeMatchUps, feedInMatchUps, } from '../../drawEngine/generators/eliminationTree'; import { MAIN, CONSOLATION } from '../../constants/drawDefinitionConstants'; import { SUCCESS } from '../../constants/resultConstants'; export function feedInChampionship(params = {}) { const { uuids, feedRounds, matchUpType, stage = MAIN, structureName, drawDefinition, feedsFromFinal, stageSequence = 1, finishingPositionOffset, staggeredEntry, feedPolicy, idPrefix, isMock, fmlc, } = params; const drawSize = getStageDrawPositionsCount({ stage, drawDefinition }); const mainParams = { finishingPositionOffset, matchUpType, drawSize, idPrefix, isMock, uuids, }; const { matchUps } = staggeredEntry ? feedInMatchUps(mainParams) : treeMatchUps(mainParams); const mainStructure = structureTemplate({ structureName: structureName || MAIN, structureId: uuids?.pop(), stageSequence, stage: MAIN, matchUpType, matchUps, }); drawDefinition.structures.push(mainStructure); const baseDrawSize = drawSize / 2; const { matchUps: consolationMatchUps, roundsCount } = feedInMatchUps({ finishingPositionOffset: baseDrawSize, isConsolation: true, feedsFromFinal, baseDrawSize, matchUpType, feedRounds, idPrefix: idPrefix && `${idPrefix}-c`, isMock, uuids, fmlc, }); const consolationStructure = structureTemplate({ matchUpType, stageSequence: 1, stage: CONSOLATION, structureId: uuids?.pop(), structureName: CONSOLATION, matchUps: consolationMatchUps, }); drawDefinition.structures.push(consolationStructure); const links = feedInLinks({ mainStructure, consolationStructure, roundsCount, feedPolicy, fmlc, }); drawDefinition.links = drawDefinition.links.concat(...links); return Object.assign( { mainStructure, consolationStructure, links: drawDefinition.links }, SUCCESS ); }
amplia-iiot/opengate-angular-js
src/directives/onSelection.directive.js
<filename>src/directives/onSelection.directive.js 'use strict'; angular.module('opengate-angular-js').directive('onSelection', function(RangeService) { return { restrict: 'A', scope: false, link: function(scope, element, attrs) { var options = { snapToWord: ('snapToWord' in attrs), highlight: ('autoHighlight' in attrs) }; element.bind('mouseup', function() { if (RangeService.disabled) { return; } var selection = RangeService.process(options); if (selection && selection.getText() && selection.getText().trim() !== '') { scope.$eval(attrs.onSelection, { selection: selection }); } }); } }; });
nanjekyejoannah/pypy
rpython/rlib/_stacklet_n_a.py
from rpython.rlib import _rffi_stacklet as _c from rpython.rlib import debug from rpython.rlib.objectmodel import we_are_translated, specialize from rpython.rtyper.annlowlevel import llhelper class StackletGcRootFinder(object): @staticmethod @specialize.arg(1) def new(thrd, callback, arg): h = _c.new(thrd._thrd, llhelper(_c.run_fn, callback), arg) if not h: raise MemoryError return h @staticmethod def switch(h): h = _c.switch(h) if not h: raise MemoryError return h @staticmethod def destroy(thrd, h): _c.destroy(thrd._thrd, h) if we_are_translated(): debug.debug_print("not using a framework GC: " "stacklet_destroy() may leak") is_empty_handle = staticmethod(_c.is_empty_handle) @staticmethod def get_null_handle(): return _c.null_handle gcrootfinder = StackletGcRootFinder # class object
sait-berkeley-infosec/calcentral
spec/controllers/canvas_rosters_controller_spec.rb
<reponame>sait-berkeley-infosec/calcentral<filename>spec/controllers/canvas_rosters_controller_spec.rb require "spec_helper" describe CanvasRostersController do it "should return error if not authorized" do user_id = rand(99999) canvas_course_id = rand(999999).to_s session[:user_id] = user_id Canvas::CanvasRosters.any_instance.stub(:get_feed).and_return(nil) get :get_feed, canvas_course_id: canvas_course_id assert_response(401) student_id = rand(99999) get :photo, canvas_course_id: canvas_course_id, person_id: student_id assert_response(401) end it "should retrieve the Canvas course ID from the session when embedded" do user_id = rand(99999) canvas_course_id = rand(999999) session[:user_id] = user_id session[:canvas_course_id] = canvas_course_id.to_s stub_model = double Canvas::CanvasRosters.should_receive(:new).with(user_id, {course_id: canvas_course_id}).and_return(stub_model) stub_model.should_receive(:get_feed).and_return( { sections: [], students: [] } ) get :get_feed, canvas_course_id: 'embedded' assert_response :success json_response = JSON.parse(response.body) json_response["sections"].should_not be_nil json_response["students"].should_not be_nil end end
sorianos/profile-rest-api
projects_api/migrations/0063_airports_flightcosts.py
<reponame>sorianos/profile-rest-api # Generated by Django 2.2 on 2021-07-05 02:41 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('projects_api', '0062_auto_20210629_0250'), ] operations = [ migrations.CreateModel( name='Airports', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('country_code', models.CharField(max_length=255, null=True)), ('country', models.CharField(max_length=255, null=True)), ('city', models.CharField(max_length=255, null=True)), ('airport', models.CharField(max_length=255, null=True)), ], ), migrations.CreateModel( name='FlightCosts', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('departure_time', models.CharField(max_length=255, null=True)), ('departure_date', models.CharField(max_length=255, null=True)), ('cost', models.CharField(max_length=255, null=True)), ('arrival_airport_id', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='flightcosts_requests_created', to='projects_api.Airports')), ('departure_airport_id', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='projects_api.Airports')), ], ), ]
CapeDrew/DCMTK-ITK
Modules/IO/Stimulate/src/itkStimulateImageIO.cxx
<filename>Modules/IO/Stimulate/src/itkStimulateImageIO.cxx<gh_stars>1-10 /*========================================================================= * * Copyright Insight Software Consortium * * 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.txt * * 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. * *=========================================================================*/ /*========================================================================= * * Portions of this file are subject to the VTK Toolkit Version 3 copyright. * * Copyright (c) <NAME>, <NAME>, <NAME> * * For complete copyright, license and disclaimer of warranty information * please refer to the NOTICE file at the top of the ITK source tree. * *=========================================================================*/ #include "itkStimulateImageIO.h" #include <stdio.h> #include <string.h> #include "itksys/SystemTools.hxx" #include "itksys/RegularExpression.hxx" #include "itkByteSwapper.h" namespace itk { StimulateImageIO::StimulateImageIO() { this->SetNumberOfDimensions(4); m_ByteOrder = BigEndian; m_FileType = Binary; m_DisplayRange[0] = 0; m_DisplayRange[1] = 0; } StimulateImageIO::~StimulateImageIO() {} bool StimulateImageIO::OpenStimulateFileForReading(std::ifstream & os, const char *filename) { // Make sure that we have a file to if ( *filename == 0 ) { itkExceptionMacro(<< "A FileName must be specified."); return false; } // Close file from any previous image if ( os.is_open() ) { os.close(); } // Open the new file for reading itkDebugMacro(<< "Initialize: opening file " << filename); // Actually open the file os.open(filename, std::ios::in | std::ios::binary); if ( os.fail() ) { return false; } return true; } bool StimulateImageIO::OpenStimulateFileForWriting(std::ofstream & os, const char *filename) { // Make sure that we have a file to if ( *filename == 0 ) { itkExceptionMacro(<< "A FileName must be specified."); return false; } // Close file from any previous image if ( os.is_open() ) { os.close(); } // Open the new file for writing itkDebugMacro(<< "Initialize: opening file " << filename); // Actually open the file os.open(filename, std::ios::out | std::ios::binary); if ( os.fail() ) { itkExceptionMacro(<< "Could not open file for writing: " << filename); return false; } return true; } // This method will only test if the header looks like a //Stimulate image file. bool StimulateImageIO::CanReadFile(const char *filename) { std::ifstream file; char buffer[256]; std::string fname(filename); if ( fname == "" ) { itkDebugMacro(<< "No filename specified."); return false; } bool extensionFound = false; std::string::size_type sprPos = fname.rfind(".spr"); if ( ( sprPos != std::string::npos ) && ( sprPos == fname.length() - 4 ) ) { extensionFound = true; } if ( !extensionFound ) { itkDebugMacro(<< "The filename extension is not recognized"); return false; } if ( !this->OpenStimulateFileForReading(file, filename) ) { return false; } // Check to see if its a spr file file.getline(buffer, 255); fname = buffer; if ( fname.find("numDim:") < fname.length() || fname.find("dim:") < fname.length() || fname.find("dataType:") < fname.length() ) { return true; } else { return false; } } void StimulateImageIO::Read(void *buffer) { std::ifstream file; //read header information file: this->InternalReadImageInformation(file); //read data file std::ifstream file_data; if ( m_DataFileName == "" ) { //if no data filename was specified try to guess one: //based on filename.spr , options are: //1: filename.spr.sdt //2: filename.sdt //option 1: m_DataFileName = m_FileName; m_DataFileName.replace(m_DataFileName.length(), 4, ".sdt"); // Actually open the file file_data.open(m_DataFileName.c_str(), std::ios::in | std::ios::binary); if ( file_data.fail() ) { //option 2: m_DataFileName = m_FileName; m_DataFileName.replace(m_DataFileName.length() - 3, 3, "sdt"); file_data.open(m_DataFileName.c_str(), std::ios::in | std::ios::binary); if ( file_data.fail() ) { itkExceptionMacro(<< "No Data file was specified in header (spr) file and guessing file data name failed."); return; } } } //a filename was found for data file if ( !OpenStimulateFileForReading( file_data, m_DataFileName.c_str() ) ) { itkExceptionMacro( "StimulateImageIO could not open file: " << m_DataFileName << " for reading." << std::endl << "Reason: " << itksys::SystemTools::GetLastSystemError() ); return; } if ( !this->ReadBufferAsBinary( file_data, buffer, this->GetImageSizeInBytes() ) ) { itkExceptionMacro(<< "Read failed: Wanted " << this->GetImageSizeInBytes() << " bytes, but read " << file_data.gcount() << " bytes." << " from file " << m_DataFileName); } //byte swapping depending on pixel type: switch ( this->GetComponentType() ) { case CHAR: ByteSwapper< char >::SwapRangeFromSystemToBigEndian( (char *)buffer, static_cast< SizeValueType >( this->GetImageSizeInComponents() ) ); break; case SHORT: ByteSwapper< short >::SwapRangeFromSystemToBigEndian( (short *)buffer, static_cast< SizeValueType >( this-> GetImageSizeInComponents() ) ); break; case INT: ByteSwapper< int >::SwapRangeFromSystemToBigEndian( (int *)buffer, static_cast< SizeValueType >( this->GetImageSizeInComponents() ) ); break; case FLOAT: ByteSwapper< float >::SwapRangeFromSystemToBigEndian( (float *)buffer, static_cast< SizeValueType >( this-> GetImageSizeInComponents() ) ); break; case DOUBLE: ByteSwapper< double >::SwapRangeFromSystemToBigEndian( (double *)buffer, static_cast< SizeValueType >( this-> GetImageSizeInComponents() ) ); break; default: break; } //closing files: file.close(); file_data.close(); } void StimulateImageIO::InternalReadImageInformation(std::ifstream & file) { char line[255]; std::string text; //read .sdt file (header) if ( !this->OpenStimulateFileForReading( file, m_FileName.c_str() ) ) { itkExceptionMacro( "StimulateImageIO could not open sdt file: " << m_FileName << " for reading." << std::endl << "Reason: " << itksys::SystemTools::GetLastSystemError() ); } // re open in ascii mode file.close(); file.open(m_FileName.c_str(), std::ios::in); //extract dimensions, spacing, origin unsigned int dim; unsigned int dims[4]; float spacing[4]; float origin[4]; float fov[4]; // set values in case we don't find them this->SetNumberOfDimensions(4); m_Spacing[0] = 1.0; m_Spacing[1] = 1.0; m_Spacing[2] = 1.0; m_Spacing[3] = 1.0; m_Origin[0] = 0.0; m_Origin[1] = 0.0; m_Origin[2] = 0.0; m_Origin[3] = 0.0; char pixelType[256]; float range[2]; //char fidName[256] = ""; //char orient[256] = ""; bool fov_specified = false; bool origin_specified = false; bool spacing_specified = false; while ( ( file.getline(line, 255), file.gcount() > 0 ) ) { text = line; if ( text.find("numDim") < text.length() ) { sscanf(line, "%*s %d", &dim); this->SetNumberOfDimensions(dim); } else if ( text.find("dim") < text.length() ) { sscanf(line, "%*s %d %d %d %d", dims, dims + 1, dims + 2, dims + 3); if ( m_NumberOfDimensions > 3 && dims[3] <= 1 ) { this->SetNumberOfDimensions(3); } if ( m_NumberOfDimensions > 2 && dims[2] <= 1 ) { this->SetNumberOfDimensions(2); } for ( unsigned int i = 0; i < m_NumberOfDimensions; i++ ) { m_Dimensions[i] = dims[i]; } } else if ( text.find("origin") < text.length() ) { //origin //Position of the center of the first voxel. One value for each dimension. // If //the origin is not specified, but the fov is, then the image is assumed //to be centered: sscanf(line, "%*s %f %f %f %f", origin, origin + 1, origin + 2, origin + 3); for ( unsigned int i = 0; i < m_NumberOfDimensions; i++ ) { m_Origin[i] = origin[i]; } origin_specified = true; } else if ( text.find("extent") < text.length() ) { //not documented itkDebugMacro(<< "Extent was specified"); } else if ( text.find("fov") < text.length() ) { //fov //Field of view: The distance between the outside edges of the first and // last //voxel along each dimension; one value for each dimension. If the fov is // not //specified it is calculated according to: fov = interval * dim sscanf(line, "%*s %f %f %f %f", fov, fov + 1, fov + 2, fov + 3); fov_specified = true; } else if ( text.find("interval") < text.length() ) { //interval //The center to center distance between adjacent voxels along each // dimension; //one value for each dimension. If the interval is not specified it is //calculated according to: interval = fov / dim sscanf(line, "%*s %f %f %f %f", spacing, spacing + 1, spacing + 2, spacing + 3); for ( unsigned int i = 0; i < m_NumberOfDimensions; i++ ) { m_Spacing[i] = spacing[i]; } spacing_specified = true; } else if ( text.find("dataType") < text.length() ) { sscanf(line, "%*s %s", pixelType); text = pixelType; SetPixelType(SCALAR); if ( text.find("BYTE") < text.length() ) { SetComponentType(CHAR); } else if ( text.find("WORD") < text.length() ) { SetComponentType(SHORT); } else if ( text.find("LWORD") < text.length() ) { SetComponentType(INT); } else if ( text.find("REAL") < text.length() ) { SetComponentType(FLOAT); } else if ( text.find("COMPLEX") < text.length() ) { SetPixelType(VECTOR); SetComponentType(DOUBLE); } else { itkExceptionMacro(<< "Unrecognized type"); } } //found scalars else if ( text.find("displayRange") < text.length() ) { //displayRange: //Two values giving the low_value and high_value. Voxel values below the //low_value will be displayed as black and voxels with values above the //high_value will be displayed as white. Voxels with values within the // display //range are displayed with a grey value that is scaled linearly between // the //low_value and high_value. sscanf(line, "%*s %f %f", range, range + 1); m_DisplayRange[0] = range[0]; m_DisplayRange[1] = range[1]; } else if ( text.find("fidName") < text.length() ) { //Not well documented //This is a bit tricky to get the value as there is sometime no white // space //only a ':' separate field from value, we assume there is no other ':' char *pch; pch = strchr(line, ':'); sscanf(++pch, "%s", m_FidName); //delete any white space left itkDebugMacro(<< "fidName was specified"); } else if ( text.find("sdtOrient") < text.length() ) { //Not used now, but later when ITK Dictionary will be ready //don't know for now the format in which to save this. //This is a bit tricky to get the value as there is sometime no white // space //only a ':' separate field from value, we assume there is no other ':' char *pch; pch = strchr(line, ':'); sscanf(++pch, "%s", m_SdtOrient); //delete any white space left itkDebugMacro(<< "Orientation was specified"); } else if ( text.find("dsplyThres") < text.length() ) { //not documented itkDebugMacro(<< "Display threshold was specified"); } else if ( text.find("endian") < text.length() ) { //BigEndian ieee-be / LittleEndian: ieee-le if ( text.find("ieee-le") < text.length() ) { itkExceptionMacro(<< "Little Endian Stimulate files are not handled."); } } else if ( text.find("mapParmFileName") < text.length() ) { //not documented itkDebugMacro(<< "mapParmFileName was specified"); } else if ( text.find("mapTypeName") < text.length() ) { //not documented itkDebugMacro(<< "mapTypeName was specified"); } else if ( text.find("stimFileName:") < text.length() ) { //file data name is explicitely specified std::string datafilename; // Remove leading and trailing blanks itksys::RegularExpression regexp("stimFileName:[ ]*(.*)[ ]*$"); regexp.find(text); datafilename = regexp.match(1); //if the data filename has a directory specified, use it as is, //otherwise prepend the path of the .spr file. std::string datafilenamePath = ::itksys::SystemTools::GetFilenamePath (datafilename); if ( datafilenamePath == "" ) { std::string fileNamePath = ::itksys::SystemTools::GetFilenamePath ( m_FileName.c_str() ); m_DataFileName = fileNamePath + "/" + datafilename; } else { m_DataFileName = datafilename; } } else if ( text.find("mapConf") < text.length() ) { //not documented itkDebugMacro(<< "mapConf was specified"); } else if ( text.find("periodStr") < text.length() ) { //not documented itkDebugMacro(<< "periodStr was specified"); } } //compute any missing informations: if ( !spacing_specified && fov_specified ) { for ( unsigned int i = 0; i < m_NumberOfDimensions; i++ ) { m_Spacing[i] = fov[i] / dims[i]; } } if ( !origin_specified && fov_specified ) { for ( unsigned int i = 0; i < m_NumberOfDimensions; i++ ) { m_Origin[i] = ( m_Spacing[i] - fov[i] ) / 2.; } } //otherwise default spacing & origin are used. } void StimulateImageIO::ReadImageInformation() { std::ifstream file; this->InternalReadImageInformation(file); } bool StimulateImageIO::CanWriteFile(const char *name) { std::string filename = name; if ( filename == "" ) { itkDebugMacro(<< "No filename specified."); return false; } bool extensionFound = false; std::string::size_type sprPos = filename.rfind(".spr"); if ( ( sprPos != std::string::npos ) && ( sprPos == filename.length() - 4 ) ) { extensionFound = true; } if ( !extensionFound ) { itkDebugMacro(<< "The filename extension is not recognized"); return false; } return true; } void StimulateImageIO::Write(const void *buffer) { unsigned int i; std::ofstream file; if ( !this->OpenStimulateFileForWriting( file, m_FileName.c_str() ) ) { return; } // Check the image region for proper dimensions, etc. unsigned int numDims = this->GetNumberOfDimensions(); if ( numDims < 2 || numDims > 4 ) { itkExceptionMacro(<< "Stimulate Writer can only write 2,3 or 4-dimensional images"); return; } // Write the Stimulate header information file << "numDim: " << this->GetNumberOfDimensions(); // Write characteristics of the data file << "\ndim:"; for ( i = 0; i < m_NumberOfDimensions; i++ ) { file << " " << m_Dimensions[i]; } file << "\norigin:"; for ( i = 0; i < m_NumberOfDimensions; i++ ) { file << " " << m_Origin[i]; } file << "\nfov:"; for ( i = 0; i < m_NumberOfDimensions; i++ ) { file << " " << m_Spacing[i] * m_Dimensions[i]; //fov = interval * dim } file << "\ninterval:"; for ( i = 0; i < m_NumberOfDimensions; i++ ) { file << " " << m_Spacing[i]; } //preparation for writing buffer: const SizeValueType numberOfBytes = static_cast< SizeValueType >( this->GetImageSizeInBytes() ); const SizeValueType numberOfComponents = static_cast< SizeValueType >( this->GetImageSizeInComponents() ); file << "\ndataType: "; { char *tempmemory = new char[numberOfBytes]; memcpy(tempmemory, buffer, numberOfBytes); switch ( this->GetComponentType() ) { case CHAR: file << "BYTE"; ByteSwapper< char >::SwapRangeFromSystemToBigEndian(reinterpret_cast< char * >( tempmemory ), numberOfComponents); break; case SHORT: file << "WORD"; ByteSwapper< short int >::SwapRangeFromSystemToBigEndian(reinterpret_cast< short int * >( tempmemory ), numberOfComponents); break; case INT: file << "LWORD"; ByteSwapper< int >::SwapRangeFromSystemToBigEndian(reinterpret_cast< int * >( tempmemory ), numberOfComponents); break; case FLOAT: file << "REAL"; ByteSwapper< float >::SwapRangeFromSystemToBigEndian(reinterpret_cast< float * >( tempmemory ), numberOfComponents); break; case DOUBLE: file << "COMPLEX"; ByteSwapper< double >::SwapRangeFromSystemToBigEndian(reinterpret_cast< double * >( tempmemory ), numberOfComponents); break; default: break; } //add the data filename to the header //determine datafile given the spr filename m_DataFileName = m_FileName; m_DataFileName.replace(m_DataFileName.length() - 3, 3, "sdt"); file << "\nstimFileName: " << m_DataFileName.c_str(); //Last carrier return: file << "\n"; //actually read data file std::ofstream file_data; if ( !this->OpenStimulateFileForWriting( file_data, m_DataFileName.c_str() ) ) { return; } // Write the actual pixel data file_data.write(static_cast< const char * >( tempmemory ), numberOfBytes); delete[] tempmemory; file_data.close(); } file.close(); } void StimulateImageIO::PrintSelf(std::ostream & os, Indent indent) const { Superclass::PrintSelf(os, indent); os << indent << "\nDisplayRange: " << m_DisplayRange[0] << " " << m_DisplayRange[1]; } } // end namespace itk
GeorgeGorbanev/clickhouse-rails
spec/generators/install/install_generator_spec.rb
require_relative '../../rails_helper' require_relative '../../../lib/generators/clickhouse/install/install_generator' RSpec.describe Clickhouse::Generators::InstallGenerator, type: :generator do setup_default_destination it 'generates config/clickhouse.yml' do run_generator expect(file('config/clickhouse.yml')).to exist end it 'generates db/clickhouse/migrate/001_init.rb' do run_generator expect(file('db/clickhouse/migrate/001_init.rb')).to exist end end
tfisher1226/ARIES
admin/admin-data/src/test/java/admin/dao/PermissionDaoIT.java
<filename>admin/admin-data/src/test/java/admin/dao/PermissionDaoIT.java<gh_stars>1-10 package admin.dao; import java.util.List; import org.aries.Assert; import org.aries.tx.AbstractDataIT; import org.aries.tx.TransactionRegistry; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.runners.MockitoJUnitRunner; import admin.dao.PermissionDaoImpl; import admin.entity.PermissionEntity; import admin.entity.RoleEntity; @RunWith(MockitoJUnitRunner.class) public class PermissionDaoIT extends AbstractDataIT { private PermissionDaoImpl<PermissionEntity> fixture; private AdminDaoITHelper helper; private RoleEntity container; @BeforeClass public static void beforeCLass() throws Exception { createDataSource("admin_db", "root", ""); createTransactionManager(); createNamingServiceContext("java:/admin_ds"); setupEntityManagerFactory("admin"); } @AfterClass public static void afterCLass() throws Exception { teardownEntityManagerFactory(); teardownEntityManager(); } @Before public void setUp() throws Exception { testDataSource.setTransactionProvider(TransactionRegistry.getInstance()); helper = new AdminDaoITHelper(createEntityManager()); fixture = createFixture(); super.setUp(); } @After public void tearDown() throws Exception { resetTransactionContext(); teardownEntityManager(); testDataSource.clear(); fixture = null; super.tearDown(); } protected PermissionDaoImpl<PermissionEntity> createFixture() throws Exception { fixture = new PermissionDaoImpl<PermissionEntity>(); fixture.setEntityClass(PermissionEntity.class); fixture.setEntityManager(entityManager); return fixture; } protected PermissionEntity createPermissionEntity() throws Exception { //PermissionEntity permissionEntity = helper.createPermissionEntity(container); PermissionEntity permissionEntity = helper.createPermissionEntity(); return permissionEntity; } protected void openEntityManager() throws Exception { entityManager = createEntityManager(); fixture.setEntityManager(entityManager); } protected void closeEntityManager() throws Exception { if (entityManager.isOpen()) entityManager.close(); fixture.setEntityManager(null); } @Test public void testGetElementList() throws Exception { // prepare environment assureDeleteAll(); assureAddContainer(); assureAddPermission(); // prepare context openEntityManager(); //execute test List<PermissionEntity> records = fixture.getAllPermissionRecords(); // close context closeEntityManager(); //validate results openEntityManager(); verifyPermissionCount(records, 1); closeEntityManager(); } @Test public void testGetPermissionById() throws Exception { // prepare environment assureDeleteAll(); assureAddContainer(); Long id = assureAddPermission(); // prepare context openEntityManager(); // execute test PermissionEntity permission = fixture.getPermissionRecordById(id); // close context closeEntityManager(); // validate results Assert.notNull(permission, "Permission should exist"); Assert.equals(permission.getId(), id, "Id should be correct"); } @Test public void testGetPermissionById_Null() throws Exception { // prepare environment assureDeleteAll(); assureAddContainer(); assureAddPermission(); try { // prepare context openEntityManager(); // execute test fixture.getPermissionRecordById(null); fail("Exception should have been thrown"); } catch (AssertionError e) { Assert.exception(e, "Id must be specified"); } finally { // close context closeEntityManager(); } } @Test public void testAddPermission_Commit() throws Exception { // prepare environment assureDeleteAll(); assureAddContainer(); // prepare context openEntityManager(); beginTransaction(); //execute test PermissionEntity permission = createPermissionEntity(); Long id = fixture.addPermissionRecord(permission); Assert.notNull(id, "Id should exist"); // close context commitTransaction(); closeEntityManager(); // validate results openEntityManager(); verifyPermissionCount(1); verifyPermissionExists(id); closeEntityManager(); } @Test public void testAddPermission_Rollback() throws Exception { // prepare environment assureDeleteAll(); assureAddContainer(); // prepare context openEntityManager(); beginTransaction(); //execute test PermissionEntity permission = createPermissionEntity(); Long id = fixture.addPermissionRecord(permission); Assert.notNull(id, "Id should exist"); // close context rollbackTransaction(); closeEntityManager(); // validate results openEntityManager(); verifyPermissionCount(0); closeEntityManager(); } protected Long assureAddContainer() throws Exception { container = helper.createRoleEntity(); container.setPermissions(null); Long id = assureAddContainer(container); container.setId(id); return id; } protected Long assureAddContainer(RoleEntity roleEntity) throws Exception { Long id = helper.persistRoleEntity(roleEntity); return id; } protected Long assureAddPermission() throws Exception { PermissionEntity permissionEntity = createPermissionEntity(); Long id = assureAddPermission(permissionEntity); return id; } protected Long assureAddPermission(PermissionEntity permission) throws Exception { openEntityManager(); beginTransaction(); Long id = fixture.addPermissionRecord(permission); commitTransaction(); verifyPermissionExists(id); closeEntityManager(); return id; } protected void assureDeletePermission(Long id) throws Exception { PermissionEntity permission = fixture.getPermissionRecordById(id); assureDeletePermission(permission); } protected void assureDeletePermission(PermissionEntity permission) throws Exception { openEntityManager(); beginTransaction(); fixture.removePermissionRecord(permission); commitTransaction(); verifyPermissionNotExists(permission); closeEntityManager(); } protected void verifyPermissionCount(int expectedCount) throws Exception { List<PermissionEntity> records = fixture.getAllPermissionRecords(); verifyPermissionCount(records, expectedCount); } protected void verifyPermissionCount(List<PermissionEntity> records, int expectedCount) throws Exception { Assert.notNull(records, "Result not found"); if (expectedCount > 0) Assert.notNull(records, "Permission records should exist"); Assert.equals(records.size(), expectedCount, "Permission record count not correct"); } protected void verifyPermissionExists(PermissionEntity permission) throws Exception { verifyPermissionExists(permission.getId()); } protected void verifyPermissionExists(Long id) throws Exception { PermissionEntity permission = fixture.getPermissionRecordById(id); Assert.notNull(permission, "Permission should exist"); Assert.equals(permission.getId(), id, "Ids should be same"); } protected void verifyPermissionNotExists(PermissionEntity permission) throws Exception { verifyPermissionNotExists(permission.getId()); } protected void verifyPermissionNotExists(Long id) throws Exception { PermissionEntity permission = fixture.getPermissionRecordById(id); Assert.isNull(permission, "Permission should not exist"); } }
luetkemj/scribe
server/index.js
<filename>server/index.js // load the configuration import config from './config'; // load the mongo database import './mongo'; // load the express application import app from './express'; // initialize the configuration first! require('./config/init')(); const logger = require('./lib/logger')(); // output the configuration logger.log('config: %o', config); // start the application app.listen(config.port, (err) => { if (err) { logger.log(err); } logger.log(`Express server listening on port ${config.port} ` + `in ${process.env.NODE_ENV} environment`); // log logo logger.log(` ======╔═╗╔═╗╦═╗╦╔╗ ╔═╗====== ======╚═╗║ ╠╦╝║╠╩╗║╣======= ======╚═╝╚═╝╩╚═╩╚═╝╚═╝====== `); });
sysidos/fuchsia
src/media/audio/audio_core/mix_stage.cc
<gh_stars>0 // Copyright 2019 The Fuchsia 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 "src/media/audio/audio_core/mix_stage.h" #include <lib/fit/defer.h> #include <lib/zx/clock.h> #include <limits> #include <trace/event.h> #include "src/media/audio/audio_core/audio_renderer_impl.h" #include "src/media/audio/audio_core/intermediate_buffer.h" #include "src/media/audio/audio_core/mixer/mixer.h" #include "src/media/audio/audio_core/mixer/no_op.h" #include "src/media/audio/lib/logging/logging.h" namespace media::audio { namespace { TimelineFunction ReferenceClockToIntegralFrames( TimelineFunction reference_clock_to_fractional_frames) { TimelineRate frames_per_fractional_frame = TimelineRate(1, FractionalFrames<uint32_t>(1).raw_value()); return TimelineFunction::Compose(TimelineFunction(frames_per_fractional_frame), reference_clock_to_fractional_frames); } } // namespace MixStage::MixStage(const Format& output_format, uint32_t block_size, TimelineFunction reference_clock_to_fractional_frame) : MixStage( output_format, block_size, fbl::MakeRefCounted<VersionedTimelineFunction>(reference_clock_to_fractional_frame)) {} MixStage::MixStage(const Format& output_format, uint32_t block_size, fbl::RefPtr<VersionedTimelineFunction> reference_clock_to_fractional_frame) : MixStage(std::make_shared<IntermediateBuffer>(output_format, block_size, reference_clock_to_fractional_frame)) {} MixStage::MixStage(std::shared_ptr<Stream> output_stream) : Stream(output_stream->format()), output_stream_(std::move(output_stream)) {} std::shared_ptr<Mixer> MixStage::AddInput(std::shared_ptr<Stream> stream, Mixer::Resampler resampler_hint) { TRACE_DURATION("audio", "MixStage::AddInput"); FX_CHECK(stream); auto mixer = std::shared_ptr<Mixer>( Mixer::Select(stream->format().stream_type(), format().stream_type(), resampler_hint) .release()); if (!mixer) { mixer = std::make_unique<audio::mixer::NoOp>(); } { std::lock_guard<std::mutex> lock(stream_lock_); streams_.emplace_back(StreamHolder{std::move(stream), mixer}); } return mixer; } void MixStage::RemoveInput(const Stream& stream) { TRACE_DURATION("audio", "MixStage::RemoveInput"); std::lock_guard<std::mutex> lock(stream_lock_); auto it = std::find_if(streams_.begin(), streams_.end(), [stream = &stream](const auto& holder) { return holder.stream.get() == stream; }); FX_CHECK(it != streams_.end()); streams_.erase(it); } std::optional<Stream::Buffer> MixStage::LockBuffer(zx::time now, int64_t frame, uint32_t frame_count) { TRACE_DURATION("audio", "MixStage::LockBuffer", "frame", frame, "length", frame_count); memset(&cur_mix_job_, 0, sizeof(cur_mix_job_)); auto output_buffer = output_stream_->LockBuffer(now, frame, frame_count); if (!output_buffer) { return std::nullopt; } FX_DCHECK(output_buffer->start().Floor() == frame); auto snapshot = output_stream_->ReferenceClockToFractionalFrames(); cur_mix_job_.buf = static_cast<float*>(output_buffer->payload()); cur_mix_job_.buf_frames = output_buffer->length().Floor(); cur_mix_job_.start_pts_of = frame; cur_mix_job_.reference_clock_to_fractional_destination_frame = snapshot.timeline_function; cur_mix_job_.reference_clock_to_fractional_destination_frame_gen = snapshot.generation; // Fill the output buffer with silence. size_t bytes_to_zero = cur_mix_job_.buf_frames * format().bytes_per_frame(); std::memset(cur_mix_job_.buf, 0, bytes_to_zero); ForEachSource(TaskType::Mix, now); return {Stream::Buffer(output_buffer->start(), output_buffer->length(), cur_mix_job_.buf, true)}; } void MixStage::UnlockBuffer(bool release_buffer) { TRACE_DURATION("audio", "MixStage::UnlockBuffer"); } Stream::TimelineFunctionSnapshot MixStage::ReferenceClockToFractionalFrames() const { TRACE_DURATION("audio", "MixStage::ReferenceClockToFractionalFrames"); return output_stream_->ReferenceClockToFractionalFrames(); } void MixStage::Trim(zx::time time) { TRACE_DURATION("audio", "MixStage::Trim"); ForEachSource(TaskType::Trim, time); } void MixStage::ForEachSource(TaskType task_type, zx::time ref_time) { TRACE_DURATION("audio", "MixStage::ForEachSource"); std::vector<std::pair<std::shared_ptr<Stream>, std::shared_ptr<Mixer>>> streams; { std::lock_guard<std::mutex> lock(stream_lock_); for (const auto& holder : streams_) { FX_CHECK(holder.stream); FX_CHECK(holder.mixer); streams.emplace_back(std::make_pair(holder.stream, holder.mixer)); } } for (const auto& [stream, mixer] : streams) { FX_CHECK(stream); if (task_type == TaskType::Mix) { MixStream(stream.get(), mixer.get(), ref_time); } else { stream->Trim(ref_time); } } } void MixStage::MixStream(Stream* stream, Mixer* mixer, zx::time ref_time) { TRACE_DURATION("audio", "MixStage::MixStream"); // Ensure the mapping from source-frame to local-time is up-to-date. UpdateSourceTrans(*stream, &mixer->bookkeeping()); SetupMix(mixer); // If the renderer is currently paused, subject_delta (not just step_size) is zero. This packet // may be relevant eventually, but currently it contributes nothing. if (!mixer->bookkeeping().dest_frames_to_frac_source_frames.subject_delta()) { return; } bool release_buffer; std::optional<Stream::Buffer> stream_buffer; while (true) { release_buffer = false; // At this point we know we need to consume some source data, but we don't yet know how much. // Here is how many destination frames we still need to produce, for this mix job. uint32_t dest_frames_left = cur_mix_job_.buf_frames - cur_mix_job_.frames_produced; if (dest_frames_left == 0) { break; } // Calculate this job's first and last sampling points, in source sub-frames. Use timestamps // for the first and last dest frames we need, translated into the source (frac_frame) // timeline. auto& info = mixer->bookkeeping(); auto frac_source_for_first_mix_job_frame = stream_buffer ? stream_buffer->end() : FractionalFrames<int64_t>::FromRaw(info.dest_frames_to_frac_source_frames( cur_mix_job_.start_pts_of + cur_mix_job_.frames_produced)); FractionalFrames<int64_t> source_frames = FractionalFrames<int64_t>::FromRaw( info.dest_frames_to_frac_source_frames.rate().Scale(dest_frames_left)) + mixer->pos_filter_width(); // Try to grab the packet queue's front. stream_buffer = stream->LockBuffer(ref_time, frac_source_for_first_mix_job_frame.Floor(), source_frames.Ceiling()); // If the queue is empty, then we are done. if (!stream_buffer) { break; } // If the packet is discontinuous, reset our mixer's internal filter state. if (!stream_buffer->is_continuous()) { mixer->Reset(); } // Now process the packet at the front of the renderer's queue. If the packet has been // entirely consumed, pop it off the front and proceed to the next. Otherwise, we are done. release_buffer = ProcessMix(stream, mixer, *stream_buffer); // If we have mixed enough destination frames, we are done with this mix, regardless of what // we should now do with the source packet. if (cur_mix_job_.frames_produced == cur_mix_job_.buf_frames) { break; } // If we still need to produce more destination data, but could not complete this source // packet (we're paused, or the packet is in the future), then we are done. if (!release_buffer) { break; } // We did consume this entire source packet, and we should keep mixing. stream->UnlockBuffer(release_buffer); } // Unlock queue (completing packet if needed) and proceed to the next source. stream->UnlockBuffer(release_buffer); // Note: there is no point in doing this for Trim tasks, but it doesn't hurt anything, and it's // easier than adding another function to ForEachSource to run after each renderer is processed, // just to set this flag. cur_mix_job_.accumulate = true; } void MixStage::SetupMix(Mixer* mixer) { TRACE_DURATION("audio", "MixStage::SetupMix"); // If we need to recompose our transformation from destination frame space to source fractional // frames, do so now. FX_DCHECK(mixer); UpdateDestTrans(cur_mix_job_, &mixer->bookkeeping()); cur_mix_job_.frames_produced = 0; } bool MixStage::ProcessMix(Stream* stream, Mixer* mixer, const Stream::Buffer& source_buffer) { TRACE_DURATION("audio", "MixStage::ProcessMix"); // Bookkeeping should contain: the rechannel matrix (eventually). // Sanity check our parameters. FX_DCHECK(mixer); // We had better have a valid job, or why are we here? FX_DCHECK(cur_mix_job_.buf_frames); FX_DCHECK(cur_mix_job_.frames_produced <= cur_mix_job_.buf_frames); auto& info = mixer->bookkeeping(); // If the renderer is currently paused, subject_delta (not just step_size) is zero. This packet // may be relevant eventually, but currently it contributes nothing. Tell ForEachSource we are // done, but hold the packet for now. if (!info.dest_frames_to_frac_source_frames.subject_delta()) { return false; } // Have we produced enough? If so, hold this packet and move to next renderer. if (cur_mix_job_.frames_produced >= cur_mix_job_.buf_frames) { return false; } // At this point we know we need to consume some source data, but we don't yet know how much. // Here is how many destination frames we still need to produce, for this mix job. uint32_t dest_frames_left = cur_mix_job_.buf_frames - cur_mix_job_.frames_produced; float* buf = cur_mix_job_.buf + (cur_mix_job_.frames_produced * format().channels()); // Calculate this job's first and last sampling points, in source sub-frames. Use timestamps for // the first and last dest frames we need, translated into the source (frac_frame) timeline. FractionalFrames<int64_t> frac_source_for_first_mix_job_frame = FractionalFrames<int64_t>::FromRaw(info.dest_frames_to_frac_source_frames( cur_mix_job_.start_pts_of + cur_mix_job_.frames_produced)); // This represents (in the frac_frame source timeline) the time of the LAST dest frame we need. // Without the "-1", this would be the first destination frame of the NEXT job. FractionalFrames<int64_t> frac_source_for_final_mix_job_frame = frac_source_for_first_mix_job_frame + FractionalFrames<int64_t>::FromRaw( info.dest_frames_to_frac_source_frames.rate().Scale(dest_frames_left - 1)); // If packet has no frames, there's no need to mix it; it may be skipped. if (source_buffer.end() == source_buffer.start()) { AUD_VLOG(TRACE) << " skipping an empty packet!"; return true; } FX_DCHECK(source_buffer.end() >= source_buffer.start() + 1); // The above two calculated values characterize our demand. Now reason about our supply. Calculate // the actual first and final frame times in the source packet. FractionalFrames<int64_t> frac_source_for_first_packet_frame = source_buffer.start(); FractionalFrames<int64_t> frac_source_for_final_packet_frame = source_buffer.end() - 1; // If this source packet's final audio frame occurs before our filter's negative edge, centered at // our first sampling point, then this packet is entirely in the past and may be skipped. // Returning true means we're done with the packet (it can be completed) and we would like another if (frac_source_for_final_packet_frame < (frac_source_for_first_mix_job_frame - mixer->neg_filter_width())) { FractionalFrames<int64_t> source_frac_frames_late = frac_source_for_first_mix_job_frame - mixer->neg_filter_width() - frac_source_for_first_packet_frame; auto clock_mono_late = zx::nsec(info.clock_mono_to_frac_source_frames.rate().Inverse().Scale( source_frac_frames_late.raw_value())); stream->ReportUnderflow(frac_source_for_first_packet_frame, frac_source_for_first_mix_job_frame, clock_mono_late); return true; } // If this source packet's first audio frame occurs after our filter's positive edge, centered at // our final sampling point, then this packet is entirely in the future and should be held. // Returning false (based on requirement that packets must be presented in timestamp-chronological // order) means that we have consumed all of the available packet "supply" as we can at this time. if (frac_source_for_first_packet_frame > (frac_source_for_final_mix_job_frame + mixer->pos_filter_width())) { return false; } // If neither of the above, then evidently this source packet intersects our mixer's filter. // Compute the offset into the dest buffer where our first generated sample should land, and the // offset into the source packet where we should start sampling. int64_t dest_offset_64 = 0; FractionalFrames<int64_t> frac_source_offset_64 = frac_source_for_first_mix_job_frame - frac_source_for_first_packet_frame; FractionalFrames<int64_t> frac_source_pos_edge_first_mix_frame = frac_source_for_first_mix_job_frame + mixer->pos_filter_width(); // If the packet's first frame comes after the filter window's positive edge, // then we should skip some frames in the destination buffer before starting to produce data. if (frac_source_for_first_packet_frame > frac_source_pos_edge_first_mix_frame) { const TimelineRate& dest_to_src = info.dest_frames_to_frac_source_frames.rate(); // The dest_buffer offset is based on the distance from mix job start to packet start (measured // in frac_frames), converted into frames in the destination timeline. As we scale the // frac_frame delta into dest frames, we want to "round up" any subframes that are present; any // src subframes should push our dest frame up to the next integer. To do this, we subtract a // single subframe (guaranteeing that the zero-fraction src case will truncate down), then scale // the src delta to dest frames (which effectively truncates any resultant fraction in the // computed dest frame), then add an additional 'round-up' frame (to account for initial // subtract). Because we entered this IF in the first place, we have at least some fractional // src delta, thus dest_offset_64 is guaranteed to become greater than zero. FractionalFrames<int64_t> first_source_mix_point = frac_source_for_first_packet_frame - frac_source_pos_edge_first_mix_frame; dest_offset_64 = dest_to_src.Inverse().Scale(first_source_mix_point.raw_value() - 1) + 1; FX_DCHECK(dest_offset_64 > 0); frac_source_offset_64 += FractionalFrames<int64_t>::FromRaw(dest_to_src.Scale(dest_offset_64)); stream->ReportPartialUnderflow(frac_source_offset_64, dest_offset_64); } FX_DCHECK(dest_offset_64 >= 0); FX_DCHECK(dest_offset_64 < static_cast<int64_t>(dest_frames_left)); auto dest_offset = static_cast<uint32_t>(dest_offset_64); FX_DCHECK(frac_source_offset_64 <= std::numeric_limits<int32_t>::max()); FX_DCHECK(frac_source_offset_64 >= std::numeric_limits<int32_t>::min()); auto frac_source_offset = FractionalFrames<int32_t>(frac_source_offset_64); // Looks like we are ready to go. Mix. FX_DCHECK(source_buffer.length() <= FractionalFrames<uint32_t>(FractionalFrames<int32_t>::Max())); FX_DCHECK(frac_source_offset + mixer->pos_filter_width() >= FractionalFrames<uint32_t>(0)); bool consumed_source = false; if (frac_source_offset + mixer->pos_filter_width() < source_buffer.length()) { // When calling Mix(), we communicate the resampling rate with three parameters. We augment // step_size with rate_modulo and denominator arguments that capture the remaining rate // component that cannot be expressed by a 19.13 fixed-point step_size. Note: step_size and // frac_source_offset use the same format -- they have the same limitations in what they can and // cannot communicate. // // For perfect position accuracy, just as we track incoming/outgoing fractional source offset, // we also need to track the ongoing subframe_position_modulo. This is now added to Mix() and // maintained across calls, but not initially set to any value other than zero. For now, we are // deferring that work, tracking it with MTWN-128. // // Q: Why did we solve this issue for Rate but not for initial Position? // A: We solved this issue for *rate* because its effect accumulates over time, causing clearly // measurable distortion that becomes crippling with larger jobs. For *position*, there is no // accumulated magnification over time -- in analyzing the distortion that this should cause, // mix job size affects the distortion's frequency but not its amplitude. We expect the effects // to be below audible thresholds. Until the effects are measurable and attributable to this // jitter, we will defer this work. auto prev_dest_offset = dest_offset; auto prev_frac_source_offset = frac_source_offset; auto reference_clock_to_integral_frame = ReferenceClockToIntegralFrames( cur_mix_job_.reference_clock_to_fractional_destination_frame); // Check whether we are still ramping bool ramping = info.gain.IsRamping(); if (ramping) { info.gain.GetScaleArray( info.scale_arr.get(), std::min(dest_frames_left - dest_offset, Mixer::Bookkeeping::kScaleArrLen), reference_clock_to_integral_frame.rate()); } { int32_t raw_source_offset = frac_source_offset.raw_value(); consumed_source = mixer->Mix(buf, dest_frames_left, &dest_offset, source_buffer.payload(), source_buffer.length().raw_value(), &raw_source_offset, cur_mix_job_.accumulate); frac_source_offset = FractionalFrames<int32_t>::FromRaw(raw_source_offset); } FX_DCHECK(dest_offset <= dest_frames_left); AUD_VLOG_OBJ(SPEW, this) << " consumed from " << std::hex << std::setw(8) << prev_frac_source_offset.raw_value() << " to " << std::setw(8) << frac_source_offset.raw_value() << ", of " << std::setw(8) << source_buffer.length().raw_value(); // If src is ramping, advance by delta of dest_offset if (ramping) { info.gain.Advance(dest_offset - prev_dest_offset, reference_clock_to_integral_frame.rate()); } } else { // This packet was initially within our mix window. After realigning our sampling point to the // nearest dest frame, it is now entirely in the past. This can only occur when down-sampling // and is made more likely if the rate conversion ratio is very high. We've already reported // a partial underflow when realigning, so just complete the packet and move on to the next. consumed_source = true; } if (consumed_source) { FX_DCHECK(frac_source_offset + mixer->pos_filter_width() >= source_buffer.length()); } cur_mix_job_.frames_produced += dest_offset; FX_DCHECK(cur_mix_job_.frames_produced <= cur_mix_job_.buf_frames); return consumed_source; } void MixStage::UpdateSourceTrans(const Stream& stream, Mixer::Bookkeeping* bk) { TRACE_DURATION("audio", "MixStage::UpdateSourceTrans"); auto snapshot = stream.ReferenceClockToFractionalFrames(); bk->clock_mono_to_frac_source_frames = snapshot.timeline_function; // If local->media transformation hasn't changed since last time, we're done. if (bk->source_trans_gen_id == snapshot.generation) { return; } // Transformation has changed. Update gen; invalidate dest-to-src generation. bk->source_trans_gen_id = snapshot.generation; bk->dest_trans_gen_id = kInvalidGenerationId; } void MixStage::UpdateDestTrans(const MixJob& job, Mixer::Bookkeeping* bk) { TRACE_DURATION("audio", "MixStage::UpdateDestTrans"); // We should only be here if we have a valid mix job. This means a job which supplies a valid // transformation from local time to output frames. FX_DCHECK(job.reference_clock_to_fractional_destination_frame_gen != kInvalidGenerationId); // If generations match, don't re-compute -- just use what we have already. if (bk->dest_trans_gen_id == job.reference_clock_to_fractional_destination_frame_gen) { return; } // Assert we can map from local time to fractional renderer frames. FX_DCHECK(bk->source_trans_gen_id != kInvalidGenerationId); // Combine the job-supplied local-to-output transformation, with the renderer-supplied mapping of // local-to-input-subframe, to produce a transformation which maps from output frames to // fractional input frames. TimelineFunction reference_clock_to_integral_frame = ReferenceClockToIntegralFrames(job.reference_clock_to_fractional_destination_frame); TimelineFunction& dest = bk->dest_frames_to_frac_source_frames; dest = bk->clock_mono_to_frac_source_frames * reference_clock_to_integral_frame.Inverse(); // Finally, compute the step size in subframes. IOW, every time we move forward one output frame, // how many input subframes should we consume. Don't bother doing the multiplications if already // we know the numerator is zero. FX_DCHECK(dest.rate().reference_delta()); if (!dest.rate().subject_delta()) { bk->step_size = 0; bk->denominator = 0; // shouldn't also need to clear rate_mod and pos_mod } else { int64_t tmp_step_size = dest.rate().Scale(1); FX_DCHECK(tmp_step_size >= 0); FX_DCHECK(tmp_step_size <= std::numeric_limits<uint32_t>::max()); bk->step_size = static_cast<uint32_t>(tmp_step_size); bk->denominator = bk->SnapshotDenominatorFromDestTrans(); bk->rate_modulo = dest.rate().subject_delta() - (bk->denominator * bk->step_size); } // Done, update our dest_trans generation. bk->dest_trans_gen_id = job.reference_clock_to_fractional_destination_frame_gen; } } // namespace media::audio
idsec-solutions/signservice-integration
pdf/src/test/java/se/idsec/signservice/integration/document/pdf/signpage/PdfSignaturePagePreferencesValidatorTest.java
<filename>pdf/src/test/java/se/idsec/signservice/integration/document/pdf/signpage/PdfSignaturePagePreferencesValidatorTest.java /* * Copyright 2019-2020 IDsec Solutions AB * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * 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. */ package se.idsec.signservice.integration.document.pdf.signpage; import org.junit.Assert; import org.junit.Test; import se.idsec.signservice.integration.config.IntegrationServiceConfiguration; import se.idsec.signservice.integration.config.impl.DefaultIntegrationServiceConfiguration; import se.idsec.signservice.integration.core.FileResource; import se.idsec.signservice.integration.core.error.InputValidationException; import se.idsec.signservice.integration.core.validation.ValidationResult; import se.idsec.signservice.integration.document.pdf.PdfSignatureImageTemplate; import se.idsec.signservice.integration.document.pdf.PdfSignaturePage; import se.idsec.signservice.integration.document.pdf.PdfSignaturePage.PdfSignatureImagePlacementConfiguration; import se.idsec.signservice.integration.document.pdf.PdfSignaturePagePreferences; import se.idsec.signservice.integration.document.pdf.VisiblePdfSignatureUserInformation; import se.idsec.signservice.integration.document.pdf.signpage.impl.PdfSignaturePagePreferencesValidator; /** * Test cases for PdfSignaturePagePreferencesValidator. * * @author <NAME> (<EMAIL>) * @author <NAME> (<EMAIL>) */ public class PdfSignaturePagePreferencesValidatorTest { @Test public void testMissingPage() throws Exception { final PdfSignaturePagePreferencesValidator validator = new PdfSignaturePagePreferencesValidator(); IntegrationServiceConfiguration config = DefaultIntegrationServiceConfiguration.builder() .policy("default") .build(); // No page given, and no default exists ... // PdfSignaturePagePreferences object = PdfSignaturePagePreferences.builder().build(); try { validator.validateObject(object, "prefs", config); Assert.fail("Expected InputValidationException"); } catch (InputValidationException e) { } // Reference given, but this does not exist in config // object = PdfSignaturePagePreferences.builder() .signaturePageReference("reference") .build(); try { validator.validateObject(object, "prefs", config); Assert.fail("Expected InputValidationException"); } catch (InputValidationException e) { Assert.assertNotNull(e.getDetails().get("prefs.signaturePageReference")); } config = DefaultIntegrationServiceConfiguration.builder() .policy("default") .pdfSignaturePage(PdfSignaturePage.builder() .id("PDF") .build()) .build(); try { validator.validateObject(object, "prefs", config); Assert.fail("Expected InputValidationException"); } catch (InputValidationException e) { Assert.assertNotNull(e.getDetails().get("prefs.signaturePageReference")); } } @Test public void testBothReferenceAndPageGivenError() throws Exception { final PdfSignaturePagePreferencesValidator validator = new PdfSignaturePagePreferencesValidator(); IntegrationServiceConfiguration config = DefaultIntegrationServiceConfiguration.builder() .policy("default") .build(); PdfSignaturePagePreferences object = PdfSignaturePagePreferences.builder() .signaturePageReference("reference") .signaturePage(PdfSignaturePage.builder().id("ID").build()) .build(); try { validator.validateObject(object, "prefs", config); Assert.fail("Expected InputValidationException"); } catch (InputValidationException e) { } } @Test public void testMissingVisiblePdfSignatureUserInformation() throws Exception { final PdfSignaturePagePreferencesValidator validator = new PdfSignaturePagePreferencesValidator(); IntegrationServiceConfiguration config = DefaultIntegrationServiceConfiguration.builder() .policy("default") .pdfSignatureImageTemplate(PdfSignatureImageTemplate.builder() .reference("template") .build()) .build(); PdfSignaturePagePreferences object = PdfSignaturePagePreferences.builder() .signaturePage(PdfSignaturePage.builder() .id("page") .pdfDocument(FileResource.builder() .resource("classpath:config/eduSign-page.pdf") .build()) .signatureImageReference("template") .imagePlacementConfiguration(PdfSignatureImagePlacementConfiguration.builder() .xPosition(100) .yPosition(100) .build()) .build()) .build(); try { validator.validateObject(object, "prefs", config); Assert.fail("Expected InputValidationException"); } catch (InputValidationException e) { Assert.assertNotNull(e.getDetails().get("prefs.visiblePdfSignatureUserInformation")); } } @Test public void testInvalidVisiblePdfSignatureUserInformation_MissingTemplate() throws Exception { final PdfSignaturePagePreferencesValidator validator = new PdfSignaturePagePreferencesValidator(); IntegrationServiceConfiguration config = DefaultIntegrationServiceConfiguration.builder() .policy("default") .build(); PdfSignaturePagePreferences object = PdfSignaturePagePreferences.builder() .signaturePage(PdfSignaturePage.builder() .id("page") .pdfDocument(FileResource.builder() .resource("classpath:config/eduSign-page.pdf") .build()) .signatureImageReference("template") .imagePlacementConfiguration(PdfSignatureImagePlacementConfiguration.builder() .xPosition(100) .yPosition(100) .build()) .build()) .visiblePdfSignatureUserInformation(VisiblePdfSignatureUserInformation.toBuilder() .fieldValue("A", "B") .build()) .build(); try { validator.validateObject(object, "prefs", config); Assert.fail("Expected InputValidationException"); } catch (InputValidationException e) { Assert.assertNotNull(e.getDetails().get("prefs.signaturePage.signatureImageReference")); Assert.assertNull(e.getDetails().get("prefs.visiblePdfSignatureUserInformation")); } config = DefaultIntegrationServiceConfiguration.builder() .policy("default") .pdfSignaturePage(PdfSignaturePage.builder() .id("page") .pdfDocument(FileResource.builder() .resource("classpath:config/eduSign-page.pdf") .build()) .signatureImageReference("template") .imagePlacementConfiguration(PdfSignatureImagePlacementConfiguration.builder() .xPosition(100) .yPosition(100) .build()) .build()) .build(); object = PdfSignaturePagePreferences.builder() .signaturePageReference("page") .visiblePdfSignatureUserInformation(VisiblePdfSignatureUserInformation.toBuilder() .fieldValue("A", "B") .build()) .build(); try { validator.validateObject(object, "prefs", config); Assert.fail("Expected InputValidationException"); } catch (InputValidationException e) { System.out.println(e.getMessage()); Assert.assertNull(e.getDetails().get("prefs.signaturePage.signatureImageReference")); Assert.assertNotNull(e.getDetails().get("prefs.visiblePdfSignatureUserInformation")); } } @Test public void testSuccess() throws Exception { final PdfSignaturePagePreferencesValidator validator = new PdfSignaturePagePreferencesValidator(); IntegrationServiceConfiguration config = DefaultIntegrationServiceConfiguration.builder() .policy("default") .pdfSignatureImageTemplate(PdfSignatureImageTemplate.builder() .reference("template") .includeSignerName(false) .field("A", "Desc") .build()) .build(); PdfSignaturePagePreferences object = PdfSignaturePagePreferences.builder() .signaturePage(PdfSignaturePage.builder() .id("page") .pdfDocument(FileResource.builder() .resource("classpath:config/eduSign-page.pdf") .build()) .signatureImageReference("template") .imagePlacementConfiguration(PdfSignatureImagePlacementConfiguration.builder() .xPosition(100) .yPosition(100) .build()) .build()) .visiblePdfSignatureUserInformation(VisiblePdfSignatureUserInformation.toBuilder() .fieldValue("A", "B") .build()) .build(); validator.validateObject(object, "prefs", config); final ValidationResult result = validator.validate(object, "prefs", config); Assert.assertFalse(result.hasErrors()); } }
fossabot/automate-1
components/automate-deployment/pkg/client/event_writer.go
package client import ( "github.com/pkg/errors" api "github.com/chef/automate/api/interservice/deployment" "github.com/chef/automate/components/automate-deployment/pkg/cli" ) const ( // Waiting status means we haven't started a deploy, a phase, // or a phase step Waiting api.DeployEvent_Status = api.DeployEvent_WAITING // Running status means we are in progress with a deploy, a // phase, or a phase step Running api.DeployEvent_Status = api.DeployEvent_RUNNING // CompleteOk status means a deploy, phase, or phase step // finished successfully. CompleteOk api.DeployEvent_Status = api.DeployEvent_COMPLETE_OK // CompleteFail status means that a deploy, phase, or phase // step ran and failed. CompleteFail api.DeployEvent_Status = api.DeployEvent_COMPLETE_FAIL ) // CLIEventWriter is an implementation of DeployEventHandler that writes the // events to the terminal type CLIEventWriter struct { Writer cli.FormatWriter } // HandleEvent implements the DeployEventHandler contract by writing the events // to the terminal. func (ew *CLIEventWriter) HandleEvent(event *api.DeployEvent) { switch e := event.Event.(type) { case *api.DeployEvent_PhaseStep_: switch e.PhaseStep.Status { case Running: if e.PhaseStep.PhaseId == api.DeployEvent_CHECK_SERVICE_HEALTH { ew.Writer.StartSpinner() } else { ew.Writer.Body(event.Format()) } case CompleteOk: if e.PhaseStep.PhaseId == api.DeployEvent_CHECK_SERVICE_HEALTH { ew.Writer.StopSpinner() } case CompleteFail: if e.PhaseStep.PhaseId == api.DeployEvent_CHECK_SERVICE_HEALTH { ew.Writer.StopSpinner() } ew.Writer.FailCause(errors.New(e.PhaseStep.Error)) default: ew.Writer.Title(event.Format()) } default: format := event.Format() if format != "" { ew.Writer.Title(format) } } }
AyazRahman/wedgeedge
src/components/Header.js
<reponame>AyazRahman/wedgeedge import React, { Component } from "react"; import { Link } from "react-router-dom"; class Header extends Component { render() { return ( <header className="masthead" style={{ backgroundImage: `url(${this.props.image})` }} > <div className="container"> <div className="intro-text"> <div className="intro-heading">Welcome To Wage Edge</div> <div className=" intro-lead-in"> Do you know your work rights in Australia as an international student ? </div> <Link className="btn btn-primary btn-xl text-uppercase js-scroll-trigger" to="/quiz" > Test your knowledge </Link> </div> </div> </header> ); } } export default Header;
ashtonmv/sphinx_vdw
sxaccelerate/src/math/SxGridMap3.h
<gh_stars>1-10 // --------------------------------------------------------------------------- // // The general purpose cross platform C/C++ framework // // S x A c c e l e r a t e // // Home: https://www.sxlib.de // License: Apache 2 // Authors: see src/AUTHORS // // --------------------------------------------------------------------------- #ifndef _SX_GRID_MAP_3_H_ #define _SX_GRID_MAP_3_H_ #include <SxArray.h> #include <SxUtil.h> #include <SxVector3.h> /** \brief 3D Grid Map \b SxGridMap3 = SFHIngX Linear Grid Map 3D grid map is mapped to the SxArray. It is designed to be used: create once - read many times as fast as possible. A map needs to be rebuild to add/remove a new element after the map is already created. The grid structure maps always only points (0D). The type of points can vary with parameter T. To build a structure from the type Coord (SxVector3<Double>): \code SxGridMap3<Double> atomicStructureGrid; \endcode \par Example: \code // --- the coordinates of the same species SxArray<SxVector3<Float> > coords; ... fill the array // --- create the grid structure with the size of cell 6.8 (1.8A) SxGridMap3<Float> grid; coords = grid.build (coords, 6.8f); // --- 1. primary selection // --- get all cells within the distance 6.8 (1.8A) // --- from the atom position (0,0,0) // --- =1 cell + 26 neighbouring cells SxArray<ssize_t> nodes; SxVector3<Float> atom (0.0f, 0.0f, 0.0f); nodes = grid.intersect (atom); // --- 2. secondary selection // --- print all bonds within specified distance lower than 6.8 (1.8A) // --- from the atom position (0,0,0) ssize_t iNode; ssize_t nNodes = nodes.getSize (); ssize_t iAtom, iAtomFrom, iAtomTo; SxVector3<Float> distance; // --- covalent radius of the atom float colvalentRadius1 = 1.0f; // --- covalent radius of all atoms in the grid float colvalentRadius2 = 0.5f; for (iNode=0; iNode < nNodes; ++iNode) { // --- get the interval from the current node iAtomFrom = grid.getFrom (nodes(iNode)); iAtomTo = grid.getTo (nodes(iNode)); for (iAtom=iAtomFrom; iAtom<=iAtomTo; ++iAtom) { // --- check the distance // --- specified distance: colvalentRadius1 + colvalentRadius2 distance = coords(iAtom) - atom; if (distance.norm () < colvalentRadius1 + colvalentRadius2) { // --- print the coordinates cout << coords(iAtom) << endl; } } } \endcode SxGridMap3 can be seen as the bottom level of SxOctreeMap. \sa SxOctreeMap \author <NAME>, <EMAIL> */ template<class T> class SX_EXPORT_UTIL SxGridMap3 { public: /** Constructor. */ SxGridMap3 (); /** Destructor. */ ~SxGridMap3 (); // --- intervals ssize_t getFrom (ssize_t iCell_) const; ssize_t getTo (ssize_t iCell_) const; ssize_t getSize () const; // --- cells const SxVector3<Int> &getDim () const { return dim; } // --- bounding box const SxVector3<T> &getMin () const { return min; } const SxVector3<T> &getMax () const { return max; } SxVector3<Int> getCell (const SxVector3<T> &coord_) const; // --- creation SxArray<ssize_t> getPermutation (const SxArray<SxVector3<T> > &coords_, typename T::Type cell_); SxArray<SxVector3<T> > build (const SxArray<SxVector3<T> > &coords_, typename T::Type cell_); // --- intersection // coordinate void intersect (const SxVector3<T> &coord_, SxArray<ssize_t> *nodes_, ssize_t *nNodes_) const; // min-max box void intersect (const SxVector3<T> &min_, const SxVector3<T> &max_, SxArray<ssize_t> *nodes_, ssize_t *nNodes_) const; // sphere void intersect (const SxVector3<T> &coord_, typename T::Type radius_, SxArray<ssize_t> *nodes_, ssize_t *nNodes_) const; SxArray<ssize_t> intersect (const SxVector3<T> &coord_) const; SxArray<ssize_t> intersect (const SxVector3<T> &min_, const SxVector3<T> &max_) const; SxArray<ssize_t> intersect (const SxVector3<T> &coord_, typename T::Type radius_) const; protected: // --- cells typename T::Type cellSize; SxVector3<Int> dim; // --- intervals; SxArray<ssize_t> from; SxArray<ssize_t> to; // --- bounding box SxVector3<T> min; SxVector3<T> max; }; // Default constructor. template<class T> SxGridMap3<T>::SxGridMap3 () : cellSize (0) { // empty } // Destructor. template<class T> SxGridMap3<T>::~SxGridMap3 () { // empty } template<class T> ssize_t SxGridMap3<T>::getFrom (ssize_t iCell_) const { return from(iCell_); } template<class T> ssize_t SxGridMap3<T>::getTo (ssize_t iCell_) const { return to(iCell_); } template<class T> ssize_t SxGridMap3<T>::getSize () const { return from.getSize (); } template<class T> SxVector3<Int> SxGridMap3<T>::getCell (const SxVector3<T> &coord_) const { SxVector3<Int> result; SxVector3<T> coord = coord_ - min; result(0) = 1 + (ssize_t)(coord(0) / cellSize); result(1) = 1 + (ssize_t)(coord(1) / cellSize); result(2) = 1 + (ssize_t)(coord(2) / cellSize); return result; } template<class T> SxArray<ssize_t> SxGridMap3<T>::getPermutation (const SxArray<SxVector3<T> > &coords_, typename T::Type cell_) { ssize_t iCoord; const ssize_t nCoords = coords_.getSize (); SxArray<ssize_t> lookupTable (nCoords); if (nCoords < 1) { // --- abortion, an empty grid can not be created dim = SxVector3<Int> (0, 0, 0); return lookupTable; } // --- at least one point... // --- get bounding box // --- the first point is both min and max SxVector3<T> pos; min = coords_ (0); max = coords_ (0); for (iCoord=0; iCoord < nCoords; ++iCoord) { pos = coords_ (iCoord); if (pos(0) < min(0)) min(0) = pos(0); if (pos(1) < min(1)) min(1) = pos(1); if (pos(2) < min(2)) min(2) = pos(2); if (pos(0) > max(0)) max(0) = pos(0); if (pos(1) > max(1)) max(1) = pos(1); if (pos(2) > max(2)) max(2) = pos(2); } cellSize = cell_; SX_CHECK (cellSize > 0, cellSize); SxVector3<T> d = max - min; dim(0) = 3 + (ssize_t)(d(0) / cellSize); dim(1) = 3 + (ssize_t)(d(1) / cellSize); dim(2) = 3 + (ssize_t)(d(2) / cellSize); ssize_t nCell = dim.product (); ssize_t dim01 = dim(0)*dim(1); SxArray<ssize_t> intervals (nCell); intervals.set (0); from.resize (nCell); to.resize (nCell); // --- 1. pass: count occupation ssize_t x,y,z; SxVector3<T> coord; for (iCoord=0; iCoord < nCoords; ++iCoord) { coord = coords_(iCoord) - min; x = 1 + (ssize_t)(coord(0) / cellSize); y = 1 + (ssize_t)(coord(1) / cellSize); z = 1 + (ssize_t)(coord(2) / cellSize); intervals(x+y*dim(0)+z*dim01) += 1; } // --- prepare mapping from grid to linear array ssize_t iSeg=0; ssize_t iTo=0; ssize_t idx=0; ssize_t iCell; for (iCell=0; iCell < nCell; iCell++) { from(idx) = iSeg; iTo = intervals(idx); to(idx) = iSeg + iTo-1; iSeg += iTo; intervals(idx) = 0; idx++; } // --- 2. pass: build permutation lookup table // --- to sort points by the cells for (iCoord=0; iCoord < nCoords; ++iCoord) { // --- find index for the point sorted by the cells coord = coords_(iCoord) - min; x = 1 + (ssize_t)(coord(0) / cellSize); y = 1 + (ssize_t)(coord(1) / cellSize); z = 1 + (ssize_t)(coord(2) / cellSize); idx = x + y*dim(0) + z*dim01; //lookupTable(iCoord) = from(idx) + intervals(idx); lookupTable(from(idx) + intervals(idx)) = iCoord; intervals(idx) += 1; } return lookupTable; } template<class T> SxArray<SxVector3<T> > SxGridMap3<T>::build (const SxArray<SxVector3<T> > &coords_, typename T::Type cell_) { SxArray<ssize_t> lookupTable = getPermutation (coords_, cell_); // --- permutation SxArray<SxVector3<T> > coordsSorted (coords_); if (coordsSorted.getSize () > 1) { coordsSorted.sortByIdx (lookupTable); } return coordsSorted; } // coordinate template<class T> void SxGridMap3<T>::intersect (const SxVector3<T> &coord_, SxArray<ssize_t> *nodes_, ssize_t *nNodes_) const { SX_CHECK (nodes_); SX_CHECK (nNodes_); ssize_t nNodes=0; ssize_t x,y,z,idx; ssize_t dim01; SxVector3<T> coord = coord_ - min; x = 1 + (ssize_t)(coord(0) / cellSize); y = 1 + (ssize_t)(coord(1) / cellSize); z = 1 + (ssize_t)(coord(2) / cellSize); dim01 = dim(0)*dim(1); idx = x + y*dim(0) + z*dim01; if (x > 0 && x < dim(0)-1) { if (y > 0 && y < dim(1)-1) { if (z > 0 && z < dim(2)-1) { // --- insert 27 cells (*nodes_)(nNodes++) = idx; (*nodes_)(nNodes++) = idx + 1; (*nodes_)(nNodes++) = idx + 1 - dim01; (*nodes_)(nNodes++) = idx + 1 + dim01; (*nodes_)(nNodes++) = idx + 1 + dim(0); (*nodes_)(nNodes++) = idx + 1 + dim(0) - dim01; (*nodes_)(nNodes++) = idx + 1 + dim(0) + dim01; (*nodes_)(nNodes++) = idx + 1 - dim(0); (*nodes_)(nNodes++) = idx + 1 - dim(0) - dim01; (*nodes_)(nNodes++) = idx + 1 - dim(0) + dim01; (*nodes_)(nNodes++) = idx - 1; (*nodes_)(nNodes++) = idx - 1 - dim01; (*nodes_)(nNodes++) = idx - 1 + dim01; (*nodes_)(nNodes++) = idx - 1 + dim(0); (*nodes_)(nNodes++) = idx - 1 + dim(0) - dim01; (*nodes_)(nNodes++) = idx - 1 + dim(0) + dim01; (*nodes_)(nNodes++) = idx - 1 - dim(0); (*nodes_)(nNodes++) = idx - 1 - dim(0) - dim01; (*nodes_)(nNodes++) = idx - 1 - dim(0) + dim01; (*nodes_)(nNodes++) = idx - dim01; // (x) + (y)*dim(0) + (z-1)*dim01; (*nodes_)(nNodes++) = idx + dim01; // (x) + (y)*dim(0) + (z+1)*dim01; (*nodes_)(nNodes++) = idx + dim(0); // (x) + (y+1)*dim(0) + (z)*dim01; (*nodes_)(nNodes++) = idx + dim(0) - dim01; // (x) + (y+1)*dim(0) + (z-1)*dim01; (*nodes_)(nNodes++) = idx + dim(0) + dim01; // (x) + (y+1)*dim(0) + (z+1)*dim01; (*nodes_)(nNodes++) = idx - dim(0); // (x) + (y-1)*dim(0) + (z)*dim01; (*nodes_)(nNodes++) = idx - dim(0) - dim01; // (x) + (y-1)*dim(0) + (z-1)*dim01; (*nodes_)(nNodes++) = idx - dim(0) + dim01; // (x) + (y-1)*dim(0) + (z+1)*dim01; } // end for z } // end for y } // end for x *nNodes_ = nNodes; } // min-max box template<class T> void SxGridMap3<T>::intersect (const SxVector3<T> &min_, const SxVector3<T> &max_, SxArray<ssize_t> *nodes_, ssize_t *nNodes_) const { SX_CHECK (nodes_); SX_CHECK (nNodes_); ssize_t nNodes=0; ssize_t x, y, z; ssize_t idx; ssize_t dim01; // --- get [min, max] interval in cells SxVector3<Int> minCell = getCell (min_); SxVector3<Int> maxCell = getCell (max_); dim01 = dim(0)*dim(1); #if 1 // --- fast rejection (*nNodes_) = 0; if (max_(0) < min(0)) return; if (max_(1) < min(1)) return; if (max_(2) < min(2)) return; if (min_(0) > max(0)) return; if (min_(1) > max(1)) return; if (min_(2) > max(2)) return; // --- cut if (minCell(0) < 1) minCell(0) = 1; if (minCell(1) < 1) minCell(1) = 1; if (minCell(2) < 1) minCell(2) = 1; if (maxCell(0) > dim(0)-2) maxCell(0) = dim(0)-2; if (maxCell(1) > dim(1)-2) maxCell(1) = dim(1)-2; if (maxCell(2) > dim(2)-2) maxCell(2) = dim(2)-2; // --- append all valid cels (cut) from the interval [minCell, maxCell] for (x=minCell(0); x <= maxCell(0); ++x) { for (y=minCell(1); y <= maxCell(1); ++y) { for (z=minCell(2); z <= maxCell(2); ++z) { idx = x + y*dim(0) + z*dim01; (*nodes_)(nNodes++) = idx; } } } #else // --- append all valid cels from the interval [minCell, maxCell] for (x=minCell(0); x <= maxCell(0); ++x) { if (x > 0 && x < dim(0)-1) { for (y=minCell(1); y <= maxCell(1); ++y) { if (y > 0 && y < dim(1)-1) { for (z=minCell(2); z <= maxCell(2); ++z) { if (z > 0 && z < dim(2)-1) { idx = x + y*dim(0) + z*dim01; (*nodes_)(nNodes++) = idx; } } // z } } // y } } // x #endif *nNodes_ = nNodes; } // sphere template<class T> void SxGridMap3<T>::intersect (const SxVector3<T> &coord_, typename T::Type radius_, SxArray<ssize_t> *nodes_, ssize_t *nNodes_) const { SxVector3<T> r (radius_, radius_, radius_); // half diagonal SxVector3<T> minCoord (coord_ - r); SxVector3<T> maxCoord (coord_ + r); intersect (minCoord, maxCoord, nodes_, nNodes_); } // coordinate template<class T> SxArray<ssize_t> SxGridMap3<T>::intersect (const SxVector3<T> &coord_) const { SxArray<ssize_t> nodes (from.getSize ()); ssize_t nNodes=0; intersect (coord_, nodes, nNodes); nodes.resize (nNodes, true); return nodes; } // min-max box template<class T> SxArray<ssize_t> SxGridMap3<T>::intersect (const SxVector3<T> &min_, const SxVector3<T> &max_) const { SxArray<ssize_t> nodes (from.getSize ()); ssize_t nNodes=0; intersect (min_, max_, nodes, nNodes); nodes.resize (nNodes, true); return nodes; } // sphere template<class T> SxArray<ssize_t> SxGridMap3<T>::intersect (const SxVector3<T> &coord_, typename T::Type radius_) const { SxArray<ssize_t> nodes (from.getSize ()); ssize_t nNodes=0; intersect (coord_, radius_, nodes, nNodes); nodes.resize (nNodes, true); return nodes; } #endif /* _SX_GRID_MAP_3_H_ */
vinirms/sites-responsivos
site arquiteto/node_modules/@fortawesome/free-brands-svg-icons/faPix.js
<reponame>vinirms/sites-responsivos<gh_stars>1-10 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var prefix = 'fab'; var iconName = 'pix'; var width = 512; var height = 512; var aliases = []; var unicode = 'e43a'; var svgPathData = 'M242.4 292.5C247.8 287.1 257.1 287.1 262.5 292.5L339.5 369.5C353.7 383.7 372.6 391.5 392.6 391.5H407.7L310.6 488.6C280.3 518.1 231.1 518.1 200.8 488.6L103.3 391.2H112.6C132.6 391.2 151.5 383.4 165.7 369.2L242.4 292.5zM262.5 218.9C256.1 224.4 247.9 224.5 242.4 218.9L165.7 142.2C151.5 127.1 132.6 120.2 112.6 120.2H103.3L200.7 22.76C231.1-7.586 280.3-7.586 310.6 22.76L407.8 119.9H392.6C372.6 119.9 353.7 127.7 339.5 141.9L262.5 218.9zM112.6 142.7C126.4 142.7 139.1 148.3 149.7 158.1L226.4 234.8C233.6 241.1 243 245.6 252.5 245.6C261.9 245.6 271.3 241.1 278.5 234.8L355.5 157.8C365.3 148.1 378.8 142.5 392.6 142.5H430.3L488.6 200.8C518.9 231.1 518.9 280.3 488.6 310.6L430.3 368.9H392.6C378.8 368.9 365.3 363.3 355.5 353.5L278.5 276.5C264.6 262.6 240.3 262.6 226.4 276.6L149.7 353.2C139.1 363 126.4 368.6 112.6 368.6H80.78L22.76 310.6C-7.586 280.3-7.586 231.1 22.76 200.8L80.78 142.7H112.6z'; exports.definition = { prefix: prefix, iconName: iconName, icon: [ width, height, aliases, unicode, svgPathData ]}; exports.faPix = exports.definition; exports.prefix = prefix; exports.iconName = iconName; exports.width = width; exports.height = height; exports.ligatures = aliases; exports.unicode = unicode; exports.svgPathData = svgPathData; exports.aliases = aliases;
itisguptak/gitlabhq
config/initializers/secret_token.rb
# Be sure to restart your server when you modify this file. require 'securerandom' # Your secret key for verifying the integrity of signed cookies. # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to dictionary attacks. def find_secure_token token_file = Rails.root.join('.secret') if ENV.key?('SECRET_KEY_BASE') ENV['SECRET_KEY_BASE'] elsif File.exist? token_file # Use the existing token. File.read(token_file).chomp else # Generate a new token of 64 random hexadecimal characters and store it in token_file. token = SecureRandom.hex(64) File.write(token_file, token) token end end Rails.application.config.secret_token = find_secure_token Rails.application.config.secret_key_base = find_secure_token # CI def generate_new_secure_token SecureRandom.hex(64) end if Rails.application.secrets.db_key_base.blank? warn "Missing `db_key_base` for '#{Rails.env}' environment. The secrets will be generated and stored in `config/secrets.yml`" all_secrets = YAML.load_file('config/secrets.yml') if File.exist?('config/secrets.yml') all_secrets ||= {} # generate secrets env_secrets = all_secrets[Rails.env.to_s] || {} env_secrets['db_key_base'] ||= generate_new_secure_token all_secrets[Rails.env.to_s] = env_secrets # save secrets File.open('config/secrets.yml', 'w', 0600) do |file| file.write(YAML.dump(all_secrets)) end Rails.application.secrets.db_key_base = env_secrets['db_key_base'] end
npocmaka/Windows-Server-2003
admin/netui/macprint/monitor/dialogs.hxx
/**********************************************************************/ /** Microsoft Windows/NT **/ /** Copyright(c) Microsoft Corp., 1991 **/ /**********************************************************************/ /* dialogs.hxx Class declarations for the CONFIGURE_PORT_DIALOG and ADD_PORT_DIALOG. FILE HISTORY: NarenG 24-May-1993 Created for C version. */ #ifndef _DIALOGS_HXX #define _DIALOGS_HXX enum SFM_OUTLINE_LB_LEVEL { // // Note, these numbers also indicate the indent level. Hence, // the order nor the starting point must not be tampered with. // SFM_OLLBL_ZONE, SFM_OLLBL_PRINTER }; #define COL_WIDTH_OUTLINE_INDENT (12) /************************************************************************* NAME: CONFIGURE_PORT_DIALOG SYNOPSIS: The class represents the configure port dialog of the Print Manager. INTERFACE: CONFIGURE_PORT_DIALOG - Class constructor. ~CONFIGURE_PORT_DIALOG - Class destructor. QueryHelpContext - Called when the user presses "F1" or the "Help" button. Used for selecting the appropriate help text for display. OnOk - Called when user hits OK button. PARENT: DIALOG_WINDOW USES: CHECKBOX HISTORY: NarenG 24-May-1993 Created **************************************************************************/ class CONFIGURE_PORT_DIALOG : public DIALOG_WINDOW { private: // // Checkbox that indicated whether or not to capture this printer // CHECKBOX _chkCapture; BOOL * _pfCapture; protected: // // Called during help processing to select the appropriate // help text for display. // virtual ULONG QueryHelpContext( VOID ); // // Called when user hits OK button // virtual BOOL OnOK( VOID ); public: // // Usual constructor\destructor goodies. // CONFIGURE_PORT_DIALOG( HWND hWndOwner, BOOL * pfCapture ); }; // class CONFIGURE_PORT_DIALOG // // Forward references // class OUTLINE_LISTBOX; /************************************************************************* NAME: OLLB_ENTRY SYNOPSIS: Entry in an outline listbox. PARENT: LBI USES: NLS_STR NOTES: OLLB_ENTRY:OUTLINE_LISTBOX :: LBI:BLT_LISTBOX HISTORY: NarenG 1-June-1993 Stole from file manager **************************************************************************/ class OLLB_ENTRY : public LBI { friend class OUTLINE_LISTBOX; private: SFM_OUTLINE_LB_LEVEL _ollbl; BOOL _fExpanded; NLS_STR _nlsZone; NLS_STR _nlsPrinter; WSH_ATALK_ADDRESS _wshAtalkAddress; // // called only by OUTLINE_LISTBOXBOX // VOID SetExpanded( BOOL f = TRUE ) { _fExpanded = f; } public: OLLB_ENTRY( SFM_OUTLINE_LB_LEVEL ollbl, BOOL fExpanded, const TCHAR * pszZone, const TCHAR * pszPrinter, const PWSH_ATALK_ADDRESS pwshAtalkAddress ); virtual ~OLLB_ENTRY(); INT QueryLevel() const { return (INT) _ollbl; } // // Query the type of this LBI, currently returns an SFM_OUTLINE_LB_LEVEL // SFM_OUTLINE_LB_LEVEL QueryType() const { return _ollbl; } BOOL IsExpanded() const { return _fExpanded; } const TCHAR * QueryZone( VOID ) const { return _nlsZone.QueryPch(); } const TCHAR * QueryPrinter( VOID ) const { return _nlsPrinter.QueryPch(); } const PWSH_ATALK_ADDRESS QueryAddress( VOID ) { return &_wshAtalkAddress; } virtual VOID Paint( LISTBOX * plb, HDC hdc, const RECT * prect, GUILTT_INFO * pGUILTT ) const; virtual INT Compare( const LBI * plbi ) const; virtual WCHAR QueryLeadingChar() const; }; /************************************************************************* NAME: OUTLINE_LISTBOX SYNOPSIS: Listbox with outline-manipulation support PARENT: BLT_LISTBOX USES: DMID_DTE, DM_DTE HISTORY: NarenG 1-June-1993 Stole from file manager **************************************************************************/ class OUTLINE_LISTBOX : public BLT_LISTBOX { private: SOCKET _hSocket; DMID_DTE * _pdmiddteZone; DMID_DTE * _pdmiddteZoneExpanded; DMID_DTE * _pdmiddtePrinter; INT _nS; INT AddZone( const TCHAR * pszZone, BOOL fExpanded = FALSE ); INT AddPrinter( const TCHAR * pszZone, const TCHAR * pszPrinter, const PWSH_ATALK_ADDRESS pwshAtalkAddress ); INT FindItem( const TCHAR * pszZone, const TCHAR * pszPrinter = NULL ) const; protected: INT AddItem( SFM_OUTLINE_LB_LEVEL ollbl, BOOL fExpanded, const TCHAR * pszZone, const TCHAR * pszPrinter, const PWSH_ATALK_ADDRESS pwshAtalkAddress ); INT CD_Char( WCHAR wch, USHORT nLastPos ); public: OUTLINE_LISTBOX( OWNER_WINDOW * powin, CID cid, SOCKET hSocket ); ~OUTLINE_LISTBOX(); DECLARE_LB_QUERY_ITEM( OLLB_ENTRY ); APIERR FillZones( VOID ); APIERR FillPrinters( const TCHAR * pszZone, UINT * pcServersAdded ); VOID SetZoneExpanded( INT i, BOOL f = TRUE ); BOOL IsS() { return ( _nS < 0 ); } APIERR ExpandZone( INT iZone ); APIERR ExpandZone() { return ExpandZone(QueryCurrentItem()); } APIERR CollapseZone( INT iZone ); APIERR CollapseZone() { return CollapseZone(QueryCurrentItem()); } // // The following method provides the listbox items with access to the // different display maps. // DM_DTE * QueryDmDte( SFM_OUTLINE_LB_LEVEL ollbl, BOOL fExpanded ) const; }; /************************************************************************* NAME: ADD_PORT_DIALOG SYNOPSIS: The class represents the add port dialog of the Print Manager. INTERFACE: ADD_PORT_DIALOG - Class constructor. ~ADD_PORT_DIALOG - Class destructor. QueryHelpContext - Called when the user presses "F1" or the "Help" button. Used for selecting the appropriate help text for display. OnOk - Called when user hits OK button. PARENT: DIALOG_WINDOW USES: CHECKBOX HISTORY: NarenG 24-May-1993 Created **************************************************************************/ class ADD_PORT_DIALOG : public DIALOG_WINDOW { private: PUSH_BUTTON _pbOK; PATALKPORT _pNewPort; OUTLINE_LISTBOX _ollb; protected: // // Called during help processing to select the appropriate // help text for display. // virtual ULONG QueryHelpContext( VOID ); // // Called when user hits OK button // virtual BOOL OnOK( VOID ); // // Called whenever a WM_COMMAND message is send to the dialog procedure. // virtual BOOL OnCommand( const CONTROL_EVENT & event ); public: // // Usual constructor\destructor goodies. // ADD_PORT_DIALOG( HWND hWndOwner, PATALKPORT pAtalkPort ); ~ADD_PORT_DIALOG( VOID ); }; // class ADD_PORT_DIALOG #endif // _DIALOGS_HXX
sul-dlss/SearchWorks
app/models/concerns/solr_holdings.rb
<gh_stars>10-100 module SolrHoldings def holdings(live: false) @holdings ||= {} @holdings[live] ||= Holdings.new(live ? live_lookup_callnumbers : callnumbers, mhld) end def mhld return [] if self[:mhld_display].blank? @mhld ||= self[:mhld_display].map do |mhld_display| Holdings::MHLD.new(mhld_display) end end def callnumbers return [] if self[:item_display].blank? @callnumbers ||= self[:item_display].map do |item_display| Holdings::Callnumber.new(item_display, document: self) end.sort_by(&:full_shelfkey) end def live_lookup_callnumbers @live_lookup_callnumbers ||= callnumbers.map do |item| data = live_data_for_barcode(item.barcode) if data.present? item.current_location = Holdings::Location.new(data['current_location']) item.due_date = data['due_date'] if data['due_date'] item.status = Holdings::Status.new(item) end item end end def preferred_callnumber @preferred_callnumber ||= begin callnumber = self[:preferred_barcode] && (callnumbers.select(&:present?).find do |c| c.barcode == self[:preferred_barcode] end) callnumber || callnumbers.first end end private def live_data @live_data ||= LiveLookup.new(id).records end def live_data_for_barcode(barcode) live_data.find do |item| item['barcode'] == barcode end end end
marco-brandizi/ondex-knet-builder
ondex-desktop/ovtk2-modules/experimental/src/main/java/net/sourceforge/ondex/ovtk2/annotator/microarray/NodeSizeListener.java
<filename>ondex-desktop/ovtk2-modules/experimental/src/main/java/net/sourceforge/ondex/ovtk2/annotator/microarray/NodeSizeListener.java<gh_stars>1-10 package net.sourceforge.ondex.ovtk2.annotator.microarray; import javax.swing.JFormattedTextField; /** * A node listener for 2 Int JFormattedTextField that forces a min and a max and controls access to minField and maxField * @author hindlem * */ public class NodeSizeListener { private JFormattedTextField minField; private JFormattedTextField maxField; private int absoluteMin; private int absoluteMax; private int minSizeOfNode = 5; private int maxSizeOfNode = 35; /** * Adds listeners to the given fields and enforces min and max * requirements * * @param minField * @param maxField * @param absoluteMin * @param absoluteMax */ public NodeSizeListener(JFormattedTextField minField, JFormattedTextField maxField, int absoluteMin, int absoluteMax) { this.minField = minField; this.maxField = maxField; this.absoluteMin = absoluteMin; this.absoluteMax = absoluteMax; extractValues(); } public void extractValues() { Integer min = (Integer) minField.getValue(); Integer max = (Integer) maxField.getValue(); System.out.println(min+" "+max+" vals"); if (min < absoluteMin) { min = absoluteMin; minField.setValue(min); } if (min > absoluteMax) { min = absoluteMax; minField.setValue(min); } if (max < absoluteMin) { max = absoluteMin; maxField.setValue(max); } if (max > absoluteMax) { max = absoluteMax; maxField.setValue(max); } if (min > max) { Integer temp = min; min = max; max = temp; minField.setValue(min); maxField.setValue(max); } minSizeOfNode = (Integer) minField.getValue(); maxSizeOfNode = (Integer) maxField.getValue(); } /** * returns the validated values for node minimum diamiter * @return The selected min size of node */ public int getMinSizeOfNode() { extractValues(); return minSizeOfNode; } /** * returns the validated values for node maximum diamiter * @return The selected max size of node */ public int getMaxSizeOfNode() { extractValues(); return maxSizeOfNode; } };
mikeGHQ/Discord
src/store/reducers/dm.reducer.js
import _ from 'lodash'; export default (state, { type, payload }) => { switch (type) { case 'SET_FRIENDS': { let { friends } = payload; return { ...state, load_app: state.load_app + 1, dm: { ...state.dm, friends } }; break; } case 'SET_DM_MESSAGES': { let { conversation_id, messages } = payload; return { ...state, dm: { ...state.dm, dm_loaded: { ...state.dm.dm_loaded, [conversation_id]: true }, dm_messages: { ...state.dm.dm_messages, [conversation_id]: messages } } }; break; } case 'ADD_DM_MESSAGE': { let { conversation_id, message, remove } = payload; let messages = [...state.dm.dm_messages[conversation_id]]; if (remove) { messages = messages.filter(m => m._id != remove); } messages.push(message); messages = _.uniqBy(messages, '_id'); return { ...state, dm: { ...state.dm, dm_messages: { ...state.dm.dm_messages, [conversation_id]: messages } } }; break; } case 'ADD_PENDING': { let { redirect, pending } = payload; if (redirect) { setTimeout(() => { window.router.push('/@me/friends/pending'); }, 500); } return { ...state, dm: { ...state.dm, pending_requests: [...state.dm.pending_requests, pending] } }; break; } case "FRIEND_REQUEST_ERROR": { return { ...state, dm: { ...state.dm, friend_request_error: payload.message } } break; } case 'SET_PENDING_REQUESTS': { let { pending_requests } = payload; return { ...state, load_app: state.load_app + 1, dm: { ...state.dm, pending_requests } }; } } return { ...state }; };
hmrc/interest-restriction-return
test/v1/connectors/RevokeReportingCompanyConnectorSpec.scala
<filename>test/v1/connectors/RevokeReportingCompanyConnectorSpec.scala<gh_stars>0 /* * Copyright 2021 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * 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. */ package v1.connectors import assets.fullReturn.FullReturnConstants.ackRef import assets.revokeReportingCompany.RevokeReportingCompanyConstants._ import v1.connectors.HttpHelper.SubmissionResponse import v1.connectors.mocks.MockHttpClient import play.api.http.Status._ import utils.BaseSpec import v1.models.revokeReportingCompany.RevokeReportingCompanyModel class RevokeReportingCompanyConnectorSpec extends MockHttpClient with BaseSpec { "RevokeReportingCompanyConnector.revoke" when { def setup(response: SubmissionResponse): RevokeReportingCompanyConnector = { val desUrl = "http://localhost:9262/organisations/interest-restrictions-return/revoke" mockHttpPost[RevokeReportingCompanyModel, Either[ErrorResponse, DesSuccessResponse]](desUrl, revokeReportingCompanyModelMax)(response) new RevokeReportingCompanyConnector(mockHttpClient,appConfig) } "revokement is successful" should { "return a Right(SuccessResponse)" in { val connector = setup(Right(DesSuccessResponse(ackRef))) val result = connector.revoke(revokeReportingCompanyModelMax) await(result) shouldBe Right(DesSuccessResponse(ackRef)) } } "update is unsuccessful" should { "return a Left(UnexpectedFailure)" in { val connector = setup(Left(UnexpectedFailure(INTERNAL_SERVER_ERROR, "Error"))) val result = connector.revoke(revokeReportingCompanyModelMax) await(result) shouldBe Left(UnexpectedFailure(INTERNAL_SERVER_ERROR, "Error")) } } } }
AndriiMysko/travis-api
spec/lib/services/update_hook_spec.rb
describe Travis::Services::UpdateHook do include Travis::Testing::Stubs let(:service) { described_class.new(user, params) } let(:params) { { id: repo.id, active: true } } before :each do allow(repo).to receive(:update_column) allow(service).to receive(:run_service) allow(user).to receive(:service_hook).and_return(repo) end it 'finds the repo by the given params' do expect(user).to receive(:service_hook).with(id: repo.id).and_return(repo) service.run end it 'sets the given :active param to the hook' do expect(service).to receive(:run_service).with(:github_set_hook, instance_of(Hash)) service.run end describe 'sets the repo to the active param' do it 'given true' do service.params.update(active: true) expect(repo).to receive(:update_column).with(:active, true) service.run end it 'given false' do service.params.update(active: false) expect(repo).to receive(:update_column).with(:active, false) service.run end it 'given "true"' do service.params.update(active: 'true') expect(repo).to receive(:update_column).with(:active, true) service.run end it 'given "false"' do service.params.update(active: 'false') expect(repo).to receive(:update_column).with(:active, false) service.run end end it 'syncs the repo when activated' do service.params.update(active: true) expect(Sidekiq::Client).to receive(:push).with( 'queue' => 'sync', 'class' => 'Travis::GithubSync::Worker', 'args' => [:sync_repo, repo_id: 1, user_id: user.id] ) service.run end it 'does not sync the repo when deactivated' do service.params.update(active: false) expect(Sidekiq::Client).not_to receive(:push) service.run end end describe Travis::Services::UpdateHook::Instrument do include Travis::Testing::Stubs let(:service) { Travis::Services::UpdateHook.new(user, params) } let(:params) { { id: repository.id, active: 'true' } } let(:publisher) { Travis::Notification::Publisher::Memory.new } let(:event) { publisher.events.last } before :each do Travis::Notification.publishers.replace([publisher]) allow(service).to receive(:run_service) allow(user).to receive(:service_hook).and_return(repo) allow(repo).to receive(:update_column).and_return(true) end it 'publishes a event' do service.run expect(event).to publish_instrumentation_event( event: 'travis.services.update_hook.run:completed', message: 'Travis::Services::UpdateHook#run:completed for svenfuchs/minimal active=true (svenfuchs)', result: true ) end end
oleksandr-pavlyk/cpython
Include/cpython/warnings.h
#ifndef Py_CPYTHON_WARNINGS_H # error "this header file must not be included directly" #endif PyAPI_FUNC(int) PyErr_WarnExplicitObject( PyObject *category, PyObject *message, PyObject *filename, int lineno, PyObject *module, PyObject *registry); PyAPI_FUNC(int) PyErr_WarnExplicitFormat( PyObject *category, const char *filename, int lineno, const char *module, PyObject *registry, const char *format, ...); // DEPRECATED: Use PyErr_WarnEx() instead. #define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1)
sjndhkl/redex
opt/obfuscate/ObfuscateUtils.cpp
<reponame>sjndhkl/redex /** * Copyright (c) 2016-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #include "ObfuscateUtils.h" #include "Trace.h" #include <algorithm> #include "Walkers.h" #include "DexClass.h" DexFieldManager new_dex_field_manager() { return DexFieldManager( [](DexField*& f) -> FieldNameWrapper* { return new FieldNameWrapper(f); }, [](DexField*& f) -> DexType* { return f->get_type(); }, [](const std::string& new_name) -> DexFieldRef { DexFieldRef ref; ref.name = DexString::make_string(new_name); return ref; }); } DexMethodManager new_dex_method_manager() { return DexMethodManager( [](DexMethod*& f) -> MethodNameWrapper* { return new MethodNameWrapper(f); }, [](DexMethod*& m) -> DexProto* { return m->get_proto(); }, [](const std::string& new_name) -> DexMethodRef { DexMethodRef ref; ref.name = DexString::make_string(new_name); return ref; }); }
openem-team/openem
scripts/periodic_capture.py
<filename>scripts/periodic_capture.py import tator # For custom upload routine from tator.util._upload_file import _upload_file from tator.transcode.make_thumbnails import make_thumbnails from tator.transcode.transcode import make_video_definition from tator.transcode.make_fragment_info import make_fragment_info from tator.openapi.tator_openapi.models import CreateResponse import argparse import os import subprocess import json import time import datetime import math import pandas as pd import uuid import dateutil import tempfile def get_file_info(path): cmd = [ "ffprobe", "-v","error", "-show_entries", "stream", "-print_format", "json", "-select_streams", "v:0", path, ] output = subprocess.run(cmd, stdout=subprocess.PIPE, check=True).stdout video_info = json.loads(output) duration = video_info["streams"][0]['duration'] r_framerate = video_info["streams"][0]['r_frame_rate'].split('/') fps = float(r_framerate[0])/float(r_framerate[1]) start = os.path.splitext(os.path.basename(path))[0] start = dateutil.parser.parse(start.replace('_',':')) return start, float(duration), fps def get_existing_chunks(api, args, project): section_list = api.get_section_list(project, name=args.section) if not section_list: print("Section doesn't exist") return [] section_id = section_list[0].id media_list = api.get_media_list(project, section=section_id) return [x.name for x in media_list] def upload_new_chunk(args, api, project, fps, upload_gid, frameRange, chunk_name): media_response = api.create_media(project, {'gid': upload_gid, 'name':chunk_name, 'section': args.section, 'type': args.media_type_id, 'md5': tator.util.md5sum(args.video)}) with tempfile.TemporaryDirectory() as td: temp_name = os.path.join(td, chunk_name) ffmpeg_args = ["ffmpeg", "-i", args.video, "-frames:v", str(args.frame_interval), "-vf", f"select=between(n\\,{frameRange[0]}\\,{frameRange[1]}),setpts=N/FRAME_RATE/TB", "-af", f"aselect=between(t\\,{frameRange[0]/fps}\\,{frameRange[1]/fps}),asetpts=N/SR/TB", "-frame_pts", "true", "-c:v", "hevc_nvenc", "-c:a", "aac", "-preset", "hq", "-2pass", "0", "-rc-lookahead", "8", "-rc", "vbr_hq", "-cq", "30", "-movflags", "faststart+frag_keyframe+empty_moov+default_base_moof", "-y", "-f", "mp4", temp_name] print(" ".join(ffmpeg_args)) p = subprocess.run(ffmpeg_args, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) for p,_ in tator.util.upload_media(api, args.media_type_id, temp_name, upload_gid=upload_gid, media_id=media_response.id): print(f"\r{p}%",end='', flush=True) data = pd.read_csv(args.metadata) this_chunk_data = data.loc[data['Frame'] >= frameRange[0]].loc[data['Frame'] <= frameRange[1]] print(f"\tThis chunk has {len(this_chunk_data)}") objs=[] for idx,row in this_chunk_data.iterrows(): objs.append({'type': args.box_type_id, 'media_id': media_response.id, 'frame': row['Frame']-frameRange[0], 'x': row['x1'], 'y': row['y1'], 'height': row['y2']-row['y1'], 'width': row['x2']-row['x1'], args.score_name: row['score'], args.label_name: row['label'] }) for response in tator.util.chunked_create(api.create_localization_list, project, localization_spec=objs): pass def main(): parser = argparse.ArgumentParser() parser.add_argument("--token", type=str, required=True) parser.add_argument("--media-type-id", type=int, required=True) parser.add_argument("--box-type-id", type=int, required=True) parser.add_argument("--section", type=str,default="broadcast") parser.add_argument("--label-name", type=str, default="Species") parser.add_argument("--score-name", type=str, default="Confidence") parser.add_argument("--frame-interval", type=int, default=30000) parser.add_argument("metadata") parser.add_argument("video") args = parser.parse_args() api = tator.get_api(token=args.token) media_type = api.get_media_type(args.media_type_id) project = media_type.project upload_gid = str(uuid.uuid1()) while True: existing_chunks = get_existing_chunks(api, args, project) start,duration,fps = get_file_info(args.video) chunk_seconds = args.frame_interval/fps print(f"Uploading file in {args.frame_interval} frame chunks or {chunk_seconds} seconds.") print(f"File is {duration} @ FPS={fps}, start={start}") available_chunks = math.floor(duration/chunk_seconds) print(f"Existing={len(existing_chunks)}, Available={available_chunks}") for chunk_id in range(available_chunks): startFrame = chunk_id * args.frame_interval endFrame = ((chunk_id + 1) * args.frame_interval)-1 offset = chunk_id * chunk_seconds chunk_start = start + datetime.timedelta(seconds=offset) print(f"{chunk_id}: {startFrame} to {endFrame} - {chunk_start}") chunk_name = f"{chunk_start}.mp4" if chunk_name in existing_chunks: print("\t Found existing chunk.") else: print("\t Uploading chunk") upload_new_chunk(args, api, project, fps, upload_gid, (startFrame,endFrame), chunk_name) time.sleep(60) if __name__=="__main__": main()
casualcore/casual
middleware/gateway/include/gateway/group/outbound/handle.h
//! //! Copyright (c) 2020, The casual project //! //! This software is licensed under the MIT license, https://opensource.org/licenses/MIT //! #pragma once #include "gateway/group/outbound/state.h" #include "common/message/dispatch.h" #include "common/communication/ipc.h" namespace casual { namespace gateway::group::outbound::handle { using internal_handler = decltype( common::message::dispatch::handler( common::communication::ipc::inbound::device())); internal_handler internal( State& state); using external_handler = decltype( common::message::dispatch::handler( std::declval< common::communication::tcp::Duplex&>())); external_handler external( State& state); void unadvertise( state::lookup::Resources keys); namespace connection { //! send error replies to all pending in-flight messages that is associated with the connection //! removes all state associated with the connection. std::optional< configuration::model::gateway::outbound::Connection> lost( State& state, common::strong::file::descriptor::id descriptor); //! unadvertise all associated resources to descriptor, mark the connection as 'disconnecting' void disconnect( State& state, common::strong::file::descriptor::id descriptor); } // connection //! take care of pending tasks, when message dispatch is idle. std::vector< configuration::model::gateway::outbound::Connection> idle( State& state); //! soft shutdown - tries to disconnect all connections void shutdown( State& state); //! hard shutdown - try to cancel stuff directly with best effort. void abort( State& state); } // gateway::group::outbound::handle } // casual
ceekay1991/AliPayForDebug
AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/WordsResponse.h
<reponame>ceekay1991/AliPayForDebug<filename>AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/WordsResponse.h // // 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 "GWBaseResponse.h" @class GoldQuotation, NSArray, NSString; @interface WordsResponse : GWBaseResponse { NSString *_opened; NSString *_prodCode; NSString *_prodDesc; NSString *_organization; NSString *_link; NSString *_agreement; NSString *_refundHour; NSString *_availableShare; GoldQuotation *_goldQuotation; NSArray *_words; } + (Class)wordsElementClass; @property(retain, nonatomic) NSArray *words; // @synthesize words=_words; @property(retain, nonatomic) GoldQuotation *goldQuotation; // @synthesize goldQuotation=_goldQuotation; @property(retain, nonatomic) NSString *availableShare; // @synthesize availableShare=_availableShare; @property(retain, nonatomic) NSString *refundHour; // @synthesize refundHour=_refundHour; @property(retain, nonatomic) NSString *agreement; // @synthesize agreement=_agreement; @property(retain, nonatomic) NSString *link; // @synthesize link=_link; @property(retain, nonatomic) NSString *organization; // @synthesize organization=_organization; @property(retain, nonatomic) NSString *prodDesc; // @synthesize prodDesc=_prodDesc; @property(retain, nonatomic) NSString *prodCode; // @synthesize prodCode=_prodCode; @property(retain, nonatomic) NSString *opened; // @synthesize opened=_opened; - (void).cxx_destruct; @end
XePeleato/ssj
src/main/java/umontreal/ssj/mcqmctools/florian/examples/ShortColumnFunctionVars.java
package umontreal.ssj.mcqmctools.florian.examples; import cern.colt.matrix.DoubleMatrix2D; import umontreal.ssj.mcqmctools.MonteCarloModelDoubleArray; import umontreal.ssj.probdist.NormalDist; import umontreal.ssj.randvarmulti.MultinormalPCAGen; import umontreal.ssj.rng.RandomStream; /** * This class can be used to generate the random variables @f$Y,M,P@f$ that are * used in the so-called short column function @f$f(Y,M,P)@f$ as explained in * \link https://www.sfu.ca/~ssurjano/shortcol.html \endlink. More precisely, * * @f[ f(Y,M,P) = 1 - \frac{4M}{bh^2Y}-\frac{P^2}{b^2h^2Y^2}, @f] * * where @f$b@f$ and @f$h@f$ are the deterministic width and depth of the cross * section (in mm), respectively. * * This class can be used to, e.g., estimate the density of @f$f(Y,M,P)@f$ with * a conditional density estimator. * * The random variable @f$Y@f$ is assumed to be lognormally distributed * while @f$M@f$ and @f$P@f$ are normally distributed with covariance * Matrix @f$\Sigma@f$. @f$Y@f$ is independent of @f$M@f$ and @f$P@f$. * * @author florian * */ public class ShortColumnFunctionVars implements MonteCarloModelDoubleArray { double muY, muM, muP; double sigmaY; DoubleMatrix2D trafoMat; double[] performance = new double[3]; double[][] sigma; /** * Constructor * @param muY mean of @f$Y@f$. * @param muM mean of @f$M@f$. * @param muP mean of @f$P@f$. * @param sigmaY standard deviation of @f$Y@f$. * @param sigma covariance matrix @f$\Sigma@f$ of @f$M@f$ and @f$P@f$. */ public ShortColumnFunctionVars(double h, double b, double muY, double muM, double muP, double sigmaY, DoubleMatrix2D sigma) { this.muY = transformMu(muY, sigmaY); this.muM = muM; this.muP = muP; this.sigmaY = transformSigma(muY, sigmaY); this.trafoMat = MultinormalPCAGen.decompPCA(sigma); } /** * Same as above, but now @f$\Sigma@f$ is given as a two-dimensionla array * instead of a DoubleMatrix2D. * * @param muY * @param muM * @param muP * @param sigmaY * @param sigma */ public ShortColumnFunctionVars(double muY, double muM, double muP, double sigmaY, double[][] sigma) { this.muY = transformMu(muY, sigmaY); this.muM = muM; this.muP = muP; this.sigmaY = transformSigma(muY, sigmaY); this.trafoMat = MultinormalPCAGen.decompPCA(sigma); this.sigma = sigma; } private double transformMu(double mu, double sigma) { return (Math.log(mu) - 0.5 * Math.log(sigma * sigma / (mu * mu) + 1.0)); } private double transformSigma(double mu, double sigma) { return (Math.sqrt(Math.log(1.0 + sigma * sigma / (mu * mu)))); } @Override public void simulate(RandomStream stream) { performance[0] = Math.exp(NormalDist.inverseF(muY, sigmaY, stream.nextDouble())); double[] u = new double[2]; u[0] = NormalDist.inverseF01(stream.nextDouble()); u[1] = NormalDist.inverseF01(stream.nextDouble()); for (int j = 0; j < 2; j++) { performance[j + 1] = 0.0; for (int c = 0; c < 2; c++) // performance[j+1] += trafoMat.getQuick(j, c) * u[c]; performance[j + 1] += sigma[j][c] * u[c]; } performance[1] += muM; performance[2] += muP; } @Override public double[] getPerformance() { return performance; } @Override public int getPerformanceDim() { return performance.length; } @Override public String toString() { return "ShortColumn"; } }
0x09/dspfun
include/longmath.h
#define M_El 2.718281828459045235360287471352662498L /* e */ #define M_LOG2El 1.442695040888963407359924681001892137L /* log_2 e */ #define M_LOG10El 0.434294481903251827651128918916605082L /* log_10 e */ #define M_LN2l 0.693147180559945309417232121458176568L /* log_e 2 */ #define M_LN10l 2.302585092994045684017991454684364208L /* log_e 10 */ #define M_PIl 3.141592653589793238462643383279502884L /* pi */ #define M_PI_2l 1.570796326794896619231321691639751442L /* pi/2 */ #define M_PI_4l 0.785398163397448309615660845819875721L /* pi/4 */ #define M_1_PIl 0.318309886183790671537767526745028724L /* 1/pi */ #define M_2_PIl 0.636619772367581343075535053490057448L /* 2/pi */ #define M_2_SQRTPIl 1.128379167095512573896158903121545172L /* 2/sqrt(pi) */ #define M_SQRT2l 1.414213562373095048801688724209698079L /* sqrt(2) */ #define M_SQRT1_2l 0.707106781186547524400844362104849039L /* 1/sqrt(2) */
borres/wxtproject
docbuilder/src/rc1_docbuilder/content/application.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package rc1_docbuilder.content; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import javax.swing.JOptionPane; /** * * @author HP_Eier */ public class application { public static String readText(String filename) { String content=null; try { File f = new File(filename); FileInputStream fis=new FileInputStream(f); InputStreamReader isr=new InputStreamReader(fis,"UTF-8"); //FileReader reader = new FileReader(f); BufferedReader br = new BufferedReader(isr); String object = ""; content=""; while((object=br.readLine())!=null) { content += object+"\n"; } br.close(); } catch(IOException ioe) { System.out.println("Reading file failed: "+ioe.getMessage()); JOptionPane.showMessageDialog(null, "The file :"+filename+ " could not be read"); } return content; } public static String readPrincePath(String filename) { String content=null; try { File f = new File(filename); FileReader reader = new FileReader(f); BufferedReader br = new BufferedReader(reader); String object = ""; content=""; while((object=br.readLine())!=null) { content += object+"\n"; } br.close(); } catch(IOException ioe) { System.out.println("Reading file failed: "+ioe.getMessage()); JOptionPane.showMessageDialog(null, "The file :"+filename+ " could not be read"); } return content; } public static void saveTextToFile(String text,String filename,String directory) { try { File f=new File(directory+"/"+filename); //FileWriter fw=new FileWriter(f); FileOutputStream fos=new FileOutputStream(f); OutputStreamWriter osw=new OutputStreamWriter(fos,"UTF-8"); BufferedWriter bw=new BufferedWriter(osw); bw.write(text); bw.flush(); } catch(IOException ioe) { System.out.println("Error writing to file " +ioe.getMessage()); } } public static boolean deleteDirectory(File path) { if(path.exists()) { System.out.println("Filen eksisterer..."); File[] files=path.listFiles(); for(int i=0; i<files.length; i++) { files[i].deleteOnExit(); } } return (path.delete()); } }
jnthn/intellij-community
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/mergeFilter/beforeOr.java
<reponame>jnthn/intellij-community<filename>java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/mergeFilter/beforeOr.java<gh_stars>1-10 // "Merge filter chain" "true" import java.util.stream.Stream; class Test { void foo(Stream<String> stringStream ) { stringStream.filt<caret>er(name -> name.startsWith("A") || name.startsWith("B")) .filter(a -> a.length() > 3 || a.length() == 1).findAny(); } }
PavelZX/rekit-studio
src/features/diagram/OverviewDiagram.js
<filename>src/features/diagram/OverviewDiagram.js import React, { Component } from 'react'; import PropTypes from 'prop-types'; import _ from 'lodash'; import * as d3 from 'd3'; import d3Tip from 'd3-tip'; import { getDepsDiagramByFeatureData } from './selectors/getDepsDiagramByFeatureData'; import colors from '../../common/colors'; export default class OverviewDiagram extends Component { static propTypes = { onNodeClick: PropTypes.func, elementById: PropTypes.object.isRequired, }; static defaultProps = { onNodeClick() {}, }; componentDidMount() { window.addEventListener('resize', this.updateDiagram); this.initDiagram(); } componentWillUnmount() { this.tooltip.hide(); window.removeEventListener('resize', this.updateDiagram); } componentDidUpdate(prevProps) { const props = this.props; if (prevProps.elementById !== props.elementById) { this.updateDiagram(); } } getSize() { const containerNode = this.d3Node; return Math.max(Math.min(containerNode.offsetWidth, containerNode.offsetHeight), 100); } byId = id => this.props.elementById[id]; toShow = ele => { return ( ele && /^(file|component|action|routes)$/.test(ele.type) && !['index.js', 'constants.js', 'actions.js', 'reducer.js'].includes(ele.name) && (ele.type === 'file' ? /^js|jsx$/.test(ele.ext) : true) ); }; initDiagram = () => { this.svg = d3 .select(this.d3Node) .append('svg') .on('mousemove', this.handleSvgMousemove); this.svg .append('svg:defs') .selectAll('marker') .data(['marker']) .enter() .append('svg:marker') .attr('id', String) .attr('viewBox', '0 -5 10 10') .attr('refX', 10) .attr('refY', 0) .attr('markerWidth', 6) .attr('markerHeight', 6) .attr('class', d => `triangle-marker ${d}`) .attr('fill', '#ccc') .attr('orient', 'auto') .append('svg:path') .attr('d', 'M0,-5L10,0L0,5'); // this.groupsGroup = this.svg.append('svg:g'); this.pieBgGroup = this.svg.append('svg:g'); this.linksGroup = this.svg.append('svg:g'); this.nodesGroup = this.svg.append('svg:g'); this.labelsGroup = this.svg.append('svg:g'); this.tooltip = d3Tip() .attr('class', 'd3-tip') .offset([-10, 0]) .html(d => d.name); this.svg.call(this.tooltip); this.updateDiagram(); }; updateDiagram = () => { const size = this.getSize(); this.svg.attr('width', size).attr('height', size); const { elementById } = this.props; this.diagramData = getDepsDiagramByFeatureData({ elementById, size, toShow: this.toShow, }); const { nodes, links } = this.diagramData; this.drawPies(nodes); this.drawNodes(nodes); this.drawLabels(nodes); this.drawLinks(links); }; drawNodes = nodes => { const drawNode = d3Selection => { d3Selection .attr('id', d => d.id) .attr('stroke-width', d => d.width) .attr('stroke', d => { if (/v:container-/.test(d.type)) { return d3 .color(colors(d.type.replace('v:container-', ''))) .brighter(0.75) .hex(); } return colors(d.type); }) .attr('fill', 'transparent') .attr('class', 'path-element-node od-path') .style('cursor', d => (this.toShow(this.byId(d.id)) ? 'pointer' : 'default')) .attr('d', d => { const d3Path = d3.path(); d3Path.arc(d.x, d.y, d.radius, d.startAngle, d.endAngle); return d3Path; }) .on('mouseover', this.hanldeNodeMouseover) .on('mouseout', this.handleNodeMouseout) .on('click', this.props.onNodeClick); }; const allNodes = this.nodesGroup.selectAll('path').data(nodes); allNodes.exit().remove(); drawNode(allNodes.enter().append('svg:path')); drawNode(allNodes); }; drawLabels = nodes => { const labels = nodes .filter(n => n.type === 'feature') .map(f => ({ id: `label-feature-${f.name}`, text: f.name, href: f.id, })); const drawLabel = d3Selection => { const sss = d3Selection .style('font-size', 12) .style('fill', '#999') .style('overflow', 'hidden') .style('text-overflow', 'ellipsis') .style('cursor', 'default') .attr('dy', -8) .attr('class', d => `label-node feature-${d.id}`); // remove existing text path first, so that not duplicated. sss.select('textPath').remove(); sss .append('textPath') .attr('xlink:href', d => `#${d.href}`) .style('text-anchor', 'start') .attr('startOffset', '0%') .text(d => d.text); }; const labelNodes = this.labelsGroup.selectAll('text').data(labels); labelNodes.exit().remove(); drawLabel(labelNodes.enter().append('svg:text')); drawLabel(labelNodes); }; drawLinks = links => { const drawLink = d3Selection => { d3Selection .attr('id', d => `${d.source.id}-${d.target.id}`) .attr('marker-end', 'url(#marker)') // eslint-disable-line .attr('fill', 'transparent') .attr('stroke', '#ccc') .attr('stroke-width', '1px') .attr( 'class', d => `path-link od-path ${d.source.feature === d.target.feature ? 'same-feature-dep' : ''}`, ) .attr('d', d => { const d3Path = d3.path(); d3Path.moveTo(d.x1, d.y1); d3Path.quadraticCurveTo(d.cpx, d.cpy, d.x2, d.y2); return d3Path; }); }; const linksNodes = this.linksGroup.selectAll('path').data(links); linksNodes.exit().remove(); drawLink(linksNodes.enter().append('svg:path')); drawLink(linksNodes); }; drawPies = nodes => { const pies = nodes .filter(n => n.type === 'feature') .map(f => ({ id: `${f.id}:pie`, width: f.radius - f.width * 1.5 - 2, x: f.x, y: f.y, startAngle: f.startAngle, endAngle: f.endAngle, })); const drawPie = d3Selection => { d3Selection .attr('id', d => d.id) .attr('stroke-width', d => d.width) .attr('stroke', 'rgba(255, 255, 255, 0.1)') .attr('fill', 'transparent') .attr('class', 'feature-pie-node') .attr('d', d => { const d3Path = d3.path(); d3Path.arc(d.x, d.y, d.width / 2, d.startAngle, d.endAngle); return d3Path; }); }; const pieNodes = this.pieBgGroup.selectAll('path').data(pies); pieNodes.exit().remove(); drawPie(pieNodes.enter().append('svg:path')); drawPie(pieNodes); }; hanldeNodeMouseover = (d, index, nodes) => { if (this.toShow(this.byId(d.id))) this.tooltip.show(d, nodes[index]); this.highlightNode(d, nodes[index]); }; handleNodeMouseout = (d, index, nodes) => { this.tooltip.hide(d); this.delightNode(d, nodes[index]); }; highlightNode = (d, target) => { if (d.type.startsWith('v:container-')) return; this.nodesGroup.selectAll('path').attr('opacity', 0.1); this.linksGroup.selectAll('path').attr('opacity', 0.1); const paths = this.svg.selectAll('path.od-path'); const { depsData } = this.diagramData; const toHighlight = data => { const { nodeById } = this.diagramData; const relEles = [ ...(depsData.dependencies[data.id] || []), ...(depsData.dependents[data.id] || []), ]; if (d.type === 'feature') { return ( data.feature === d.name || _.get(data, 'source.feature') === d.name || // link out _.get(data, 'target.feature') === d.name || // link in relEles.some(id => nodeById[id] && nodeById[id].feature === d.name) ); } else { return ( data.id === d.id || // itself data.name === d.feature || // feature node _.get(data, 'source.id') === d.id || // link out _.get(data, 'target.id') === d.id || // link in relEles.includes(d.id) ); } }; paths .filter(data => { if (!data) return false; return toHighlight(data); }) .attr('opacity', 1); if (d.type === 'feature') { paths .filter(data => _.get(data, 'target.feature') === d.name) .style('stroke-dasharray', '3, 3'); } else { paths.filter(data => _.get(data, 'target.id') === d.id).style('stroke-dasharray', '3, 3'); } }; delightNode = (d, target) => { d3.select(target).attr('opacity', 1); d3.selectAll('path.od-path').attr('opacity', 1); this.linksGroup.selectAll('path').style('stroke-dasharray', ''); }; render() { return ( <div className="diagram-overview-diagram" ref={node => { this.d3Node = node; }} /> ); } }
lee-hyeonseung/lab_dl
ch08/functional_api2.py
<reponame>lee-hyeonseung/lab_dl from tensorflow.keras import Input, Model from tensorflow.keras.layers import Dense, Add, concatenate """ GoogleNet: p.271 그림 8-11 ResNet: p.272 그림 8-12 """ # 입력 텐서 생성 input_tensor = Input(shape=(784,)) x1 = Dense(64, activation='relu')(input_tensor) x2 = Dense(64, activation='relu')(input_tensor) # 은닉층 생성 concat = concatenate([x1, x2]) x3 = Dense(32, activation='relu')(concat) # 출력층 생성 output_tensor = Dense(10, activation='softmax')(x3) # 두 개의 output 텐서를 연결 # 모델 생성 model = Model(input_tensor, output_tensor) model.summary() print() input_tensor = Input(shape=(784,)) sc = Dense(32, activation='relu')(input_tensor) x = Dense(32, activation='relu')(sc) x = Dense(32, activation='relu')(x) add = Add()([sc, x]) output_tensor = Dense(10, activation='softmax')(add) model = Model(input_tensor, output_tensor) model.summary()
SamMolokanov/todo
lib/app/models/item.rb
<filename>lib/app/models/item.rb<gh_stars>0 # frozen_string_literal: true require "dry-struct" module App module Models class Item < Dry::Struct transform_keys(&:to_sym) attribute :id, Types::String.default(proc { SecureRandom.uuid }.freeze) attribute :title, Types::String attribute :body, Types::String.optional attribute :done, Types::Bool.optional.default(false) def ==(other) other.class == self.class && other.attributes == attributes end end end end
Saknet/SensorObservationFrontend
node_modules/world-calendars/dist/regional/ms.js
/* * World Calendars * https://github.com/alexcjohnson/world-calendars * * Batch-converted from kbwood/calendars * Many thanks to Keith Wood and all of the contributors to the original project! * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* http://keith-wood.name/calendars.html Malaysian localisation for Gregorian/Julian calendars for jQuery. Written by <NAME> (<EMAIL>). */ var main = require('../main'); var _gregorian = main.calendars.gregorian; var _julian = main.calendars.julian; _gregorian.prototype.regionalOptions['ms'] = { name: 'Gregorian', epochs: ['BCE', 'CE'], monthNames: ['Januari','Februari','Mac','April','Mei','Jun', 'Julai','Ogos','September','Oktober','November','Disember'], monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun', 'Jul','Ogo','Sep','Okt','Nov','Dis'], dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'], dayNamesShort: ['Aha','Isn','Sel','Rab','Kha','Jum','Sab'], dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'], digits: null, dateFormat: 'dd/mm/yyyy', firstDay: 0, isRTL: false }; if (_julian) { _julian.prototype.regionalOptions['ms'] = _gregorian.prototype.regionalOptions['ms']; }
Rhobota/librho
include/rho/ip/tcp/tServer.h
<filename>include/rho/ip/tcp/tServer.h #ifndef __rho_ip_tcp_tServer_h__ #define __rho_ip_tcp_tServer_h__ #include <rho/ppcheck.h> #include <rho/ip/tcp/tSocket.h> #include <rho/bNonCopyable.h> #include <rho/refc.h> #include <rho/types.h> namespace rho { namespace ip { namespace tcp { class tServer : public bNonCopyable { public: /** * Binds to localhost on port 'bindPort'. */ explicit tServer(u16 bindPort); /** * Binds to 'addrGroup[0]' on port 'bindPort'. * * Note: 'addrGroup.size()' must equal one, or else * an exception will be thrown. * * Hint: Construct the tAddrGroup using the constructor which takes * an 'ip::tAddrGroup::nAddrGroupSpecialType'. */ tServer(const tAddrGroup& addrGroup, u16 bindPort); /** * Returns the address on which the server is bound. */ tAddr getBindAddress() const; /** * Returns the port on which the server is bound. */ u16 getBindPort() const; /** * Blocks waiting for a connection. When one arrives it is returned. * This method can block indefinitely if no connection ever arrives. */ refc<tSocket> accept(); /** * Same as accept() above, except only blocks for a maximum of 'timeoutMS' * milliseconds. A timeout occurring is not an error--null is returned. */ refc<tSocket> accept(u32 timeoutMS); ~tServer(); private: void m_init(const tAddrGroup& addrGroup, u16 bindPort); void m_finalize(); private: int m_fd; // posix file descriptor tAddr m_addr; static const int kServerAcceptQueueLength = 100; }; } // namespace tcp } // namespace ip } // namespace rho #endif // __rho_ip_tcp_tServer_h__
rnarla123/aliyun-openapi-java-sdk
aliyun-java-sdk-alidns/src/main/java/com/aliyuncs/alidns/model/v20150109/DescribeDnsGtmAccessStrategyResponse.java
<reponame>rnarla123/aliyun-openapi-java-sdk /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * 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. */ package com.aliyuncs.alidns.model.v20150109; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.alidns.transform.v20150109.DescribeDnsGtmAccessStrategyResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeDnsGtmAccessStrategyResponse extends AcsResponse { private String requestId; private String strategyId; private String strategyName; private String strategyMode; private String instanceId; private String defaultAddrPoolType; private String defaultLbaStrategy; private Integer defaultMinAvailableAddrNum; private Integer defaultMaxReturnAddrNum; private String defaultLatencyOptimization; private String defaultAddrPoolGroupStatus; private String failoverAddrPoolType; private String failoverLbaStrategy; private Integer failoverMinAvailableAddrNum; private Integer failoverMaxReturnAddrNum; private String failoverLatencyOptimization; private String failoverAddrPoolGroupStatus; private String accessMode; private String effectiveAddrPoolGroupType; private String createTime; private Long createTimestamp; private Integer defaultAvailableAddrNum; private Integer failoverAvailableAddrNum; private List<Line> lines; private List<DefaultAddrPool> defaultAddrPools; private List<FailoverAddrPool> failoverAddrPools; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getStrategyId() { return this.strategyId; } public void setStrategyId(String strategyId) { this.strategyId = strategyId; } public String getStrategyName() { return this.strategyName; } public void setStrategyName(String strategyName) { this.strategyName = strategyName; } public String getStrategyMode() { return this.strategyMode; } public void setStrategyMode(String strategyMode) { this.strategyMode = strategyMode; } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } public String getDefaultAddrPoolType() { return this.defaultAddrPoolType; } public void setDefaultAddrPoolType(String defaultAddrPoolType) { this.defaultAddrPoolType = defaultAddrPoolType; } public String getDefaultLbaStrategy() { return this.defaultLbaStrategy; } public void setDefaultLbaStrategy(String defaultLbaStrategy) { this.defaultLbaStrategy = defaultLbaStrategy; } public Integer getDefaultMinAvailableAddrNum() { return this.defaultMinAvailableAddrNum; } public void setDefaultMinAvailableAddrNum(Integer defaultMinAvailableAddrNum) { this.defaultMinAvailableAddrNum = defaultMinAvailableAddrNum; } public Integer getDefaultMaxReturnAddrNum() { return this.defaultMaxReturnAddrNum; } public void setDefaultMaxReturnAddrNum(Integer defaultMaxReturnAddrNum) { this.defaultMaxReturnAddrNum = defaultMaxReturnAddrNum; } public String getDefaultLatencyOptimization() { return this.defaultLatencyOptimization; } public void setDefaultLatencyOptimization(String defaultLatencyOptimization) { this.defaultLatencyOptimization = defaultLatencyOptimization; } public String getDefaultAddrPoolGroupStatus() { return this.defaultAddrPoolGroupStatus; } public void setDefaultAddrPoolGroupStatus(String defaultAddrPoolGroupStatus) { this.defaultAddrPoolGroupStatus = defaultAddrPoolGroupStatus; } public String getFailoverAddrPoolType() { return this.failoverAddrPoolType; } public void setFailoverAddrPoolType(String failoverAddrPoolType) { this.failoverAddrPoolType = failoverAddrPoolType; } public String getFailoverLbaStrategy() { return this.failoverLbaStrategy; } public void setFailoverLbaStrategy(String failoverLbaStrategy) { this.failoverLbaStrategy = failoverLbaStrategy; } public Integer getFailoverMinAvailableAddrNum() { return this.failoverMinAvailableAddrNum; } public void setFailoverMinAvailableAddrNum(Integer failoverMinAvailableAddrNum) { this.failoverMinAvailableAddrNum = failoverMinAvailableAddrNum; } public Integer getFailoverMaxReturnAddrNum() { return this.failoverMaxReturnAddrNum; } public void setFailoverMaxReturnAddrNum(Integer failoverMaxReturnAddrNum) { this.failoverMaxReturnAddrNum = failoverMaxReturnAddrNum; } public String getFailoverLatencyOptimization() { return this.failoverLatencyOptimization; } public void setFailoverLatencyOptimization(String failoverLatencyOptimization) { this.failoverLatencyOptimization = failoverLatencyOptimization; } public String getFailoverAddrPoolGroupStatus() { return this.failoverAddrPoolGroupStatus; } public void setFailoverAddrPoolGroupStatus(String failoverAddrPoolGroupStatus) { this.failoverAddrPoolGroupStatus = failoverAddrPoolGroupStatus; } public String getAccessMode() { return this.accessMode; } public void setAccessMode(String accessMode) { this.accessMode = accessMode; } public String getEffectiveAddrPoolGroupType() { return this.effectiveAddrPoolGroupType; } public void setEffectiveAddrPoolGroupType(String effectiveAddrPoolGroupType) { this.effectiveAddrPoolGroupType = effectiveAddrPoolGroupType; } public String getCreateTime() { return this.createTime; } public void setCreateTime(String createTime) { this.createTime = createTime; } public Long getCreateTimestamp() { return this.createTimestamp; } public void setCreateTimestamp(Long createTimestamp) { this.createTimestamp = createTimestamp; } public Integer getDefaultAvailableAddrNum() { return this.defaultAvailableAddrNum; } public void setDefaultAvailableAddrNum(Integer defaultAvailableAddrNum) { this.defaultAvailableAddrNum = defaultAvailableAddrNum; } public Integer getFailoverAvailableAddrNum() { return this.failoverAvailableAddrNum; } public void setFailoverAvailableAddrNum(Integer failoverAvailableAddrNum) { this.failoverAvailableAddrNum = failoverAvailableAddrNum; } public List<Line> getLines() { return this.lines; } public void setLines(List<Line> lines) { this.lines = lines; } public List<DefaultAddrPool> getDefaultAddrPools() { return this.defaultAddrPools; } public void setDefaultAddrPools(List<DefaultAddrPool> defaultAddrPools) { this.defaultAddrPools = defaultAddrPools; } public List<FailoverAddrPool> getFailoverAddrPools() { return this.failoverAddrPools; } public void setFailoverAddrPools(List<FailoverAddrPool> failoverAddrPools) { this.failoverAddrPools = failoverAddrPools; } public static class Line { private String lineCode; private String lineName; private String groupCode; private String groupName; public String getLineCode() { return this.lineCode; } public void setLineCode(String lineCode) { this.lineCode = lineCode; } public String getLineName() { return this.lineName; } public void setLineName(String lineName) { this.lineName = lineName; } public String getGroupCode() { return this.groupCode; } public void setGroupCode(String groupCode) { this.groupCode = groupCode; } public String getGroupName() { return this.groupName; } public void setGroupName(String groupName) { this.groupName = groupName; } } public static class DefaultAddrPool { private String id; private String name; private Integer addrCount; private Integer lbaWeight; public String getId() { return this.id; } public void setId(String id) { this.id = id; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public Integer getAddrCount() { return this.addrCount; } public void setAddrCount(Integer addrCount) { this.addrCount = addrCount; } public Integer getLbaWeight() { return this.lbaWeight; } public void setLbaWeight(Integer lbaWeight) { this.lbaWeight = lbaWeight; } } public static class FailoverAddrPool { private String id; private String name; private Integer addrCount; private Integer lbaWeight; public String getId() { return this.id; } public void setId(String id) { this.id = id; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public Integer getAddrCount() { return this.addrCount; } public void setAddrCount(Integer addrCount) { this.addrCount = addrCount; } public Integer getLbaWeight() { return this.lbaWeight; } public void setLbaWeight(Integer lbaWeight) { this.lbaWeight = lbaWeight; } } @Override public DescribeDnsGtmAccessStrategyResponse getInstance(UnmarshallerContext context) { return DescribeDnsGtmAccessStrategyResponseUnmarshaller.unmarshall(this, context); } }