text
stringlengths
31
1.04M
(* * (c) Andreas Rossberg 1999-2013 * * Standard ML objects of the static semantics of modules * * Definition, Section 5.1 *) structure StaticObjectsModule = struct (* Import *) type 'a SigIdMap = 'a IdsModule.SigIdMap type 'a FunIdMap = 'a IdsModule.FunIdMap type Env = StaticObjectsCore.Env type TyNameSet = StaticObjectsCore.TyNameSet (* Compound objects [Section 5.1] *) type Sig = TyNameSet * Env (* [Sigma] *) type FunSig = TyNameSet * (Env * Sig) (* [Phi] *) type SigEnv = Sig SigIdMap (* [G] *) type FunEnv = FunSig FunIdMap (* [F] *) type Basis = TyNameSet * FunEnv * SigEnv * Env (* [B] *) end;
PREFIX : <http://www.cattid.uniroma1.it/2012/arduinoDay#> PREFIX tuio: <http://www.swows.org/tuio#> PREFIX swi: <http://www.swows.org/instance#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> CONSTRUCT { ?dataViewer a :DataViewer ; :group ?group ; :markerId ?markerId ; :state ?state . ?state a :Picture ; :stateCount "1"^^xsd:integer ; :imgURI ?slideImageURI ; :timeStateEntered ?updateTime . } WHERE { ?object a tuio:Object . ?object tuio:markerId ?markerId . tuio:defaultSource tuio:updateTime ?updateTime . GRAPH :config { swi:GraphRoot :menuStartPos ?menuStartPos ; :baseDataPath ?baseDataPath ; :baseSpeakerImgPath ?baseSpeakerImgPath . } . GRAPH :groupData { ?group a :Group ; :markerId ?markerId ; :mainPicture ?mainPicture . } . FILTER NOT EXISTS { GRAPH :viewerCurrState { ?dataViewer1 a :DataViewer ; :markerId ?markerId . } . } BIND( CONCAT( ?baseSpeakerImgPath, ?mainPicture ) AS ?slideImageURI ) . BIND( URI(CONCAT( STR(:dataViewer_), MD5( STR(?object) ) ) ) AS ?dataViewer ) . BIND( URI(CONCAT( STR(:state_), MD5( STR(?object) ) ) ) AS ?state ) . }
 Option Infer On Imports FakeItEasy Imports Questify.Builder.Model.ContentModel Imports Questify.Builder.Logic.ResourceManager Imports Questify.Builder.Logic.TestConstruction.ChainHandlers.Validating Imports Questify.Builder.Logic.TestConstruction.Requests Imports Questify.Builder.UnitTests.Framework.Faketory <TestClass()> Public Class ItemRelationshipValidationHandlerTest Inherits ChainTest <TestMethod(), TestCategory("Logic"), ExpectedException(GetType(ItemRelationshipException))> Public Sub AddPartOfInclusionGroupToAssesmentTest_ThrowsValidationException() 'Arrange Dim req As TestConstructionRequest = TestConstructionFactory.Add("1001", "1002") 'Redirect call A.CallTo(Function() FakeServices.FakeResourceService.GetDataSourcesForBank(A(Of Integer).Ignored, A(Of Nullable(Of Boolean)).Ignored, A(Of String()).That.Matches(Function(arg) arg(0) = "inclusion")) ).ReturnsLazily(Function() FakeFactory.Datasources.GetInclusionGroup("ds1", New String() {"1003", "1002", "1001"})) 'Fake DataBaseResourceManager Dim bankEntity As EntityClasses.BankEntity = A.Fake(Of EntityClasses.BankEntity)() Dim dbMan As DataBaseResourceManager = A.Fake(Of DataBaseResourceManager)(Function(x) New DataBaseResourceManager(bankEntity.Id)) Dim handler As New ItemRelationshipValidationHandler(dbMan, "inclusion") 'Act handler.ProcessRequest(req) 'Assert 'Expecting an Exception. End Sub <TestCategory("Logic")> <TestMethod(), ExpectedException(GetType(ItemRelationshipException))> Public Sub AddSomeItemsFromExculsionGroup_ThrowsValidationException() 'Arrange Dim req As TestConstructionRequest = TestConstructionFactory.Add(New String() {"1002"}, New String() {"1001"}) 'Items to add / Items present. 'Redirect call A.CallTo(Function() FakeServices.FakeResourceService.GetDataSourcesForBank(A(Of Integer).Ignored, A(Of Nullable(Of Boolean)).Ignored, A(Of String()).That.Matches(Function(arg) arg(0) = "exclusion")) ).ReturnsLazily(Function() FakeFactory.Datasources.GetExclusionGroup("ds1", New String() {"1001", "1002", "1003"})) 'Fake DataBaseResourceManager Dim bankEntity As EntityClasses.BankEntity = A.Fake(Of EntityClasses.BankEntity)() Dim dbMan As DataBaseResourceManager = A.Fake(Of DataBaseResourceManager)(Function(x) New DataBaseResourceManager(bankEntity.Id)) Dim handler As New ItemRelationshipValidationHandler(dbMan, "exclusion") 'Act handler.ProcessRequest(req) 'Assert 'Expecting an Exception. End Sub End Class
; ******************************************************************************************* ; ******************************************************************************************* ; ; Name : start.asm ; Purpose : Test bed for BASIC ; Date : 3rd June 2019 ; Author : paul@robsons.org.uk ; ; ******************************************************************************************* ; ******************************************************************************************* * = 0 clc ; switch into 65816 16 bit mode. xce rep #$30 .al .xl ldx #$FFF0 ; 6502 stack at $FFE0 txs lda #$FE00 ; set DP to $FE00 tcd lda #CodeSpace >> 16 ; put the page number in A ($2) ldx #CodeSpace & $FFFF ; and the base address in X ($4000) ldy #CodeEndSpace & $FFFF ; and the end address in Y ($C000) jmp SwitchBasicInstance * = $10000 .include "basic.asm" *=$24000 ; actual code goes here, demo at 02-4000 CodeSpace: .binary "temp/basic.bin" CodeEndSpace:
grammar Lang; file : func+ EOF ; func : 'def' ID '()' '{' stat+ '}' ; stat : ID '()' ';' ; ID : [a-zA-Z]+ ; WS : [ \t\n\r]+ -> channel(HIDDEN) ;
import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; part 'owner.g.dart'; @JsonSerializable(nullable: false) class Owner extends Equatable { final int id; final String name; Owner({this.id, this.name}); @override List<Object> get props => [id, name]; @override String toString() { return 'Owner: $id, $name'; } factory Owner.fromJson(Map<String, dynamic> json) => _$OwnerFromJson(json); Map<String, dynamic> toJson() => _$OwnerToJson(this); }
(ns advent.2021.day1 "Advent of Code 2021, day 1: Sonar Sweep" (:require [advent.helpers :as h])) (def puzzle-input (h/slurp-resource "2021/day1.txt" h/slurp-int-lines)) (defn increase-count [i] (count (filter true? (map < i (drop 1 i))))) (def puzzle1 increase-count) (defn puzzle2 [input] (increase-count (map + input (drop 1 input) (drop 2 input))))
@echo off & cls & @echo. & @echo. @echo [START] please wait... set "eDEBUG=ON" call "%~dp0make.bat" > "%~dp0log.txt" 2>&1 @echo [DONE] rem ============================================================================ rem ============================================================================
#include "Cloud_Common.glsl" layout(location = 0) in float4 In_Pos; out float4 vWorldPos; void main() { gl_Position = In_Pos; vWorldPos = mul( In_Pos, mC2W ); }
[AID_VENDOR_QTI_DIAG] value:2901 [AID_VENDOR_QDSS] value:2902 [AID_VENDOR_RFS] value:2903 [AID_VENDOR_RFS_SHARED] value:2904 [AID_VENDOR_ADPL_ODL] value:2905 [vendor/bin/wcnss_filter] mode: 0755 user: AID_BLUETOOTH group: AID_BLUETOOTH caps: BLOCK_SUSPEND [system/vendor/bin/wcnss_filter] mode: 0755 user: AID_BLUETOOTH group: AID_BLUETOOTH caps: BLOCK_SUSPEND [vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti] mode: 0755 user: AID_BLUETOOTH group: AID_BLUETOOTH caps: BLOCK_SUSPEND NET_ADMIN [system/vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti] mode: 0755 user: AID_SYSTEM group: AID_SYSTEM caps: BLOCK_SUSPEND NET_ADMIN [system/bin/cnss-daemon] mode: 0755 user: AID_BLUETOOTH group: AID_BLUETOOTH caps: NET_BIND_SERVICE [vendor/bin/pm-service] mode: 0755 user: AID_SYSTEM group: AID_SYSTEM caps: NET_BIND_SERVICE [system/vendor/bin/pm-service] mode: 0755 user: AID_SYSTEM group: AID_SYSTEM caps: NET_BIND_SERVICE [system/bin/pm-service] mode: 0755 user: AID_SYSTEM group: AID_SYSTEM caps: NET_BIND_SERVICE [vendor/bin/pd-mapper] mode: 0755 user: AID_SYSTEM group: AID_SYSTEM caps: NET_BIND_SERVICE [system/vendor/bin/pd-mapper] mode: 0755 user: AID_SYSTEM group: AID_SYSTEM caps: NET_BIND_SERVICE [system/bin/pd-mapper] mode: 0755 user: AID_SYSTEM group: AID_SYSTEM caps: NET_BIND_SERVICE [vendor/bin/imsdatadaemon] mode: 0755 user: AID_SYSTEM group: AID_SYSTEM caps: NET_BIND_SERVICE [system/vendor/bin/imsdatadaemon] mode: 0755 user: AID_SYSTEM group: AID_SYSTEM caps: NET_BIND_SERVICE [vendor/bin/ims_rtp_daemon] mode: 0755 user: AID_SYSTEM group: AID_RADIO caps: NET_BIND_SERVICE [system/vendor/bin/ims_rtp_daemon] mode: 0755 user: AID_SYSTEM group: AID_RADIO caps: NET_BIND_SERVICE [vendor/bin/imsrcsd] mode: 0755 user: AID_SYSTEM group: AID_RADIO caps: NET_BIND_SERVICE BLOCK_SUSPEND WAKE_ALARM [system/vendor/bin/imsrcsd] mode: 0755 user: AID_SYSTEM group: AID_RADIO caps: WAKE_ALARM [vendor/bin/cnd] mode: 0755 user: AID_SYSTEM group: AID_SYSTEM caps: NET_BIND_SERVICE BLOCK_SUSPEND NET_ADMIN [system/vendor/bin/cnd] mode: 0755 user: AID_SYSTEM group: AID_SYSTEM caps: NET_BIND_SERVICE BLOCK_SUSPEND NET_ADMIN [vendor/bin/slim_daemon] mode: 0755 user: AID_GPS group: AID_GPS caps: NET_BIND_SERVICE [system/vendor/bin/slim_daemon] mode: 0755 user: AID_GPS group: AID_GPS caps: NET_BIND_SERVICE [vendor/bin/loc_launcher] mode: 0755 user: AID_GPS group: AID_GPS caps: SETUID SETGID [vendor/bin/xtwifi-client] mode: 0755 user: AID_GPS group: AID_GPS caps: NET_BIND_SERVICE BLOCK_SUSPEND [firmware/] mode: 0771 user: AID_SYSTEM group: AID_SYSTEM caps: 0 [firmware/image/*] mode: 0771 user: AID_SYSTEM group: AID_SYSTEM caps: 0 [vendor/firmware_mnt/image/*] mode: 0771 user: AID_ROOT group: AID_SYSTEM caps: 0 [persist/] mode: 0771 user: AID_SYSTEM group: AID_SYSTEM caps: 0 [dsp/] mode: 0771 user: AID_MEDIA group: AID_MEDIA caps: 0
;=============================================================================== ; Copyright 2018-2020 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. ;=============================================================================== ; ; ; Purpose: Cryptography Primitive. ; Rijndael Cipher function ; ; Content: ; cpAESCMAC_Update_AES_NI() ; ; %include "asmdefs.inc" %include "ia_emm.inc" ;*************************************************************** ;* Purpose: AES-CMAC update ;* ;* void cpAESCMAC_Update_AES_NI(Ipp8u* digest, ;* const Ipp8u* input, ;* int inpLen, ;* int nr, ;* const Ipp32u* pRKey) ;*************************************************************** ;%if (_IPP >= _IPP_P8) && (_IPP < _IPP_G9) %if (_IPP >= _IPP_P8) ;; ;; Lib = P8 ;; ;; Caller = ippsAES_CMACUpdate ;; segment .text align=IPP_ALIGN_FACTOR align IPP_ALIGN_FACTOR IPPASM cpAESCMAC_Update_AES_NI,PUBLIC USES_GPR esi,edi %xdefine pDigest [esp + ARG_1 + 0*sizeof(dword)] ; input/output digest %xdefine pInpBlk [esp + ARG_1 + 1*sizeof(dword)] ; input blocks %xdefine len [esp + ARG_1 + 2*sizeof(dword)] ; length (bytes) %xdefine nr [esp + ARG_1 + 3*sizeof(dword)] ; number of rounds %xdefine pKey [esp + ARG_1 + 4*sizeof(dword)] ; key material address %xdefine SC (4) %assign BYTES_PER_BLK (16) mov edi, pDigest ; pointer to digest mov esi,pInpBlk ; input data address mov ecx,pKey ; key material address mov eax,nr ; number of rounds movdqu xmm0, oword [edi] ; digest mov edx, len ; length of stream align IPP_ALIGN_FACTOR ;; ;; block-by-block processing ;; .blks_loop: movdqu xmm1, oword [esi] ; input block movdqa xmm4, oword [ecx] ; preload key material pxor xmm0, xmm1 ; digest ^ src[] pxor xmm0, xmm4 ; whitening movdqa xmm4, oword [ecx+16] ; preload key material add ecx, 16 sub eax, 1 ; counter depending on key length align IPP_ALIGN_FACTOR .cipher_loop: aesenc xmm0, xmm4 ; regular round movdqa xmm4, oword [ecx+16] add ecx, 16 sub eax, 1 jnz .cipher_loop aesenclast xmm0, xmm4 ; irregular round mov ecx, pKey ; restore key pointer mov eax, nr ; resrore number of rounds add esi, BYTES_PER_BLK ; advance pointers sub edx, BYTES_PER_BLK ; decrease counter jnz .blks_loop pxor xmm4, xmm4 movdqu oword [edi], xmm0 ; store output block REST_GPR ret ENDFUNC cpAESCMAC_Update_AES_NI %endif
library(bayesm) library(bdsmatrix) library(broom) library(ca) library(car) library(carData) library(cluster) library(coin) library(compositions) library(Correlplot) library(cowplot) library(coxme) library(crayon) library(ctv) library(data.table) library(dendextend) library(DEoptimR) library(devtools) library(directlabels) library(dplyr) library(easyGplot2) library(energy) library(extrafont) library(extrafontdb) library(factoextra) library(FactoMineR) library(flashClust) library(flexmix) library(fontcm) library(fontLiberation) library(fontquiver) library(formatR) library(fpc) library(futile.options) library(futile.logger) library(gapminder) library(ggalt) # рисовать круг в облаке точек library(gganimate) library(ggfortify) library(ggimage) library(ggplot2) library(ggplotgui) library(ggplotify) library(ggpubr) library(ggrepel) library(ggsci) library(ggsignif) library(ggtern) library(ggthemes) library(git2r) library(GlobalOptions) library(GPArotation) # for factor analysis library(graphics) library(grDevices) library(grid) library(gridExtra) library(gridGraphics) library(gtable) library(hexbin) library(highr) library(HSAUR) library(igraph) library(ISwR) library(jpeg) library(kernlab) library(ks) library(labeling) library(lambda.r) library(latex2exp) library(lattice) library(latticeExtra) library(leaps) library(lubridate) library(magick) library(magrittr) library(Matrix) library(mclust) library(methods) library(mnormt) library(modelr) library(mratios) library(multcomp) # ANOVA library(officer) library(openxlsx) library(pbkrtest) library(pBrackets) library(pillar) library(plotfunctions) library(prabclus) library(pracma) library(proto) library(psych) library(pvclust) library(qqplotr) library(quadprog) library(Rgraphviz) library(R.methodsS3) library(R.oo) library(R.utils) library(RColorBrewer) library(readr) library(reshape2) library(rio) library(robustbase) library(scales) library(scatterplot3d) library(SimComp) library(spatstat.utils) library(sm) library(stats) library(tensorA) library(tibble) library(tidyverse) library(trimcluster) library(violinmplot) library(utf8) library(vcd) library(venn) library(viridis) library(viridisLite) library(wesanderson) library(zip)
; A130727: List of triples 2n+1, 2n+3, 2n+2. ; 1,3,2,3,5,4,5,7,6,7,9,8,9,11,10,11,13,12,13,15,14,15,17,16,17,19,18,19,21,20,21,23,22,23,25,24,25,27,26,27,29,28,29,31,30,31,33,32,33,35,34,35,37,36,37,39,38,39,41,40,41,43,42,43,45,44,45,47,46,47,49,48,49,51 add $0,2 mov $2,$0 mov $3,$0 lpb $2 trn $2,2 mov $1,$2 trn $2,1 sub $3,1 add $1,$3 lpe
package typingsSlinky.octokitPluginRestEndpointMethods.anon import typingsSlinky.octokitPluginRestEndpointMethods.octokitPluginRestEndpointMethodsStrings.baseUrl import typingsSlinky.octokitPluginRestEndpointMethods.octokitPluginRestEndpointMethodsStrings.body import typingsSlinky.octokitPluginRestEndpointMethods.octokitPluginRestEndpointMethodsStrings.headers import typingsSlinky.octokitPluginRestEndpointMethods.octokitPluginRestEndpointMethodsStrings.mediaType import typingsSlinky.octokitPluginRestEndpointMethods.octokitPluginRestEndpointMethodsStrings.method import typingsSlinky.octokitPluginRestEndpointMethods.octokitPluginRestEndpointMethodsStrings.request import typingsSlinky.octokitPluginRestEndpointMethods.octokitPluginRestEndpointMethodsStrings.url import typingsSlinky.octokitTypes.anon.Method import typingsSlinky.octokitTypes.anon.UrlString import typingsSlinky.octokitTypes.endpointInterfaceMod.EndpointInterface import typingsSlinky.octokitTypes.requestInterfaceMod.RequestInterface import typingsSlinky.octokitTypes.requestOptionsMod.RequestOptions import typingsSlinky.octokitTypes.requestParametersMod.RequestParameters import typingsSlinky.octokitTypes.routeMod.Route import typingsSlinky.std.Omit import typingsSlinky.std.Pick import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native trait `283` extends StObject { def apply(): js.Promise[ /* import warning: importer.ImportType#apply Failed type conversion: @octokit/types.@octokit/types/dist-types/generated/Endpoints.Endpoints['GET /orgs/:org/projects']['response'] */ js.Any ] = js.native def apply( params: RequestParameters with (Omit[ /* import warning: importer.ImportType#apply Failed type conversion: @octokit/types.@octokit/types/dist-types/generated/Endpoints.Endpoints['GET /orgs/:org/projects']['parameters'] */ js.Any, baseUrl | headers | mediaType ]) ): js.Promise[ /* import warning: importer.ImportType#apply Failed type conversion: @octokit/types.@octokit/types/dist-types/generated/Endpoints.Endpoints['GET /orgs/:org/projects']['response'] */ js.Any ] = js.native def defaults[O /* <: RequestParameters */](newDefaults: O): RequestInterface[js.Object with O] = js.native @JSName("defaults") var defaults_Original: js.Function1[ /* newDefaults */ RequestParameters, RequestInterface[js.Object with RequestParameters] ] = js.native def endpoint[R /* <: Route */, P /* <: RequestParameters */](route: R): (RequestOptions | (/* import warning: importer.ImportType#apply Failed type conversion: @octokit/types.@octokit/types/dist-types/generated/Endpoints.Endpoints[R]['request'] */ js.Any)) with (Pick[ P, /* keyof @octokit/types.@octokit/types/dist-types/RequestOptions.RequestOptions */ method | url | headers | body | request ]) = js.native def endpoint[R /* <: Route */, P /* <: RequestParameters */](route: R, parameters: P): (RequestOptions | (/* import warning: importer.ImportType#apply Failed type conversion: @octokit/types.@octokit/types/dist-types/generated/Endpoints.Endpoints[R]['request'] */ js.Any)) with (Pick[ P, /* keyof @octokit/types.@octokit/types/dist-types/RequestOptions.RequestOptions */ method | url | headers | body | request ]) = js.native /** * Transforms a GitHub REST API endpoint into generic request options * * @param {string} route Request method + URL. Example: `'GET /orgs/:org'` * @param {object} [parameters] URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. */ def endpoint[R /* <: Route */, P /* <: RequestParameters */](route: /* import warning: LimitUnionLength.leaveTypeRef Was union type with length 670 */ js.Any): (RequestOptions | (/* import warning: importer.ImportType#apply Failed type conversion: @octokit/types.@octokit/types/dist-types/generated/Endpoints.Endpoints[R]['request'] */ js.Any)) with (Pick[ P, /* keyof @octokit/types.@octokit/types/dist-types/RequestOptions.RequestOptions */ method | url | headers | body | request ]) = js.native def endpoint[R /* <: Route */, P /* <: RequestParameters */]( route: /* import warning: LimitUnionLength.leaveTypeRef Was union type with length 670 */ js.Any, parameters: P ): (RequestOptions | (/* import warning: importer.ImportType#apply Failed type conversion: @octokit/types.@octokit/types/dist-types/generated/Endpoints.Endpoints[R]['request'] */ js.Any)) with (Pick[ P, /* keyof @octokit/types.@octokit/types/dist-types/RequestOptions.RequestOptions */ method | url | headers | body | request ]) = js.native @JSName("endpoint") var endpoint_Original: EndpointInterface[Url] = js.native /** * Transforms a GitHub REST API endpoint into generic request options * * @param {object} endpoint Must set `url` unless it's set defaults. Plus URL, query or body parameters, as well as `headers`, `mediaType.{format|previews}`, `request`, or `baseUrl`. */ @JSName("endpoint") def endpoint_url[O /* <: RequestParameters */](options: O with Method with (UrlString | typingsSlinky.octokitTypes.anon.Url)): RequestOptions with (Pick[ Url with O, /* keyof @octokit/types.@octokit/types/dist-types/RequestOptions.RequestOptions */ method | url | headers | body | request ]) = js.native }
/* * Copyright 2019 ABSA Group Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed 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 za.co.absa.abris.avro import org.apache.spark.sql.Column import za.co.absa.abris.avro.read.confluent.SchemaManager import za.co.absa.abris.avro.sql.{AvroDataToCatalyst, CatalystDataToAvro, SchemaProvider} // scalastyle:off: object.name object functions { // scalastyle:on: object.name // scalastyle:off: method.name /** * Converts a binary column of avro format into its corresponding catalyst value. The specified * schema must match the read data, otherwise the behavior is undefined: it may fail or return * arbitrary result. * * @param data the binary column. * @param jsonFormatSchema the avro schema in JSON string format. * */ def from_avro(data: Column, jsonFormatSchema: String): Column = { new Column(AvroDataToCatalyst(data.expr, Some(jsonFormatSchema), None, confluentCompliant = false)) } /** * Converts a binary column of avro format into its corresponding catalyst value using schema registry. * The schema loaded from schema registry must match the read data, otherwise the behavior is undefined: * it may fail or return arbitrary result. * * @param data the binary column. * @param schemaRegistryConf schema registry configuration. * */ def from_avro(data: Column, schemaRegistryConf: Map[String,String]): Column = { new Column(sql.AvroDataToCatalyst(data.expr, None, Some(schemaRegistryConf), confluentCompliant = false)) } /** * Converts a binary column of confluent avro format into its corresponding catalyst value using schema registry. * There are two avro schemas used: writer schema and reader schema. * * The configuration you provide (naming strategy, topic, ...) is used for getting the reader schema from schema * registry. The writer schema is also loaded from the registry but it's found by the schema id that is taken from * beginning of confluent avro payload. * * @param data the binary column. * @param schemaRegistryConf schema registry configuration. * */ def from_confluent_avro(data: Column, schemaRegistryConf: Map[String,String]): Column = { new Column(sql.AvroDataToCatalyst(data.expr, None, Some(schemaRegistryConf), confluentCompliant = true)) } /** * Converts a binary column of confluent avro format into its corresponding catalyst value using schema registry. * There are two avro schemas used: writer schema and reader schema. * * The reader schema is provided as a parameter. * * The writer schema is loaded from the registry, it's found by the schema id that is taken from * beginning of confluent avro payload. * * @param data the binary column. * @param readerSchema the reader avro schema in JSON string format. * @param schemaRegistryConf schema registry configuration for getting the writer schema. * */ def from_confluent_avro(data: Column, readerSchema: String, schemaRegistryConf: Map[String,String]): Column = { new Column(sql.AvroDataToCatalyst( data.expr, Some(readerSchema), Some(schemaRegistryConf), confluentCompliant = true)) } /** * Converts a column into binary of avro format. * Schema is generated automatically. * */ def to_avro(data: Column): Column = { new Column(CatalystDataToAvro(data.expr, SchemaProvider(), None, confluentCompliant = false)) } /** * Converts a column into binary of avro format. * * @param data column to be converted to avro * @param jsonFormatSchema schema used for conversion */ def to_avro(data: Column, jsonFormatSchema: String): Column = { new Column(sql.CatalystDataToAvro(data.expr, SchemaProvider(jsonFormatSchema), None, confluentCompliant = false)) } /** * Converts a column into binary of avro format and store the used schema in schema registry. * Schema is generated automatically. * * @param data column to be converted to avro * @param schemaRegistryConf schema registry configuration */ def to_avro(data: Column, schemaRegistryConf: Map[String,String]): Column = { val name = schemaRegistryConf.get(SchemaManager.PARAM_SCHEMA_NAME_FOR_RECORD_STRATEGY) val namespace = schemaRegistryConf.get(SchemaManager.PARAM_SCHEMA_NAMESPACE_FOR_RECORD_STRATEGY) new Column(sql.CatalystDataToAvro( data.expr, SchemaProvider(name, namespace), Some(schemaRegistryConf), confluentCompliant = false)) } /** * Converts a column into binary of avro format and store the used schema in schema registry * * @param data column to be converted to avro * @param jsonFormatSchema schema used for conversion * @param schemaRegistryConf schema registry configuration */ def to_avro(data: Column, jsonFormatSchema: String, schemaRegistryConf: Map[String,String]): Column = { new Column(sql.CatalystDataToAvro( data.expr, SchemaProvider(jsonFormatSchema), Some(schemaRegistryConf), confluentCompliant = false)) } /** * Converts a column into binary of avro format, store the used schema in schema registry and prepend the schema id * to avro payload (according to confluent avro format) * Schema is generated automatically from spark catalyst data type. * * @param data column to be converted to avro * @param schemaRegistryConf schema registry configuration */ def to_confluent_avro(data: Column, schemaRegistryConf: Map[String,String]): Column = { val name = schemaRegistryConf.get(SchemaManager.PARAM_SCHEMA_NAME_FOR_RECORD_STRATEGY) val namespace = schemaRegistryConf.get(SchemaManager.PARAM_SCHEMA_NAMESPACE_FOR_RECORD_STRATEGY) new Column(sql.CatalystDataToAvro( data.expr, SchemaProvider(name, namespace), Some(schemaRegistryConf), confluentCompliant = true)) } /** * Converts a column into binary of avro format, store the used schema in schema registry and prepend the schema id * to avro payload (according to confluent avro format) * * @param data column to be converted to avro * @param schemaRegistryConf schema registry configuration */ def to_confluent_avro(data: Column, jsonFormatSchema: String, schemaRegistryConf: Map[String,String]): Column = { new Column(sql.CatalystDataToAvro( data.expr, SchemaProvider(jsonFormatSchema), Some(schemaRegistryConf), confluentCompliant = true)) } // scalastyle:on: method.name }
//Line and OP: Line 222 <SSE> //ORIGINAL: ~ adj //MUTATION: (~ adj + adj) open util/integer as integer sig Node { adj : set Node } pred undirected []{ adj = (~ adj) } pred oriented []{ no (adj & (~ adj)) } pred acyclic []{ all a : Node | a !in (a . (^ adj)) } pred complete []{ all n : Node | Node in (n . adj) } pred noLoops []{ no (iden & adj) } pred weaklyConnected []{ all n : Node | Node in ((n . (* adj)) + ((* ((~ adj) + adj)) . n)) } pred stonglyConnected []{ all n : Node | Node in (n . (* adj)) } pred transitive []{ (adj . adj) in adj } pred undirectedOK []{ adj = (~ adj) } pred orientedOK []{ no (adj & (~ adj)) } pred acyclicOK []{ all a : Node | a !in (a . (^ adj)) } pred completeOK []{ all n : Node | Node in (n . adj) } pred noLoopsOK []{ no (iden & adj) } pred weaklyConnectedOK []{ all n : Node | Node in (n . (* (adj + (~ adj)))) } pred stonglyConnectedOK []{ all n : Node | Node in (n . (* adj)) } pred transitiveOK []{ (adj . adj) in adj } assert undirectedRepaired { undirected[] <=> undirectedOK[] } assert orientedRepaired { oriented[] <=> orientedOK[] } assert acyclicRepaired { acyclic[] <=> acyclicOK[] } assert completeRepaired { complete[] <=> completeOK[] } assert noLoopsRepaired { noLoops[] <=> noLoopsOK[] } assert weaklyConnectedRepaired { weaklyConnected[] <=> weaklyConnectedOK[] } assert stonglyConnectedRepaired { stonglyConnected[] <=> stonglyConnectedOK[] } assert transitiveRepaired { transitive[] <=> transitiveOK[] } check undirectedRepaired expect 0 check orientedRepaired expect 0 check acyclicRepaired expect 0 check completeRepaired expect 0 check noLoopsRepaired expect 0 check weaklyConnectedRepaired expect 0 check stonglyConnectedRepaired expect 0 check transitiveRepaired expect 0
*Tengo 2 base de datos con diferentes variables use "C:\Users\CISS Fondecyt\OneDrive\Escritorio\do files\culorg 06-04- BD_05_02_19 (BD_22_10_18_lab_cul_org2)_post modelos_finales2.dta" desc,short *Las ordeno por Nombre de sujeto sort SbjNum desc,short tab edux tab ocux tab Edad tab A1x1_Coded_1 tab ocux codebook ocux tab(100) codebook ocux, tab(100) tab A11 codebook A1x1_Coded_1 tab expclass_naq_final_1 tab rec_expclass_CULORG_1 *Resulta que el cluster_rec es la versión no codificada de cluster_rec2. tab cluster_rec tab cluster_rec2 di 1995-1835 frame create nuevo frames dir frame rename nuevo viejo frame change nuevo frame create nuevo frames dir frame rename default viejo frame drop viejo frame rename default viejo frames dir frame change nuevo use "C:\Users\CISS Fondecyt\OneDrive\Escritorio\do files\BD_29_06_19 (BD_22_10_18_lab_cul_org2).dta" sort SbjNum desc,hort desc,short frame change viejo tab NAQ_sum_cuartil_01 tab NAQ_sum_cuartil tab LID_DES_sum_cuartil NAQ_sum_ROC2_01 tab NAQ_sum_ROC2_01 tab NAQ_sum_ROC2 drop NAQ_sum_ROC2 tab bajarecompensa_01 tab bajarecompensa tab altoesfuerzo_01 tab altoesfuerzo drop bajarecompensa_01 altoesfuerzo_01 tab jef_hogar tab jef_hogar_01 drop jef_hogar_01-acos_sex_01 tab org_sind_01 tab org_sind drop org_sind_01 tab prev3_01 tab prev3 drop prev3_01 drop _est_b1_01 tab gse_ac3_01 tab gse_ac3_01 drop superv_01-gse_ac3_01 drop cluster drop NAQ1_clus-LID_DES14_clus tab proc_res tab NAQ_sum_cuartil_01 tab NAQ_sum_cuartil frames dir frame create mas_nuevo frame change mas_nuevo *Borrar esamples drop _est_culorg_ext_c7-_est_culorg_ext_c6_FINAL_est _est_culorg_c2-_est_culorg_c8 drop _est_culorg_ext_c1 _est_b1 _est_culorg_ext_c2-_est_culorg_ext_c6 drop _est_logit-_est_CIM drop clus2_2clas
/* * Copyright 2020 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 models import play.api.libs.json.Json case class IncomingAtsError(error: String) object IncomingAtsError { implicit val formats = Json.format[IncomingAtsError] }
CREATE TABLE [BBS].[User] ( [Id] UNIQUEIDENTIFIER NOT NULL PRIMARY KEY, [Email] VARCHAR(256) NOT NULL, [Password] VARCHAR(MAX) NOT NULL, [DisplayName] VARCHAR(16) NOT NULL )
<?php namespace Symfony\Bundle\MakerBundle\Tests\tmp\current_project\src\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\MappedSuperclass() */ class BaseClient { use TeamTrait; /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string") */ private $name; /** * @ORM\ManyToOne(targetEntity=User::class) */ private $creator; /** * @ORM\Column(type="integer") */ private $magic; public function __construct() { $this->magic = 42; } public function getId() { return $this->id; } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getMagic(): ?int { return $this->magic; } public function setMagic(int $magic): self { $this->magic = $magic; return $this; } public function getCreator(): ?User { return $this->creator; } public function setCreator(?User $creator): self { $this->creator = $creator; return $this; } }
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow strict */ 'use strict'; module.exports = () => () => {};
/* Resource fork of software/extras/Iconographer Support/Testing/crashing/NIWINC1.01 */ resource 'icns' (-16455, "Programs window") { { /* array elementArray: 4 elements */ /* [1] */ 'ICN#', $"0000 0000 0000 0000 0000 0000 0000 0000" $"0000 0000 0000 0000 0000 0000 0000 0000" $"0000 0000 0000 0000 0000 0000 0000 0000" $"0000 0000 0000 0000 0000 0000 0000 0000" $"0000 0000 0000 0000 0000 0000 0000 0000" $"0000 0000 0000 0000 0000 0000 0000 0000" $"0000 0000 0000 0000 0000 0000 0000 0000" $"0000 0000 0000 0000 0000 0000 0000 0000" $"0000 0000 0380 0000 03E0 0000 03F8 0000" $"03FE 0000 03FF 8000 03FF E000 03FF F800" $"03FF FE00 03FF FF80 03FF FFE0 03FF FFE0" $"03FF FFE0 03FF FFE0 03FF FFE0 03FF FFE0" $"03FF FFE0 03FF FFE0 03FF FFE0 03FF FFE0" $"03FF FFE0 03FF FFE0 01FF FFE0 007F FFE0" $"001F FFE0 0007 FFE0 0001 FFE0 0000 7FE0" $"0000 1FE0 0000 07E0 0000 01E0 0000 0000", /* [2] */ 'icl4', $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF" $"FFFF FF00 0FFF FFFF FFFF FFFF FFFF FFFF" $"FFFF FF07 F00F FFFF FFFF FFFF FFFF FFFF" $"FFFF FF01 17F0 0FFF FFFF FFFF FFFF FFFF" $"FFFF FF01 1117 F00F FFFF FFFF FFFF FFFF" $"FFFF FF01 1111 17F0 0FFF FFFF FFFF FFFF" $"FFFF FF07 7111 1117 F00F FFFF FFFF FFFF" $"FFFF FF07 8771 1111 17F0 0FFF FFFF FFFF" $"FFFF FF07 8FF7 7111 1117 F00F FFFF FFFF" $"FFFF FF07 8FFF F771 1111 17F0 0FFF FFFF" $"FFFF FF07 8FFF FFF7 7111 1117 F00F FFFF" $"FFFF FF07 8FFF FFFF F771 1711 180F FFFF" $"FFFF FF07 8FFF FFFF FFF7 7187 180F FFFF" $"FFFF FF07 8FFF FFFF FFFF F771 180F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFF7 780F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFFF 780F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFFF 780F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFFF 780F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFFF 780F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFFF 780F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFFF 780F FFFF" $"FFFF FF07 788F FFFF FFFF FFFF 780F FFFF" $"FFFF FFF0 0778 8FFF FFFF FFFF 780F FFFF" $"FFFF FFFF F007 788F FFFF FFFF 780F FFFF" $"FFFF FFFF FFF0 0778 8FFF FFFF 780F FFFF" $"FFFF FFFF FFFF F007 788F FFFF 780F FFFF" $"FFFF FFFF FFFF FFF0 0778 8FFF 780F FFFF" $"FFFF FFFF FFFF FFFF F007 788F 780F FFFF" $"FFFF FFFF FFFF FFFF FFF0 0778 780F FFFF" $"FFFF FFFF FFFF FFFF FFFF F007 780F FFFF" $"FFFF FFFF FFFF FFFF FFFF FFF0 000F FFFF" $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF", /* [3] */ 'ics#', $"0000 0000 0000 0000 0000 0000 0000 0000" $"0000 0000 0000 0000 0000 0000 0000 0000" $"1800 1E00 1F80 1FE0 1FF8 1FFC 1FFC 1FFC" $"1FFC 1FFC 1FFC 1FFC 07FC 01FC 007C 001C", /* [4] */ 'ics4', $"FFF0 0FFF FFFF FFFF FFF0 100F FFFF FFFF" $"FFF0 1110 0FFF FFFF FFF0 7111 100F FFFF" $"FFF0 7F71 1110 0FFF FFF0 7FFF 7117 80FF" $"FFF0 7FFF FF71 10FF FFF0 7FFF FFFF 70FF" $"FFF0 7FFF FFFF 70FF FFF0 7FFF FFFF 70FF" $"FFF0 7FFF FFFF 70FF FFF0 07FF FFFF 70FF" $"FFFF F007 FFFF 70FF FFFF FFF0 07FF 70FF" $"FFFF FFFF F007 70FF FFFF FFFF FFF0 00FF" } }; resource 'icl4' (-16455, "Programs window") { $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF" $"FFFF FF00 0FFF FFFF FFFF FFFF FFFF FFFF" $"FFFF FF07 F00F FFFF FFFF FFFF FFFF FFFF" $"FFFF FF01 17F0 0FFF FFFF FFFF FFFF FFFF" $"FFFF FF01 1117 F00F FFFF FFFF FFFF FFFF" $"FFFF FF01 1111 17F0 0FFF FFFF FFFF FFFF" $"FFFF FF07 7111 1117 F00F FFFF FFFF FFFF" $"FFFF FF07 8771 1111 17F0 0FFF FFFF FFFF" $"FFFF FF07 8FF7 7111 1117 F00F FFFF FFFF" $"FFFF FF07 8FFF F771 1111 17F0 0FFF FFFF" $"FFFF FF07 8FFF FFF7 7111 1117 F00F FFFF" $"FFFF FF07 8FFF FFFF F771 1711 180F FFFF" $"FFFF FF07 8FFF FFFF FFF7 7187 180F FFFF" $"FFFF FF07 8FFF FFFF FFFF F771 180F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFF7 780F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFFF 780F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFFF 780F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFFF 780F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFFF 780F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFFF 780F FFFF" $"FFFF FF07 8FFF FFFF FFFF FFFF 780F FFFF" $"FFFF FF07 788F FFFF FFFF FFFF 780F FFFF" $"FFFF FFF0 0778 8FFF FFFF FFFF 780F FFFF" $"FFFF FFFF F007 788F FFFF FFFF 780F FFFF" $"FFFF FFFF FFF0 0778 8FFF FFFF 780F FFFF" $"FFFF FFFF FFFF F007 788F FFFF 780F FFFF" $"FFFF FFFF FFFF FFF0 0778 8FFF 780F FFFF" $"FFFF FFFF FFFF FFFF F007 788F 780F FFFF" $"FFFF FFFF FFFF FFFF FFF0 0778 780F FFFF" $"FFFF FFFF FFFF FFFF FFFF F007 780F FFFF" $"FFFF FFFF FFFF FFFF FFFF FFF0 000F FFFF" $"FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF" }; resource 'ICN#' (-16455, "Programs window") { { /* array: 2 elements */ /* [1] */ $"", /* [2] */ $"0000 0000 0380 0000 03E0 0000 03F8 0000" $"03FE 0000 03FF 8000 03FF E000 03FF F800" $"03FF FE00 03FF FF80 03FF FFE0 03FF FFE0" $"03FF FFE0 03FF FFE0 03FF FFE0 03FF FFE0" $"03FF FFE0 03FF FFE0 03FF FFE0 03FF FFE0" $"03FF FFE0 03FF FFE0 01FF FFE0 007F FFE0" $"001F FFE0 0007 FFE0 0001 FFE0 0000 7FE0" $"0000 1FE0 0000 07E0 0000 01E0" } }; resource 'ics4' (-16455, "Programs window") { $"FFF0 0FFF FFFF FFFF FFF0 100F FFFF FFFF" $"FFF0 1110 0FFF FFFF FFF0 7111 100F FFFF" $"FFF0 7F71 1110 0FFF FFF0 7FFF 7117 80FF" $"FFF0 7FFF FF71 10FF FFF0 7FFF FFFF 70FF" $"FFF0 7FFF FFFF 70FF FFF0 7FFF FFFF 70FF" $"FFF0 7FFF FFFF 70FF FFF0 07FF FFFF 70FF" $"FFFF F007 FFFF 70FF FFFF FFF0 07FF 70FF" $"FFFF FFFF F007 70FF FFFF FFFF FFF0 00FF" }; resource 'ics#' (-16455, "Programs window") { { /* array: 2 elements */ /* [1] */ $"", /* [2] */ $"1800 1E00 1F80 1FE0 1FF8 1FFC 1FFC 1FFC" $"1FFC 1FFC 1FFC 1FFC 07FC 01FC 007C 001C" } };
struct Book { 1: string name, 2: double price = 1, } const double value1 = 3; const double value2 = 3.1; const double value3 = 1e5; const double value4 = -1.5e-5 const double value5 = +1.5E+5 const double value6 = .13;
package yarm_app import grails.test.mixin.TestFor import spock.lang.Specification /** * See the API for {@link grails.test.mixin.web.GroovyPageUnitTestMixin} for usage instructions */ @TestFor(YarmTagLib) class YarmTagLibSpec extends Specification { def setup() { } def cleanup() { } void "test something"() { expect:"fix me" true == false } }
import express from "express"; import { PokemonController } from "../controller/PokemonController"; export const pokemonRouter = express.Router(); const pokemonController = new PokemonController(); pokemonRouter.get("/all", pokemonController.getPokemonController); pokemonRouter.get("/:id", pokemonController.getPokemonByIdController); pokemonRouter.get("/query/filtros", pokemonController.getPokemonFilterOrderPageController);
#!/bin/bash # Start Gunicorn processes echo Starting Gunicorn # run the created app from run.py exec gunicorn run:app \ --name animoos \ --bind 0.0.0.0:5999 \ --worker-class gevent \ --workers 3 \ # add env_var # --env APP_NAME=$APP_NAME \
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from msrest.serialization import Model class RoleDefinition(Model): """Role definition. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: The role definition ID. :vartype id: str :ivar name: The role definition name. :vartype name: str :ivar type: The role definition type. :vartype type: str :param role_name: The role name. :type role_name: str :param description: The role definition description. :type description: str :param role_type: The role type. :type role_type: str :param permissions: Role definition permissions. :type permissions: list[~rbac.models.Permission] :param assignable_scopes: Role definition assignable scopes. :type assignable_scopes: list[str] """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'role_name': {'key': 'properties.roleName', 'type': 'str'}, 'description': {'key': 'properties.description', 'type': 'str'}, 'role_type': {'key': 'properties.type', 'type': 'str'}, 'permissions': {'key': 'properties.permissions', 'type': '[Permission]'}, 'assignable_scopes': {'key': 'properties.assignableScopes', 'type': '[str]'}, } def __init__(self, **kwargs): super(RoleDefinition, self).__init__(**kwargs) self.id = None self.name = None self.type = None self.role_name = kwargs.get('role_name', None) self.description = kwargs.get('description', None) self.role_type = kwargs.get('role_type', None) self.permissions = kwargs.get('permissions', None) self.assignable_scopes = kwargs.get('assignable_scopes', None)
syntax = "proto3"; package Ydb.Coordination.V1; option java_package = "com.yandex.ydb.coordination.v1"; option java_outer_classname = "CoordinationGrpc"; option java_multiple_files = true; import "kikimr/public/api/protos/ydb_coordination.proto"; service CoordinationService { /** * Bidirectional stream used to establish a session with a coordination node * * Relevant APIs for managing semaphores, distributed locking, creating or * restoring a previously established session are described using nested * messages in SessionRequest and SessionResponse. Session is established * with a specific coordination node (previously created using CreateNode * below) and semaphores are local to that coordination node. */ rpc Session(stream Coordination.SessionRequest) returns (stream Coordination.SessionResponse); // Creates a new coordination node rpc CreateNode(Coordination.CreateNodeRequest) returns (Coordination.CreateNodeResponse); // Modifies settings of a coordination node rpc AlterNode(Coordination.AlterNodeRequest) returns (Coordination.AlterNodeResponse); // Drops a coordination node rpc DropNode(Coordination.DropNodeRequest) returns (Coordination.DropNodeResponse); // Describes a coordination node rpc DescribeNode(Coordination.DescribeNodeRequest) returns (Coordination.DescribeNodeResponse); }
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>安吉朗œ—-后台管理系统Ÿ</title> <link href="<c:url value='/managers/css/bootstrap.min.css' />" rel="stylesheet"> <link href="<c:url value='/managers/css/datepicker3.css' />" rel="stylesheet"> <link href="<c:url value='/managers/css/bootstrap-table.css' />" rel="stylesheet"> <link href="<c:url value='/managers/css/styles.css' />" rel="stylesheet"> <!--[if lt IE 9]> <script src="js/html5shiv.js"></script> <script src="js/respond.min.js"></script> <![endif]--> <script type="text/javascript"> function deleteObj(){ $("#body").submit(); } </script> </head> <body> <!-- start head --> <%@ include file="../common/head.jsp" %> <!-- end head --> <!-- start head --> <%@ include file="../common/left.jsp" %> <!-- end head --> <div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main"> <div class="row"> <div class="col-lg-12"> <div class="panel panel-default"> <div class="panel-heading">友情链接列表 <a href="<c:url value='/managers/friendlink/add.jsp' />" class="btn btn-primary" style="position: relative;float: right;margin:10px;">添加</a> <a href="#" onclick="deleteObj()" class="btn btn-primary" style="position: relative;float: right;margin:10px;">删除</a> </div> <form action="<c:url value='/friendLink/delete.do' />" id="body" name="body" method="post"> <div class="panel-body"> <table data-toggle="table" data-url="<c:url value='/friendLink/queryAjax.do' />" data-show-refresh="true" data-show-toggle="true" data-show-columns="true" data-search="true" data-select-item-name="id" data-pagination="true" data-sort-name="name" data-sort-order="desc" data-id-field="id"> <thead> <tr> <th data-field="ids" data-checkbox="true" ></th> <th data-field="id" data-visible="false"></th> <th data-field="title" data-sortable="true">标题</th> <th data-field="url" data-sortable="true">url地址</th> <th data-field="operate" data-formatter="operateFormatter" data-events="operateEvents">操作</th> </tr> </thead> </table> </div> </form> </div> </div> </div><!--/.row--> </div> <script src="<c:url value='/managers/js/jquery-1.11.1.min.js' />"></script> <script src="<c:url value='/managers/js/bootstrap.min.js' />"></script> <script src="<c:url value='/managers/js/chart.min.js' />"></script> <script src="<c:url value='/managers/js/chart-data.js' />"></script> <script src="<c:url value='/managers/js/easypiechart.js' />"></script> <script src="<c:url value='/managers/js/easypiechart-data.js' />"></script> <script src="<c:url value='/managers/js/bootstrap-datepicker.js' />"></script> <script src="<c:url value='/managers/js/bootstrap-table.js' />"></script> <script> !function ($) { $(document).on("click","ul.nav li.parent > a > span.icon", function(){ $(this).find('em:first').toggleClass("glyphicon-minus"); }); $(".sidebar span.icon").find('em:first').addClass("glyphicon-plus"); }(window.jQuery); $(window).on('resize', function () { if ($(window).width() > 768) $('#sidebar-collapse').collapse('show') }) $(window).on('resize', function () { if ($(window).width() <= 767) $('#sidebar-collapse').collapse('hide') }) </script> <script> function operateFormatter(value, row, index) { return [ '<a class="edit ml10" href="javascript:void(0)" title="编辑">', '<i class="glyphicon glyphicon-edit" style="margin:10px;"></i>', '</a>', ].join(''); } window.operateEvents = { 'click .edit': function (e, value, row, index) { var id=row["id"]; window.location.href="<c:url value='/friendLink/toEdit.do?id="+id+"' />"; } }; </script> </body> </html>
Class { #name : #DelphiForInStatementNode, #superclass : #DelphiStatementNode, #instVars : [ 'forToken', 'variable', 'inToken', 'fromExpr', 'doToken', 'statement' ], #category : #'SmaCC_Delphi' } { #category : #generated } DelphiForInStatementNode >> acceptVisitor: aProgramVisitor [ ^ aProgramVisitor visitForInStatement: self ] { #category : #generated } DelphiForInStatementNode >> doToken [ ^ doToken ] { #category : #generated } DelphiForInStatementNode >> doToken: aSmaCCToken [ doToken := aSmaCCToken ] { #category : #generated } DelphiForInStatementNode >> forToken [ ^ forToken ] { #category : #generated } DelphiForInStatementNode >> forToken: aSmaCCToken [ forToken := aSmaCCToken ] { #category : #generated } DelphiForInStatementNode >> fromExpr [ ^ fromExpr ] { #category : #generated } DelphiForInStatementNode >> fromExpr: aDelphiExpressionNode [ self fromExpr notNil ifTrue: [ self fromExpr parent: nil ]. fromExpr := aDelphiExpressionNode. self fromExpr notNil ifTrue: [ self fromExpr parent: self ] ] { #category : #generated } DelphiForInStatementNode >> inToken [ ^ inToken ] { #category : #generated } DelphiForInStatementNode >> inToken: aSmaCCToken [ inToken := aSmaCCToken ] { #category : #generated } DelphiForInStatementNode >> nodeVariables [ ^ #(#variable #fromExpr #statement) ] { #category : #generated } DelphiForInStatementNode >> statement [ ^ statement ] { #category : #generated } DelphiForInStatementNode >> statement: aDelphiStatementNode [ self statement notNil ifTrue: [ self statement parent: nil ]. statement := aDelphiStatementNode. self statement notNil ifTrue: [ self statement parent: self ] ] { #category : #generated } DelphiForInStatementNode >> tokenVariables [ ^ #(#forToken #inToken #doToken) ] { #category : #generated } DelphiForInStatementNode >> variable [ ^ variable ] { #category : #generated } DelphiForInStatementNode >> variable: aDelphiVariableExpressionNode [ self variable notNil ifTrue: [ self variable parent: nil ]. variable := aDelphiVariableExpressionNode. self variable notNil ifTrue: [ self variable parent: self ] ]
import { toAddress, toBigNumber, toBinary } from "@rarible/types" import { createGanacheProvider } from "@rarible/ethereum-sdk-test-common" import { createTestProviders } from "../common/create-test-providers" import { assetTypeToStruct } from "./asset-type-to-struct" const { provider, wallets } = createGanacheProvider() const { providers } = createTestProviders(provider, wallets[0]) describe.each(providers)("assetTypeToStruct", ethereum => { test("encodes ERC20", () => { const result = assetTypeToStruct(ethereum, { assetClass: "ERC20", contract: toAddress("0x44953ab2e88391176576d49ca23df0b8acd793be"), }) expect(result).toStrictEqual({ assetClass: "0x8ae85d84", data: "0x00000000000000000000000044953ab2e88391176576d49ca23df0b8acd793be", }) }) test("encodes GEN_ART", () => { const result = assetTypeToStruct(ethereum, { assetClass: "GEN_ART", contract: toAddress("0x44953ab2e88391176576d49ca23df0b8acd793be"), }) expect(result).toStrictEqual({ assetClass: "0xa8c6716e", data: "0x00000000000000000000000044953ab2e88391176576d49ca23df0b8acd793be", }) }) test("encodes ERC721_LAZY", () => { const result = assetTypeToStruct(ethereum, { assetClass: "ERC721_LAZY", ...COMMON_PART, }) expect(result).toStrictEqual({ assetClass: "0xd8f960c1", data: "0x00000000000000000000000044953ab2e88391176576d49ca23df0b8acd793be0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000000047465737400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000044953ab2e88391176576d49ca23df0b8acd793be000000000000000000000000000000000000000000000000000000000000006400000000000000000000000044953ab2e88391176576d49ca23df0b8acd793be0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000200000000000000000000000044953ab2e88391176576d49ca23df0b8acd793be000000000000000000000000000000000000000000000000000000000000006400000000000000000000000044953ab2e88391176576d49ca23df0b8acd793be0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000", }) }) test("encodes ERC1155_LAZY", () => { const result = assetTypeToStruct(ethereum, { assetClass: "ERC1155_LAZY", ...COMMON_PART, supply: toBigNumber("10"), }) expect(result).toStrictEqual({ assetClass: "0x1cdfaa40", data: "0x00000000000000000000000044953ab2e88391176576d49ca23df0b8acd793be0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000000047465737400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000044953ab2e88391176576d49ca23df0b8acd793be000000000000000000000000000000000000000000000000000000000000006400000000000000000000000044953ab2e88391176576d49ca23df0b8acd793be0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000200000000000000000000000044953ab2e88391176576d49ca23df0b8acd793be000000000000000000000000000000000000000000000000000000000000006400000000000000000000000044953ab2e88391176576d49ca23df0b8acd793be0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000", }) }) }) const COMMON_PART = { contract: toAddress("0x44953ab2e88391176576d49ca23df0b8acd793be"), tokenId: toBigNumber("10"), uri: "test", royalties: [ { account: toAddress("0x44953ab2e88391176576d49ca23df0b8acd793be"), value: 100 }, { account: toAddress("0x44953ab2e88391176576d49ca23df0b8acd793be"), value: 100 }, ], creators: [ { account: toAddress("0x44953ab2e88391176576d49ca23df0b8acd793be"), value: 100 }, { account: toAddress("0x44953ab2e88391176576d49ca23df0b8acd793be"), value: 100 }, ], signatures: [toBinary("0x")], }
/* * 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. */ grammar CommonDistSQLStatement; import Symbol, RALStatement, RDLStatement, RQLStatement; execute : (addResource | alterResource | dropResource | showResources | setVariable | showVariable | showAllVariables | clearHint | enableInstance | disableInstance | showInstance | showSingleTable | showSingleTableRules | createDefaultSingleTableRule | alterDefaultSingleTableRule | dropDefaultSingleTableRule | refreshTableMetadata | showSQLParserRule | showAuthorityRule | showTransactionRule ) SEMI? ;
\documentclass{article} \usepackage{agda} \begin{document} \begin{code} {-# OPTIONS --no-positivity-check --no-termination-check #-} \end{code} \end{document}
<?php namespace App\Events; use App\User; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; class Hello implements ShouldBroadcast { use Dispatchable, InteractsWithSockets, SerializesModels; public $user; public $roomId; /** * Create a new event instance. * * @return void */ public function __construct($roomId) { $this->user = auth()->user(); $this->roomId = $roomId; } /** * Get the channels the event should broadcast on. * * @return \Illuminate\Broadcasting\Channel|array */ public function broadcastOn() { return new PresenceChannel('room.'.$this->roomId); } }
package auth import ( "errors" "fmt" "sync" log "github.com/golang/glog" "github.com/mesos/mesos-go/api/v0/auth/callback" "golang.org/x/net/context" ) // SPI interface: login provider implementations support this interface, clients // do not authenticate against this directly, instead they should use Login() type Authenticatee interface { // Returns no errors if successfully authenticated, otherwise a single // error. Authenticate(ctx context.Context, handler callback.Handler) error } // Func adapter for interface: allow func's to implement the Authenticatee interface // as long as the func signature matches type AuthenticateeFunc func(ctx context.Context, handler callback.Handler) error func (f AuthenticateeFunc) Authenticate(ctx context.Context, handler callback.Handler) error { return f(ctx, handler) } var ( // Authentication was attempted and failed (likely due to incorrect credentials, too // many retries within a time window, etc). Distinctly different from authentication // errors (e.g. network errors, configuration errors, etc). AuthenticationFailed = errors.New("authentication failed") authenticateeProviders = make(map[string]Authenticatee) // authentication providers dict providerLock sync.Mutex ) // Register an authentication provider (aka "login provider"). packages that // provide Authenticatee implementations should invoke this func in their // init() to register. func RegisterAuthenticateeProvider(name string, auth Authenticatee) (err error) { providerLock.Lock() defer providerLock.Unlock() if _, found := authenticateeProviders[name]; found { err = fmt.Errorf("authentication provider already registered: %v", name) } else { authenticateeProviders[name] = auth log.V(1).Infof("registered authentication provider: %v", name) } return } // Look up an authentication provider by name, returns non-nil and true if such // a provider is found. func getAuthenticateeProvider(name string) (provider Authenticatee, ok bool) { providerLock.Lock() defer providerLock.Unlock() provider, ok = authenticateeProviders[name] return }
vlib work vlib riviera vlib riviera/xil_defaultlib vlib riviera/xpm vlib riviera/blk_mem_gen_v8_4_3 vmap xil_defaultlib riviera/xil_defaultlib vmap xpm riviera/xpm vmap blk_mem_gen_v8_4_3 riviera/blk_mem_gen_v8_4_3 vlog -work xil_defaultlib -sv2k12 \ "C:/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_cdc/hdl/xpm_cdc.sv" \ "C:/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv" \ vcom -work xpm -93 \ "C:/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_VCOMP.vhd" \ vlog -work blk_mem_gen_v8_4_3 -v2k5 \ "../../../ipstatic/simulation/blk_mem_gen_v8_4.v" \ vlog -work xil_defaultlib -v2k5 \ "../../../../vga_output.srcs/sources_1/ip/wall_rom/sim/wall_rom.v" \ vlog -work xil_defaultlib \ "glbl.v"
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
\subsection{父母参战} 文化节第二天,周他们的排班是下午开始,中午前都是空闲的……\\ 「好久不来母校了,还是老样子啊,整修是整修过,但氛围没怎么变」\\ 修斗微笑着站在入口前面,仰望着教学楼自言自语。上次见到他是在夏天。在他旁边,志保子紧靠着他,露出沉稳的笑容说道「开学典礼之后就没来过了吧」。\\ 两人恩恩爱爱的,一如既往。周是习惯了,但周围人的目光却被吸引了过去。周有点想装作无关人士离开,当然,真昼靠在他的胳膊上阻止着他。 她焦糖色的视线变得温暖,似乎是在表达「放弃吧」,令周感到很有压力。\\ 「……那个,我们能不能不要一起逛?」 「哎呀,几个月没见就这么说话吗,真不乖」 「这年头哪还有和父母一起逛的」 「怎么没有……啊,讨厌和父母在一起,这是青春期常见的叛逆吗」 「不是讨厌……是这样太显眼了吧」\\ 目前就已经很显眼了。 哪怕不偏袒,两人也显得年轻,散发出般配夫妻的气质,会亲热到这个地步的老夫老妻也是少有的。\\ 如果同学看见,而后估计会捉弄周,可以的话,周不想和父母一起行动。\\ 真昼却是相反,她的父母没有参加过学校活动,或许是志保子和修斗的来临让她感到欢喜,看她的样子是想要一起逛。\\ 既然了解真昼的背景,忽视她的小愿望就会带来负罪感,周也愿意自己忍着而让她开心——但羞耻的事情终究还是羞耻的。\\ 「……说什么显眼啊,你们就够显眼了吧」\\ 志保子小声说完,看向靠在一起的周和真昼,满意地笑了起来。 周隐隐约约能明白,那笑容里含着欣慰和让他更进一步的鼓舞,他脸上差点抽搐。\\ 「……可是学生和父母在一起,父母会更显眼」 「话是这么说,反正都显眼了也没差嘛。倒是你们在秀恩爱吧?」 「没有秀……算了,那什么,是要逛模拟店铺吧,我们中午开始排班,要逛就快点」 「哎,你跟着来吗?」 「我跟着给你们踩刹车」 「难说,没准你们两个更亲热?修斗你说是吧」 「哈哈,是啊是啊」\\ 修斗柔和地笑个不停,让周扶额轻轻叹气。 和志保子不同,修斗不捉弄人,却由于没法强烈地拒绝或否定而难以对付。坚决反驳只会自讨没趣,事实上也无从反驳。\\ 「……所以说,你们想去哪里?」 「这个啊,下午才能看到你们干活吧?去掉那个的话,唔……难得一来,就去看看卖手工艺品的店吧。手册上说,手工社和工艺社有开店的」 「带你们去那里就好了吧」\\ 总之,最好还是尽快满足父母的要求。\\ 呆在这里也只会白白引人注意,周到头来还是妥协了,把手绕到乐呵呵看着他的真昼背后,轻轻推了推以做提醒,然后进入了教学楼。
object Form1: TForm1 Left = 0 Top = 0 Caption = 'Form1' ClientHeight = 441 ClientWidth = 624 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'Tahoma' Font.Style = [] Padding.Left = 6 Padding.Top = 6 Padding.Right = 6 Padding.Bottom = 6 OldCreateOrder = False OnClose = FormClose OnCloseQuery = FormCloseQuery PixelsPerInch = 96 TextHeight = 13 object Panel1: TPanel Left = 6 Top = 6 Width = 612 Height = 35 Align = alTop BevelOuter = bvNone TabOrder = 0 object TaskBtn: TButton Left = 8 Top = 6 Width = 75 Height = 25 Caption = 'Task' TabOrder = 0 OnClick = TaskBtnClick end end object Memo: TMemo Left = 129 Top = 41 Width = 489 Height = 359 Align = alClient TabOrder = 1 end object Panel2: TPanel Left = 6 Top = 400 Width = 612 Height = 35 Align = alBottom Caption = 'Panel2' ShowCaption = False TabOrder = 2 object ProgressLabel: TLabel Left = 172 Top = 12 Width = 67 Height = 13 Caption = 'ProgressLabel' end object ProgressBar: TProgressBar Left = 8 Top = 8 Width = 150 Height = 17 TabOrder = 0 end end object ListView: TListView Left = 6 Top = 41 Width = 123 Height = 359 Align = alLeft Columns = <> TabOrder = 3 end end
package Paws::Glue::StartExportLabelsTaskRunResponse; use Moose; has TaskRunId => (is => 'ro', isa => 'Str'); has _request_id => (is => 'ro', isa => 'Str'); ### main pod documentation begin ### =head1 NAME Paws::Glue::StartExportLabelsTaskRunResponse =head1 ATTRIBUTES =head2 TaskRunId => Str The unique identifier for the task run. =head2 _request_id => Str =cut 1;
/** * SmartThings REST API * * Copyright 2019 Julian Werfel * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at: * * https://opensource.org/licenses/MIT * * 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. * */ definition( name: "REST API", namespace: "jwerfel.smartthingsrest", author: "Julian Werfel", description: "SmartThings REST API", category: "SmartThings Labs", iconUrl: "https://s3.amazonaws.com/smartapp-icons/Convenience/Cat-Convenience.png", iconX2Url: "https://s3.amazonaws.com/smartapp-icons/Convenience/Cat-Convenience@2x.png", iconX3Url: "https://s3.amazonaws.com/smartapp-icons/Convenience/Cat-Convenience@2x.png", oauth: [displayName: "SmartThings REST API", displayLink: ""] ) mappings { path("/devices") { action: [ GET: "listDevices" ] } path("/device/:id") { action: [ GET: "deviceDetails" ] } path("/device/:id/attribute/:name") { action: [ GET: "deviceGetAttributeValue" ] } path("/device/:id/attributes") { action: [ GET: "deviceGetAttributes" ] } path("/devices/attribute/:name") { action: [ GET: "deviceGetAttributeValueForDevices" ] } path("/devices/attributes") { action: [ GET: "devicesGetAttributes" ] } path("/device/:id/command/:name") { action: [ POST: "deviceCommand" ] } path("/device/status/:id") { action: [ GET: "deviceStatus" ] } path("/devices/statuses") { action: [ GET: "devicesStatuses" ] } path("/device/events/:id") { action: [ GET: "deviceEvents" ] } path("/test") { action: [ GET: "test" ] } path("/routines") { action: [ GET: "getRoutines" ] } path("/routine") { action: [ POST: "executeRoutine" ] } path("/modes") { action: [ GET: "getModes" ] } path("/mode") { action: [ GET: "getCurrentMode", POST: "setCurrentMode" ] } } preferences { section() { input "devices", "capability.actuator", title: "Devices", multiple: true, required: false input "sensors", "capability.sensor", title: "Sensors", multiple: true, required: false input "temperatures", "capability.temperatureMeasurement", title: "Temperatures", multiple: true, required: false input "presenceSensor", "capability.presenceSensor", title: "Presence", multiple: true, required: false input "switches", "capability.switch", title: "Switches", multiple: true, required: false } } def installed() { log.debug "Installed with settings: ${settings}" initialize() } def updated() { log.debug "Updated with settings: ${settings}" unsubscribe() initialize() } def initialize() { } def listDevices() { def resp = [] devices.each { resp << [ id: it.id, label: it.label, manufacturerName: it.manufacturerName, modelName: it.modelName, name: it.name, displayName: it.displayName ] } sensors.each { resp << [ id: it.id, label: it.label, manufacturerName: it.manufacturerName, modelName: it.modelName, name: it.name, displayName: it.displayName ] } temperatures.each { resp << [ id: it.id, label: it.label, manufacturerName: it.manufacturerName, modelName: it.modelName, name: it.name, displayName: it.displayName ] } presenceSensor.each { resp << [ id: it.id, label: it.label, manufacturerName: it.manufacturerName, modelName: it.modelName, name: it.name, displayName: it.displayName ] } switches.each{ resp << [ id: it.id, label: it.label, manufacturerName: it.manufacturerName, modelName: it.modelName, name: it.name, displayName: it.displayName ] } return resp } def deviceDetails() { def device = getDeviceById(params.id) def supportedAttributes = [] device.supportedAttributes.each { supportedAttributes << it.name } def supportedCommands = [] device.supportedCommands.each { def arguments = [] it.arguments.each { arg -> arguments << "" + arg } supportedCommands << [ name: it.name, arguments: arguments ] } return [ id: device.id, label: device.label, manufacturerName: device.manufacturerName, modelName: device.modelName, name: device.name, displayName: device.displayName, supportedAttributes: supportedAttributes, supportedCommands: supportedCommands ] } def devicesGetAttributes() { def resp = []; def devicesString = params.devices; def attributesString = params.attributes; def deviceIds = devicesString.split(','); def attributeNames = attributesString.split(','); def lastEvent = false; def lastEventParam = params.lastEvent; log.info("LogEventParam: "+ logEventParam); if(lastEventParam == 'true') lastEvent = true; deviceIds.each {d -> def device = getDeviceById(d); if(device != null) { def deviceStatus = device.getStatus(); def lastActivity = device.getLastActivity(); def mostRecentEvent = null; def mostRecentEventDate = null; if(lastEvent == true) { def deviceEvents = device.events(max: 1); if(deviceEvents.size() > 0) { //mostRecentEvent = deviceEvents[0].name + " - " +deviceEvents[0].stringValue; mostRecentEvent = deviceEvents[0].stringValue; mostRecentEventDate = deviceEvents[0].date; } } attributeNames.each {a -> def value = device.currentValue(a); resp << [ id: d, name: a, value: value, deviceStatus: deviceStatus, lastActivity: lastActivity, mostRecentEvent: mostRecentEvent, mostRecentEventDate: mostRecentEventDate ] } } else { log.warn("Could not find device " + d); } } return resp; } def deviceGetAttributeValueForDevices() { def resp = [] def args = params.arg //log.info("Args: " + args); def deviceIds = args.split(','); //log.info("deviceIds: " + deviceIds); def name = params.name //log.info("ParamName: " + name); deviceIds.each { def device = getDeviceById(it); if(device != null) { def value = device.currentValue(name); resp << [ id: it, value: value ] } else { log.warn("Could not find device " + it); } } return resp; } def deviceGetAttributeValue() { def device = getDeviceById(params.id) def name = params.name def value = device.currentValue(name); return [ value: value ] } def deviceGetAttributes() { def device = getDeviceById(params.id); def args = params.arg; def attributes = args.split(','); def resp = []; attributes.each { def value = device.currentValue(it); resp << [ name: it, value: value ] } return resp; } def deviceStatus() { def device = getDeviceById(params.id) //log.warn("Getting status for device: " + device); def status = device.getStatus(); //log.warn("Status for device is: " + status); return [ value: status ] } def devicesStatuses() { def resp = [] def args = params.devices def deviceIds = args.split(','); deviceIds.each { def device = getDeviceById(it); if(device != null) { def value = device.getStatus(); resp << [ id: it, value: value ] } else { log.warn("Could not find device " + it); } } return resp; } def deviceCommand() { def device = getDeviceById(params.id) def name = params.name def args = params.arg def isIntParam = params.isInt; def isInt = false; if("true".equalsIgnoreCase(isIntParam)) { isInt = true; } if (args == null) { args = [] } else if (args instanceof String) { args = [args] } log.debug "device command: ${name} ${args}" switch(args.size) { case 0: device."$name"() break; case 1: //log.debug("Arg0 value: " + args[0]); def val = args[0]; if(isInt) { int num = args[0] as Integer device."$name"(num) } else { device."$name"(args[0]) } //device.setCoolingSetpoint(args[0]); break; case 2: device."$name"(args[0], args[1]) break; default: throw new Exception("Unhandled number of args") } } def deviceEvents() { def numEvents = 20 def lastEvent = params.lastEvent; def device = getDeviceById(params.id); def events = null; if(lastEvent == null) { events = device.events(); } else { // date: "2019-07-08T14:20:06Z" //def dateFormat = new java.util.SimpleDateFormat("yyyy-mm-ddThh:mm:ssZ"); log.debug("Parsing date: " + lastEvent); //def date = Date.parse("yyyy-mm-ddThh:mm:ssZ", lastEvent);// dateFormat.parse(dateFormat); def date = Date.parse("yyyy-MM-dd HH:mm:ss z", lastEvent);// dateFormat.parse(dateFormat); log.debug("Parsed date is: "+ date); def endDate = new Date() - 10; // only 7 days should exist, log.debug("Searching for events between [" + endDate + "] and [" + date + "]"); events = device.eventsBetween(endDate, date); //events = device.eventsBetween(date, endDate, [max: 5]); log.debug("Found [" + events.size() +"] in range"); } if(events.size() > 0) { def last = events.size() - 1; log.debug("Event[" + last + "].date = " + events.get(last).date); } //log.debug("Got [" + events.size() + "] events"); def resp = []; events.each { resp << [ stringValue: it.stringValue, source: it.source, name: it.name, descriptionText: it.descriptionText, date: it.date, description: it.description, //jsonValue: it.jsonValue, value: it.value, linkText: it.linkText ] } return resp; } def getRoutines() { def actions = location.helloHome?.getPhrases()*.label; return actions; } def executeRoutine(){ def name = params.name; log.info("Executing routine: " + name); location.helloHome?.execute(name) } def getModes() { return location.modes } def getCurrentMode() { return getModes()?.find {it.name == location.mode} } def setCurrentMode() { def mode = request?.JSON; log.info("Executing setModes mode: " + mode); if (mode && mode.id) { def found = getModes()?.find {it.name == location.mode}; if (found) { log.info("setModes found: " + found); setLocationMode(found); } } } def test() { /* if(location != null) console.log("Location not null"); def helloHome = location.helloHome; if(helloHome != null) console.log("Hello Home: " + helloHome); */ def actions = location.helloHome?.getPhrases()*.label; //console.log("Actions: " + actions); //console.log("Got [" + actions.size() + "] actions"); /* actions.each { console.log("Action: " + it); }*/ return actions; } def getDeviceById(id) { def device = devices.find { it.id == id } if(device == null) device = sensors.find{it.id == id} if(device == null) device = temperatures.find{it.id == id} if(device == null) device = presenceSensor.find{it.id == id} if(device == null) device = switches.find{it.id == id} return device; }
%!PS-Adobe-2.0 EPSF-1.2 %%Creator: idraw %%DocumentFonts: Helvetica %%Pages: 1 %%BoundingBox: 57 428 546 582 %%EndComments %%BeginIdrawPrologue /arrowhead { 0 begin transform originalCTM itransform /taily exch def /tailx exch def transform originalCTM itransform /tipy exch def /tipx exch def /dy tipy taily sub def /dx tipx tailx sub def /angle dx 0 ne dy 0 ne or { dy dx atan } { 90 } ifelse def gsave originalCTM setmatrix tipx tipy translate angle rotate newpath arrowHeight neg arrowWidth 2 div moveto 0 0 lineto arrowHeight neg arrowWidth 2 div neg lineto patternNone not { originalCTM setmatrix /padtip arrowHeight 2 exp 0.25 arrowWidth 2 exp mul add sqrt brushWidth mul arrowWidth div def /padtail brushWidth 2 div def tipx tipy translate angle rotate padtip 0 translate arrowHeight padtip add padtail add arrowHeight div dup scale arrowheadpath ifill } if brushNone not { originalCTM setmatrix tipx tipy translate angle rotate arrowheadpath istroke } if grestore end } dup 0 9 dict put def /arrowheadpath { newpath arrowHeight neg arrowWidth 2 div moveto 0 0 lineto arrowHeight neg arrowWidth 2 div neg lineto } def /leftarrow { 0 begin y exch get /taily exch def x exch get /tailx exch def y exch get /tipy exch def x exch get /tipx exch def brushLeftArrow { tipx tipy tailx taily arrowhead } if end } dup 0 4 dict put def /rightarrow { 0 begin y exch get /tipy exch def x exch get /tipx exch def y exch get /taily exch def x exch get /tailx exch def brushRightArrow { tipx tipy tailx taily arrowhead } if end } dup 0 4 dict put def %%EndIdrawPrologue /arrowHeight 11 def /arrowWidth 5 def /IdrawDict 51 dict def IdrawDict begin /reencodeISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding ISOLatin1Encoding def currentdict end definefont } def /ISOLatin1Encoding [ /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef /space/exclam/quotedbl/numbersign/dollar/percent/ampersand/quoteright /parenleft/parenright/asterisk/plus/comma/minus/period/slash /zero/one/two/three/four/five/six/seven/eight/nine/colon/semicolon /less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N /O/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright /asciicircum/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m /n/o/p/q/r/s/t/u/v/w/x/y/z/braceleft/bar/braceright/asciitilde /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef /.notdef/dotlessi/grave/acute/circumflex/tilde/macron/breve /dotaccent/dieresis/.notdef/ring/cedilla/.notdef/hungarumlaut /ogonek/caron/space/exclamdown/cent/sterling/currency/yen/brokenbar /section/dieresis/copyright/ordfeminine/guillemotleft/logicalnot /hyphen/registered/macron/degree/plusminus/twosuperior/threesuperior /acute/mu/paragraph/periodcentered/cedilla/onesuperior/ordmasculine /guillemotright/onequarter/onehalf/threequarters/questiondown /Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla /Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex /Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis /multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute /Thorn/germandbls/agrave/aacute/acircumflex/atilde/adieresis /aring/ae/ccedilla/egrave/eacute/ecircumflex/edieresis/igrave /iacute/icircumflex/idieresis/eth/ntilde/ograve/oacute/ocircumflex /otilde/odieresis/divide/oslash/ugrave/uacute/ucircumflex/udieresis /yacute/thorn/ydieresis ] def /Helvetica reencodeISO def /none null def /numGraphicParameters 17 def /stringLimit 65535 def /Begin { save numGraphicParameters dict begin } def /End { end restore } def /SetB { dup type /nulltype eq { pop false /brushRightArrow idef false /brushLeftArrow idef true /brushNone idef } { /brushDashOffset idef /brushDashArray idef 0 ne /brushRightArrow idef 0 ne /brushLeftArrow idef /brushWidth idef false /brushNone idef } ifelse } def /SetCFg { /fgblue idef /fggreen idef /fgred idef } def /SetCBg { /bgblue idef /bggreen idef /bgred idef } def /SetF { /printSize idef /printFont idef } def /SetP { dup type /nulltype eq { pop true /patternNone idef } { dup -1 eq { /patternGrayLevel idef /patternString idef } { /patternGrayLevel idef } ifelse false /patternNone idef } ifelse } def /BSpl { 0 begin storexyn newpath n 1 gt { 0 0 0 0 0 0 1 1 true subspline n 2 gt { 0 0 0 0 1 1 2 2 false subspline 1 1 n 3 sub { /i exch def i 1 sub dup i dup i 1 add dup i 2 add dup false subspline } for n 3 sub dup n 2 sub dup n 1 sub dup 2 copy false subspline } if n 2 sub dup n 1 sub dup 2 copy 2 copy false subspline patternNone not brushLeftArrow not brushRightArrow not and and { ifill } if brushNone not { istroke } if 0 0 1 1 leftarrow n 2 sub dup n 1 sub dup rightarrow } if end } dup 0 4 dict put def /Circ { newpath 0 360 arc closepath patternNone not { ifill } if brushNone not { istroke } if } def /CBSpl { 0 begin dup 2 gt { storexyn newpath n 1 sub dup 0 0 1 1 2 2 true subspline 1 1 n 3 sub { /i exch def i 1 sub dup i dup i 1 add dup i 2 add dup false subspline } for n 3 sub dup n 2 sub dup n 1 sub dup 0 0 false subspline n 2 sub dup n 1 sub dup 0 0 1 1 false subspline patternNone not { ifill } if brushNone not { istroke } if } { Poly } ifelse end } dup 0 4 dict put def /Elli { 0 begin newpath 4 2 roll translate scale 0 0 1 0 360 arc closepath patternNone not { ifill } if brushNone not { istroke } if end } dup 0 1 dict put def /Line { 0 begin 2 storexyn newpath x 0 get y 0 get moveto x 1 get y 1 get lineto brushNone not { istroke } if 0 0 1 1 leftarrow 0 0 1 1 rightarrow end } dup 0 4 dict put def /MLine { 0 begin storexyn newpath n 1 gt { x 0 get y 0 get moveto 1 1 n 1 sub { /i exch def x i get y i get lineto } for patternNone not brushLeftArrow not brushRightArrow not and and { ifill } if brushNone not { istroke } if 0 0 1 1 leftarrow n 2 sub dup n 1 sub dup rightarrow } if end } dup 0 4 dict put def /Poly { 3 1 roll newpath moveto -1 add { lineto } repeat closepath patternNone not { ifill } if brushNone not { istroke } if } def /Rect { 0 begin /t exch def /r exch def /b exch def /l exch def newpath l b moveto l t lineto r t lineto r b lineto closepath patternNone not { ifill } if brushNone not { istroke } if end } dup 0 4 dict put def /Text { ishow } def /idef { dup where { pop pop pop } { exch def } ifelse } def /ifill { 0 begin gsave patternGrayLevel -1 ne { fgred bgred fgred sub patternGrayLevel mul add fggreen bggreen fggreen sub patternGrayLevel mul add fgblue bgblue fgblue sub patternGrayLevel mul add setrgbcolor eofill } { eoclip originalCTM setmatrix pathbbox /t exch def /r exch def /b exch def /l exch def /w r l sub ceiling cvi def /h t b sub ceiling cvi def /imageByteWidth w 8 div ceiling cvi def /imageHeight h def bgred bggreen bgblue setrgbcolor eofill fgred fggreen fgblue setrgbcolor w 0 gt h 0 gt and { l w add b translate w neg h scale w h true [w 0 0 h neg 0 h] { patternproc } imagemask } if } ifelse grestore end } dup 0 8 dict put def /istroke { gsave brushDashOffset -1 eq { [] 0 setdash 1 setgray } { brushDashArray brushDashOffset setdash fgred fggreen fgblue setrgbcolor } ifelse brushWidth setlinewidth originalCTM setmatrix stroke grestore } def /ishow { 0 begin gsave fgred fggreen fgblue setrgbcolor /fontDict printFont printSize scalefont dup setfont def /descender fontDict begin 0 /FontBBox load 1 get FontMatrix end transform exch pop def /vertoffset 1 printSize sub descender sub def { 0 vertoffset moveto show /vertoffset vertoffset printSize sub def } forall grestore end } dup 0 3 dict put def /patternproc { 0 begin /patternByteLength patternString length def /patternHeight patternByteLength 8 mul sqrt cvi def /patternWidth patternHeight def /patternByteWidth patternWidth 8 idiv def /imageByteMaxLength imageByteWidth imageHeight mul stringLimit patternByteWidth sub min def /imageMaxHeight imageByteMaxLength imageByteWidth idiv patternHeight idiv patternHeight mul patternHeight max def /imageHeight imageHeight imageMaxHeight sub store /imageString imageByteWidth imageMaxHeight mul patternByteWidth add string def 0 1 imageMaxHeight 1 sub { /y exch def /patternRow y patternByteWidth mul patternByteLength mod def /patternRowString patternString patternRow patternByteWidth getinterval def /imageRow y imageByteWidth mul def 0 patternByteWidth imageByteWidth 1 sub { /x exch def imageString imageRow x add patternRowString putinterval } for } for imageString end } dup 0 12 dict put def /min { dup 3 2 roll dup 4 3 roll lt { exch } if pop } def /max { dup 3 2 roll dup 4 3 roll gt { exch } if pop } def /midpoint { 0 begin /y1 exch def /x1 exch def /y0 exch def /x0 exch def x0 x1 add 2 div y0 y1 add 2 div end } dup 0 4 dict put def /thirdpoint { 0 begin /y1 exch def /x1 exch def /y0 exch def /x0 exch def x0 2 mul x1 add 3 div y0 2 mul y1 add 3 div end } dup 0 4 dict put def /subspline { 0 begin /movetoNeeded exch def y exch get /y3 exch def x exch get /x3 exch def y exch get /y2 exch def x exch get /x2 exch def y exch get /y1 exch def x exch get /x1 exch def y exch get /y0 exch def x exch get /x0 exch def x1 y1 x2 y2 thirdpoint /p1y exch def /p1x exch def x2 y2 x1 y1 thirdpoint /p2y exch def /p2x exch def x1 y1 x0 y0 thirdpoint p1x p1y midpoint /p0y exch def /p0x exch def x2 y2 x3 y3 thirdpoint p2x p2y midpoint /p3y exch def /p3x exch def movetoNeeded { p0x p0y moveto } if p1x p1y p2x p2y p3x p3y curveto end } dup 0 17 dict put def /storexyn { /n exch def /y n array def /x n array def n 1 sub -1 0 { /i exch def y i 3 2 roll put x i 3 2 roll put } for } def /SSten { fgred fggreen fgblue setrgbcolor dup true exch 1 0 0 -1 0 6 -1 roll matrix astore } def /FSten { dup 3 -1 roll dup 4 1 roll exch newpath 0 0 moveto dup 0 exch lineto exch dup 3 1 roll exch lineto 0 lineto closepath bgred bggreen bgblue setrgbcolor eofill SSten } def /Rast { exch dup 3 1 roll 1 0 0 -1 0 6 -1 roll matrix astore } def %%EndProlog %I Idraw 13 Grid 8 8 %%Page: 1 1 Begin %I b u %I cfg u %I cbg u %I f u %I p u %I t [ 0.74759 0 0 0.74759 0 0 ] concat /originalCTM matrix currentmatrix def Begin %I Elli %I b 65535 1 0 0 [] 0 SetB %I cfg Black 0 0 0 SetCFg %I cbg White 1 1 1 SetCBg none SetP %I p n %I t [ 1 -0 -0 1 58 121 ] concat %I 182 615 48 40 Elli End Begin %I Elli %I b 65535 1 0 0 [] 0 SetB %I cfg Black 0 0 0 SetCFg %I cbg LtGray 0.762951 0.762951 0.762951 SetCBg %I p 1 SetP %I t [ 1 -0 -0 1 58 1 ] concat %I 182 615 48 40 Elli End Begin %I Elli %I b 65535 1 0 0 [] 0 SetB %I cfg Black 0 0 0 SetCFg %I cbg LtGray 0.762951 0.762951 0.762951 SetCBg %I p 1 SetP %I t [ 1 -0 -0 1 -54 1 ] concat %I 182 615 48 40 Elli End Begin %I Elli %I b 65535 1 0 0 [] 0 SetB %I cfg Black 0 0 0 SetCFg %I cbg White 1 1 1 SetCBg none SetP %I p n %I t [ 1 -0 -0 1 170 1 ] concat %I 182 615 48 40 Elli End Begin %I Line %I b 65535 2 0 0 [] 0 SetB %I cfg Black 0 0 0 SetCFg %I cbg White 1 1 1 SetCBg none SetP %I p n %I t [ 0.5 -0 -0 0.5 61.5 405.5 ] concat %I 357 581 357 501 Line %I 2 End Begin %I Line %I b 65535 2 0 0 [] 0 SetB %I cfg Black 0 0 0 SetCFg %I cbg White 1 1 1 SetCBg none SetP %I p n %I t [ 0.5 -0 -0 0.5 61.5 405.5 ] concat %I 291 602 181 492 Line %I 2 End Begin %I Line %I b 65535 2 0 0 [] 0 SetB %I cfg Black 0 0 0 SetCFg %I cbg White 1 1 1 SetCBg none SetP %I p n %I t [ 0.5 -0 -0 0.5 61.5 405.5 ] concat %I 424 601 529 490 Line %I 2 End Begin %I Text %I cfg Black 0 0 0 SetCFg %I f -*-helvetica-medium-r-normal--24-* Helvetica 24 SetF %I t [ 1 0 0 1 233 745 ] concat %I [ (A) ] Text End Begin %I Text %I cfg Black 0 0 0 SetCFg %I f -*-helvetica-medium-r-normal--24-* Helvetica 24 SetF %I t [ 1 0 0 1 112 625 ] concat %I [ (A1) ] Text End Begin %I Text %I cfg Black 0 0 0 SetCFg %I f -*-helvetica-medium-r-normal--24-* Helvetica 24 SetF %I t [ 1 0 0 1 226 626 ] concat %I [ (A2) ] Text End Begin %I Text %I cfg Black 0 0 0 SetCFg %I f -*-helvetica-medium-r-normal--24-* Helvetica 24 SetF %I t [ 1 0 0 1 335 628 ] concat %I [ (A3) ] Text End Begin %I Pict %I b u %I cfg u %I cbg u %I f u %I p u %I t [ 1 0 0 1 40 0 ] concat Begin %I Elli %I b 65535 1 0 0 [] 0 SetB %I cfg Black 0 0 0 SetCFg %I cbg White 1 1 1 SetCBg none SetP %I p n %I t [ 1 -0 -0 1 394 121 ] concat %I 182 615 48 40 Elli End Begin %I Elli %I b 65535 1 0 0 [] 0 SetB %I cfg Black 0 0 0 SetCFg %I cbg LtGray 0.762951 0.762951 0.762951 SetCBg %I p 1 SetP %I t [ 1 -0 -0 1 330 1 ] concat %I 182 615 48 40 Elli End Begin %I Elli %I b 65535 1 0 0 [] 0 SetB %I cfg Black 0 0 0 SetCFg %I cbg LtGray 0.762951 0.762951 0.762951 SetCBg %I p 1 SetP %I t [ 1 -0 -0 1 458 1 ] concat %I 182 615 48 40 Elli End Begin %I Line %I b 65535 2 0 0 [] 0 SetB %I cfg Black 0 0 0 SetCFg %I cbg White 1 1 1 SetCBg none SetP %I p n %I t [ 0.5 -0 -0 0.5 237 405.5 ] concat %I 631 590 583 497 Line %I 2 End Begin %I Line %I b 65535 2 0 0 [] 0 SetB %I cfg Black 0 0 0 SetCFg %I cbg White 1 1 1 SetCBg none SetP %I p n %I t [ 0.5 -0 -0 0.5 237 405.5 ] concat %I 726 591 774 497 Line %I 2 End Begin %I Text %I cfg Black 0 0 0 SetCFg %I f -*-helvetica-medium-r-normal--24-* Helvetica 24 SetF %I t [ 1 0 0 1 568 746 ] concat %I [ (C) ] Text End Begin %I Text %I cfg Black 0 0 0 SetCFg %I f -*-helvetica-medium-r-normal--24-* Helvetica 24 SetF %I t [ 1 0 0 1 500 626 ] concat %I [ (C1) ] Text End Begin %I Text %I cfg Black 0 0 0 SetCFg %I f -*-helvetica-medium-r-normal--24-* Helvetica 24 SetF %I t [ 1 0 0 1 626 628 ] concat %I [ (C2) ] Text End End %I eop Begin %I Elli %I b 65535 1 0 0 [] 0 SetB %I cfg Black 0 0 0 SetCFg %I cbg White 1 1 1 SetCBg none SetP %I p n %I t [ 1 -0 -0 1 250 121 ] concat %I 182 615 48 40 Elli End Begin %I Text %I cfg Black 0 0 0 SetCFg %I f -*-helvetica-medium-r-normal--24-* Helvetica 24 SetF %I t [ 1 0 0 1 425 745 ] concat %I [ (B) ] Text End End %I eop showpage %%Trailer end
%# -*- coding: utf-8-unix -*- % !TEX program = xelatex % !TEX root = ../thesis.tex % !TEX encoding = UTF-8 Unicode %TC:ignore \title{华东理工大学学位论文 \\ \LaTeX{} 模板示例文档} \author{某\quad{}某} \advisor{某某教授} % \coadvisor{某某教授} \defenddate{2014年12月17日} \coursename{某某课程} \school{华东理工大学} \institute{某某系} \studentnumber{0010900990} \major{某某专业} \keywords{华东理工,勤奋求实,励志明德} \englishtitle{A Sample Document for \LaTeX-basedd SJTU Thesis Template} \englishauthor{\textsc{Mo Mo}} \englishadvisor{Prof. \textsc{Mou Mou}} % \englishcoadvisor{Prof. \textsc{Uom Uom}} \englishschool{Shanghai Jiao Tong University} \englishinstitute{\textsc{Depart of XXX, School of XXX} \\ \textsc{Shanghai Jiao Tong University} \\ \textsc{Shanghai, P.R.China}} \englishmajor{A Very Important Major} \englishdate{Dec. 17th, 2014} \englishkeywords{SJTU, master thesis, XeTeX/LaTeX template} %TC:endignore
// Code generated by go-swagger; DO NOT EDIT. package models // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "context" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" ) // VolumeGroupStorageDetails volume group storage details // // swagger:model VolumeGroupStorageDetails type VolumeGroupStorageDetails struct { // The name of consistency group at storage controller level ConsistencyGroupName string `json:"consistencyGroupName,omitempty"` // Indicates the minimum period in seconds between multiple cycles CyclePeriodSeconds int64 `json:"cyclePeriodSeconds,omitempty"` // Indicates the type of cycling mode used CyclingMode string `json:"cyclingMode,omitempty"` // Number of volumes in volume group NumOfvols int64 `json:"numOfvols,omitempty"` // Indicates whether master/aux volume is playing the primary role PrimaryRole string `json:"primaryRole,omitempty"` // List of remote-copy relationship name in a volume group RcRrelName []string `json:"rcRrelName"` // Type of replication(metro,global) ReplicationType string `json:"replicationType,omitempty"` // Indicates the relationship state State string `json:"state,omitempty"` // Indicates whether the relationship is synchronized Sync string `json:"sync,omitempty"` } // Validate validates this volume group storage details func (m *VolumeGroupStorageDetails) Validate(formats strfmt.Registry) error { return nil } // ContextValidate validates this volume group storage details based on context it is used func (m *VolumeGroupStorageDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation func (m *VolumeGroupStorageDetails) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *VolumeGroupStorageDetails) UnmarshalBinary(b []byte) error { var res VolumeGroupStorageDetails if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil }
> {-# LANGUAGE GADTs, MultiParamTypeClasses, FunctionalDependencies, > FlexibleInstances, TypeSynonymInstances, FlexibleContexts #-} > module Text.Regex.PDeriv.RE where > import Data.List (nub) > import Data.Char (chr) > import Text.Regex.PDeriv.Common (PosEpsilon(..), IsEpsilon(..), IsPhi(..), Simplifiable(..), IsGreedy(..), GFlag(..)) > import Text.Regex.PDeriv.Dictionary (Key(..), primeL, primeR) ------------------------ > -- | data type of the regular expresions > data RE = Phi > | Empty -- ^ an empty exp > | L Char -- ^ a literal / a character > | Choice RE RE GFlag -- ^ a choice exp 'r1 + r2' > | Seq RE RE -- ^ a pair exp '(r1,r2)' > | Star RE GFlag -- ^ a kleene's star exp 'r*' > | Any -- ^ . > | Not [Char] -- ^ excluding characters e.g. [^abc] > -- | the eq instance > instance Eq RE where > (==) Empty Empty = True > (==) (L x) (L y) = x == y > (==) (Choice r1 r2 g1) (Choice r3 r4 g2) = (g1 == g2) && (r2 == r4) && (r1 == r3) > (==) (Seq r1 r2) (Seq r3 r4) = (r1 == r3) && (r2 == r4) > (==) (Star r1 g1) (Star r2 g2) = g1 == g2 && r1 == r2 > (==) Any Any = True > (==) (Not cs) (Not cs') = cs == cs' > (==) _ _ = False > -- | A pretty printing function for regular expression > instance Show RE where > show Phi = "{}" > show Empty = "<>" > show (L c) = show c > show (Choice r1 r2 g) = "(" ++ show r1 ++ "|" ++ show r2 ++ ")" ++ show g > show (Seq r1 r2) = "<" ++ show r1 ++ "," ++ show r2 ++ ">" > show (Star r g) = show r ++ "*" ++ show g > show Any = "." > show (Not cs) = "[^" ++ cs ++ "]" > instance IsGreedy RE where > isGreedy Phi = True > isGreedy Empty = False > isGreedy (Choice r1 r2 Greedy) = True > isGreedy (Choice r1 r2 NotGreedy) = False -- (isGreedy r1) || (isGreedy r2) > isGreedy (Seq r1 r2) = (isGreedy r1) || (isGreedy r2) > isGreedy (Star r Greedy) = True > isGreedy (Star r NotGreedy) = False > isGreedy (L _) = True > isGreedy Any = True > isGreedy (Not _) = True > instance Key RE where > hash Phi = [0] > hash Empty = [1] > hash (Choice r1 r2 Greedy) = {- let x1 = head (hash r1) > x2 = head (hash r2) > in [ 3 + x1 * primeL + x2 * primeR ] -} [3] > hash (Choice r1 r2 NotGreedy) = {- let x1 = head (hash r1) > x2 = head (hash r2) > in [ 4 + x1 * primeL + x2 * primeR ] -} [4] > hash (Seq r1 r2) = let x1 = head (hash r1) > x2 = head (hash r2) > in [ 5 + x1 * primeL + x2 * primeR ] -- [5] > hash (Star r Greedy) = {- let x = head (hash r) > in [ 6 + x * primeL ] -} [6] > hash (Star r NotGreedy) = {- let x = head (hash r) > in [ 7 + x * primeL ] -} [7] > hash (L c) = {- let x = head (hash c) > in [ 8 + x * primeL ] -} [8] > hash Any = [2] > hash (Not _) = [9] > -- | function 'resToRE' sums up a list of regular expressions with the choice operation. > resToRE :: [RE] -> RE > resToRE (r:res) = foldl (\x y -> Choice x y Greedy) r res > resToRE [] = Phi > instance PosEpsilon RE where > posEpsilon Phi = False > posEpsilon Empty = True > posEpsilon (Choice r1 r2 g) = (posEpsilon r1) || (posEpsilon r2) > posEpsilon (Seq r1 r2) = (posEpsilon r1) && (posEpsilon r2) > posEpsilon (Star r g) = True > posEpsilon (L _) = False > posEpsilon Any = False > posEpsilon (Not _) = False > -- | function 'isEpsilon' checks whether epsilon = r > instance IsEpsilon RE where > isEpsilon Phi = False > isEpsilon Empty = True > isEpsilon (Choice r1 r2 g) = (isEpsilon r1) && (isEpsilon r2) > isEpsilon (Seq r1 r2) = (isEpsilon r1) && (isEpsilon r2) > isEpsilon (Star Phi g) = True > isEpsilon (Star r g) = isEpsilon r > isEpsilon (L _) = False > isEpsilon Any = False > isEpsilon (Not _) = False > instance IsPhi RE where > isPhi Phi = True > isPhi Empty = False > isPhi (Choice r1 r2 g) = (isPhi r1) && (isPhi r2) > isPhi (Seq r1 r2) = (isPhi r1) || (isPhi r2) > isPhi (Star r g) = False > isPhi (L _) = False > isPhi Any = False > isPhi (Not _) = False > -- | function 'partDeriv' implements the partial derivative operations for regular expressions. We don't pay attention to the greediness flag here. > partDeriv :: RE -> Char -> [RE] > partDeriv r l = let pds = (partDerivSub r l) > in {-# SCC "nub_pd" #-} nub pds > partDerivSub Phi l = [] > partDerivSub Empty l = [] > partDerivSub (L l') l > | l == l' = [Empty] > | otherwise = [] > partDerivSub Any l = [Empty] > partDerivSub (Not cs) l > | l `elem` cs = [] > | otherwise = [Empty] > partDerivSub (Choice r1 r2 g) l = > let > s1 = partDerivSub r1 l > s2 = partDerivSub r2 l > in s1 `seq` s2 `seq` (s1 ++ s2) > partDerivSub (Seq r1 r2) l > | posEpsilon r1 = > let > s0 = partDerivSub r1 l > s1 = s0 `seq` [ (Seq r1' r2) | r1' <- s0 ] > s2 = partDerivSub r2 l > in s1 `seq` s2 `seq` (s1 ++ s2) > | otherwise = > let > s0 = partDerivSub r1 l > in s0 `seq` [ (Seq r1' r2) | r1' <- s0 ] > partDerivSub (Star r g) l = > let > s0 = partDerivSub r l > in s0 `seq` [ (Seq r' (Star r g)) | r' <- s0 ] > -- | function 'sigmaRE' returns all characters appearing in a reg exp. > sigmaRE :: RE -> [Char] > sigmaRE r = let s = (sigmaREsub r) > in s `seq` nub s > sigmaREsub (L l) = [l] > sigmaREsub Any = map chr [32 .. 127] > sigmaREsub (Not cs) = filter (\c -> not (c `elem` cs)) (map chr [32 .. 127]) > sigmaREsub (Seq r1 r2) = (sigmaREsub r1) ++ (sigmaREsub r2) > sigmaREsub (Choice r1 r2 g) = (sigmaREsub r1) ++ (sigmaREsub r2) > sigmaREsub (Star r g) = sigmaREsub r > sigmaREsub Phi = [] > sigmaREsub Empty = [] > instance Simplifiable RE where > simplify (L l) = L l > simplify Any = Any > simplify (Not cs) = Not cs > simplify (Seq r1 r2) = > let r1' = simplify r1 > r2' = simplify r2 > in if isEpsilon r1' > then r2' > else if isEpsilon r2' > then r1' > else Seq r1' r2' > simplify (Choice r1 r2 g) = > let r1' = simplify r1 > r2' = simplify r2 > in if isPhi r1' > then r2' > else if isPhi r2' > then r1' > else Choice r1' r2' g > simplify (Star r g) = Star (simplify r) g > simplify Phi = Phi > simplify Empty = Empty
pragma solidity ^0.4.24; import ; contract gemlike { function move(address,address,uint) public; } contract flapper is dsnote { struct bid { uint256 bid; uint256 lot; address guy; uint48 tic; uint48 end; address gal; } mapping (uint => bid) public bids; gemlike public dai; gemlike public gem; uint256 constant one = 1.00e27; uint256 public beg = 1.05e27; uint48 public ttl = 3 hours; uint48 public tau = 2 days; uint256 public kicks; event kick( uint256 indexed id, uint256 lot, uint256 bid, address gal, uint48 end ); constructor(address dai_, address gem_) public { dai = gemlike(dai_); gem = gemlike(gem_); } function add(uint x, uint y) internal pure returns (uint z) { z = x + y; require(z >= x); } function mul(uint x, uint y) internal pure returns (int z) { z = int(x * y); require(int(z) >= 0); require(y == 0 || uint(z) / y == x); } function kick(address gal, uint lot, uint bid) public returns (uint id) { require(kicks < uint(1)); id = ++kicks; bids[id].bid = bid; bids[id].lot = lot; bids[id].guy = msg.sender; bids[id].end = uint48(add(now, tau)); bids[id].gal = gal; dai.move(msg.sender, this, lot); emit kick(id, lot, bid, gal, bids[id].end); } function tend(uint id, uint lot, uint bid) public note { require(bids[id].guy != 0); require(bids[id].tic > now || bids[id].tic == 0); require(bids[id].end > now); require(lot == bids[id].lot); require(bid > bids[id].bid); require(mul(bid, one) >= mul(beg, bids[id].bid)); gem.move(msg.sender, bids[id].guy, bids[id].bid); gem.move(msg.sender, bids[id].gal, bid bids[id].bid); bids[id].guy = msg.sender; bids[id].bid = bid; bids[id].tic = uint48(add(now, ttl)); } function deal(uint id) public note { require(bids[id].tic < now && bids[id].tic != 0 || bids[id].end < now); dai.move(this, bids[id].guy, bids[id].lot); delete bids[id]; } }
/* * Copyright 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by 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.gradle.performance.regression.buildcache import org.apache.commons.compress.archivers.tar.TarArchiveInputStream import org.apache.commons.compress.archivers.tar.TarArchiveOutputStream import org.gradle.internal.hash.Hashing import org.gradle.performance.fixture.BuildExperimentInvocationInfo import org.gradle.performance.fixture.BuildExperimentListenerAdapter import org.gradle.performance.fixture.GradleInvocationSpec import org.gradle.performance.fixture.InvocationCustomizer import org.gradle.performance.fixture.InvocationSpec import org.gradle.performance.generator.JavaTestProject import org.gradle.performance.mutator.ApplyAbiChangeToJavaSourceFileMutator import org.gradle.performance.mutator.ApplyNonAbiChangeToJavaSourceFileMutator import org.gradle.test.fixtures.keystore.TestKeyStore import spock.lang.Unroll import java.util.zip.GZIPInputStream import java.util.zip.GZIPOutputStream import static org.gradle.performance.generator.JavaTestProject.LARGE_JAVA_MULTI_PROJECT import static org.gradle.performance.generator.JavaTestProject.LARGE_MONOLITHIC_JAVA_PROJECT @Unroll class TaskOutputCachingJavaPerformanceTest extends AbstractTaskOutputCachingPerformanceTest { def setup() { runner.warmUpRuns = 11 runner.runs = 21 runner.minimumBaseVersion = "3.5" runner.targetVersions = ["6.2-20200108160029+0000"] } def "clean #tasks on #testProject with remote http cache"() { setupTestProject(testProject, tasks) protocol = "http" pushToRemote = true runner.addBuildExperimentListener(cleanLocalCache()) runner.addBuildExperimentListener(touchCacheArtifacts()) when: def result = runner.run() then: result.assertCurrentVersionHasNotRegressed() where: [testProject, tasks] << scenarios } def "clean #tasks on #testProject with remote https cache"() { setupTestProject(testProject, tasks) firstWarmupWithCache = 2 // Do one run without the cache to populate the dependency cache from maven central protocol = "https" pushToRemote = true runner.addBuildExperimentListener(cleanLocalCache()) runner.addBuildExperimentListener(touchCacheArtifacts()) def keyStore = TestKeyStore.init(temporaryFolder.file('ssl-keystore')) keyStore.enableSslWithServerCert(buildCacheServer) runner.addInvocationCustomizer(new InvocationCustomizer() { @Override <T extends InvocationSpec> T customize(BuildExperimentInvocationInfo invocationInfo, T invocationSpec) { GradleInvocationSpec gradleInvocation = invocationSpec as GradleInvocationSpec if (isRunWithCache(invocationInfo)) { gradleInvocation.withBuilder().gradleOpts(*keyStore.serverAndClientCertArgs).build() as T } else { gradleInvocation.withBuilder() // We need a different daemon for the other runs because of the certificate Gradle JVM args // so we disable the daemon completely in order not to confuse the performance test .useDaemon(false) // We run one iteration without the cache to download artifacts from Maven central. // We can't download with the cache since we set the trust store and Maven central uses https. .args("--no-build-cache") .build() as T } } }) when: def result = runner.run() then: result.assertCurrentVersionHasNotRegressed() where: [testProject, tasks] << scenarios } def "clean #tasks on #testProject with empty local cache"() { given: setupTestProject(testProject, tasks) runner.warmUpRuns = 6 runner.runs = 8 pushToRemote = false runner.addBuildExperimentListener(cleanLocalCache()) when: def result = runner.run() then: result.assertCurrentVersionHasNotRegressed() where: [testProject, tasks] << scenarios } def "clean #tasks on #testProject with empty remote http cache"() { given: setupTestProject(testProject, tasks) runner.warmUpRuns = 6 runner.runs = 8 pushToRemote = true runner.addBuildExperimentListener(cleanLocalCache()) runner.addBuildExperimentListener(cleanRemoteCache()) when: def result = runner.run() then: result.assertCurrentVersionHasNotRegressed() where: [testProject, tasks] << scenarios } def "clean #tasks on #testProject with local cache (parallel: #parallel)"() { given: if (!parallel) { runner.previousTestIds = ["clean $tasks on $testProject with local cache"] } setupTestProject(testProject, tasks) if (parallel) { runner.args += "--parallel" } pushToRemote = false runner.addBuildExperimentListener(touchCacheArtifacts()) when: def result = runner.run() then: result.assertCurrentVersionHasNotRegressed() where: testScenario << [scenarios, [true, false]].combinations() projectInfo = testScenario[0] parallel = testScenario[1] testProject = projectInfo[0] tasks = projectInfo[1] } def "clean #tasks for abi change on #testProject with local cache (parallel: true)"() { given: setupTestProject(testProject, tasks) runner.addBuildExperimentListener(new ApplyAbiChangeToJavaSourceFileMutator(testProject.config.fileToChangeByScenario['assemble'])) runner.args += "--parallel" pushToRemote = false runner.addBuildExperimentListener(touchCacheArtifacts()) when: def result = runner.run() then: result.assertCurrentVersionHasNotRegressed() where: // We only test the multiproject here since for the monolitic project we would have no cache hits. // This would mean we actually would test incremental compilation. [testProject, tasks] << [[LARGE_JAVA_MULTI_PROJECT, 'assemble']] } def "clean #tasks for non-abi change on #testProject with local cache (parallel: true)"() { given: setupTestProject(testProject, tasks) runner.addBuildExperimentListener(new ApplyNonAbiChangeToJavaSourceFileMutator(testProject.config.fileToChangeByScenario['assemble'])) runner.args += "--parallel" pushToRemote = false runner.addBuildExperimentListener(touchCacheArtifacts()) when: def result = runner.run() then: result.assertCurrentVersionHasNotRegressed() where: // We only test the multiproject here since for the monolitic project we would have no cache hits. // This would mean we actually would test incremental compilation. [testProject, tasks] << [[LARGE_JAVA_MULTI_PROJECT, 'assemble']] } private BuildExperimentListenerAdapter touchCacheArtifacts() { new BuildExperimentListenerAdapter() { @Override void beforeInvocation(BuildExperimentInvocationInfo invocationInfo) { touchCacheArtifacts(cacheDir) if (buildCacheServer.running) { touchCacheArtifacts(buildCacheServer.cacheDir) } } } } // We change the file dates inside the archives to work around unfairness caused by // reusing FileCollectionSnapshots based on the file dates in versions before Gradle 4.2 private void touchCacheArtifacts(File dir) { def startTime = System.currentTimeMillis() int count = 0 dir.eachFile { File cacheArchiveFile -> if (cacheArchiveFile.name ==~ /[a-z0-9]{${Hashing.defaultFunction().hexDigits}}/) { def tempFile = temporaryFolder.file("re-tar-temp") tempFile.withOutputStream { outputStream -> def tarOutput = new TarArchiveOutputStream(new GZIPOutputStream(outputStream)) tarOutput.setLongFileMode(TarArchiveOutputStream.LONGFILE_POSIX) tarOutput.setBigNumberMode(TarArchiveOutputStream.BIGNUMBER_POSIX) tarOutput.setAddPaxHeadersForNonAsciiNames(true) cacheArchiveFile.withInputStream { inputStream -> def tarInput = new TarArchiveInputStream(new GZIPInputStream(inputStream)) while (true) { def tarEntry = tarInput.nextTarEntry if (tarEntry == null) { break } tarEntry.setModTime(tarEntry.modTime.time + 3743) tarOutput.putArchiveEntry(tarEntry) if (!tarEntry.directory) { tarOutput << tarInput } tarOutput.closeArchiveEntry() } } tarOutput.close() } assert cacheArchiveFile.delete() assert tempFile.renameTo(cacheArchiveFile) } count++ } def time = System.currentTimeMillis() - startTime println "Changed file dates in $count cache artifacts in $dir in ${time} ms" } private def setupTestProject(JavaTestProject testProject, String tasks) { runner.testProject = testProject runner.gradleOpts = ["-Xms${testProject.daemonMemory}", "-Xmx${testProject.daemonMemory}"] runner.tasksToRun = tasks.split(' ') as List runner.cleanTasks = ["clean"] } def getScenarios() { [ [LARGE_MONOLITHIC_JAVA_PROJECT, 'assemble'], [LARGE_JAVA_MULTI_PROJECT, 'assemble'] ] } }
package main // the sample code fully based uopon // https://github.com/feiskyer/kubernetes-handbook/blob/master/examples/client/informer/informer.go // Also refering to the following sample code and pages // https://github.com/feiskyer/kubernetes-handbook/blob/master/examples/client/informer/informer.go // https://github.com/kubernetes/sample-controller/blob/master/docs/controller-client-go.md import ( "flag" "fmt" "os" "time" v1 "k8s.io/api/core/v1" "k8s.io/client-go/informers" coreinformers "k8s.io/client-go/informers/core/v1" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/cache" "k8s.io/client-go/tools/clientcmd" klog "k8s.io/klog/v2" "k8s.io/kubectl/pkg/util/logs" ) // PodLoggingController logs the name and namespace of pods that are added, // deleted, or updated type PodLoggingController struct { informerFactory informers.SharedInformerFactory podInformer coreinformers.PodInformer } // Run starts shared informers and waits for the shared informer cache to // synchronize. func (c *PodLoggingController) Run(stopCh chan struct{}) error { // Starts all the shared informers that have been created by the factory so // far. c.informerFactory.Start(stopCh) // wait for the initial synchronization of the local cache. if !cache.WaitForCacheSync(stopCh, c.podInformer.Informer().HasSynced) { return fmt.Errorf("Failed to sync") } return nil } func (c *PodLoggingController) podAdd(obj interface{}) { pod := obj.(*v1.Pod) klog.Infof("POD CREATED: %s/%s", pod.Namespace, pod.Name) } func (c *PodLoggingController) podUpdate(old, new interface{}) { oldPod := old.(*v1.Pod) newPod := new.(*v1.Pod) klog.Infof( "POD UPDATED. %s/%s %s", oldPod.Namespace, oldPod.Name, newPod.Status.Phase, ) } func (c *PodLoggingController) podDelete(obj interface{}) { pod := obj.(*v1.Pod) klog.Infof("POD DELETED: %s/%s", pod.Namespace, pod.Name) } // NewPodLoggingController creates a PodLoggingController func NewPodLoggingController(informerFactory informers.SharedInformerFactory) *PodLoggingController { podInformer := informerFactory.Core().V1().Pods() c := &PodLoggingController{ informerFactory: informerFactory, podInformer: podInformer, } podInformer.Informer().AddEventHandler( // Your custom resource event handlers. cache.ResourceEventHandlerFuncs{ // Called on creation AddFunc: c.podAdd, // Called on resource update and every resyncPeriod on existing resources. UpdateFunc: c.podUpdate, // Called on resource deletion. DeleteFunc: c.podDelete, }, ) return c } func main() { var kubeConfig = flag.String("kubeconfig", "", "kubeconfig file") flag.Parse() logs.InitLogs() defer logs.FlushLogs() clientset, err := newClient(*kubeConfig) if err != nil { klog.Fatal(err) } factory := informers.NewSharedInformerFactory(clientset, time.Hour*24) controller := NewPodLoggingController(factory) stop := make(chan struct{}) defer close(stop) err = controller.Run(stop) if err != nil { klog.Fatal(err) } select {} } func newClient(kubeConfigPath string) (kubernetes.Interface, error) { if kubeConfigPath == "" { kubeConfigPath = os.Getenv("KUBECONFIG") } if kubeConfigPath == "" { kubeConfigPath = clientcmd.RecommendedHomeFile // use default path(.kube/config) } kubeConfig, err := clientcmd.BuildConfigFromFlags("", kubeConfigPath) if err != nil { return nil, err } return kubernetes.NewForConfig(kubeConfig) }
#Signature file v4.1 #Version 1.8 CLSS public abstract java.awt.Component cons protected init() fld protected javax.accessibility.AccessibleContext accessibleContext fld public final static float BOTTOM_ALIGNMENT = 1.0 fld public final static float CENTER_ALIGNMENT = 0.5 fld public final static float LEFT_ALIGNMENT = 0.0 fld public final static float RIGHT_ALIGNMENT = 1.0 fld public final static float TOP_ALIGNMENT = 0.0 innr protected BltBufferStrategy innr protected FlipBufferStrategy innr protected abstract AccessibleAWTComponent innr public final static !enum BaselineResizeBehavior intf java.awt.MenuContainer intf java.awt.image.ImageObserver intf java.io.Serializable meth protected boolean requestFocus(boolean) meth protected boolean requestFocusInWindow(boolean) meth protected final void disableEvents(long) meth protected final void enableEvents(long) meth protected java.awt.AWTEvent coalesceEvents(java.awt.AWTEvent,java.awt.AWTEvent) meth protected java.lang.String paramString() meth protected void firePropertyChange(java.lang.String,boolean,boolean) meth protected void firePropertyChange(java.lang.String,int,int) meth protected void firePropertyChange(java.lang.String,java.lang.Object,java.lang.Object) meth protected void processComponentEvent(java.awt.event.ComponentEvent) meth protected void processEvent(java.awt.AWTEvent) meth protected void processFocusEvent(java.awt.event.FocusEvent) meth protected void processHierarchyBoundsEvent(java.awt.event.HierarchyEvent) meth protected void processHierarchyEvent(java.awt.event.HierarchyEvent) meth protected void processInputMethodEvent(java.awt.event.InputMethodEvent) meth protected void processKeyEvent(java.awt.event.KeyEvent) meth protected void processMouseEvent(java.awt.event.MouseEvent) meth protected void processMouseMotionEvent(java.awt.event.MouseEvent) meth protected void processMouseWheelEvent(java.awt.event.MouseWheelEvent) meth public <%0 extends java.util.EventListener> {%%0}[] getListeners(java.lang.Class<{%%0}>) meth public boolean action(java.awt.Event,java.lang.Object) anno 0 java.lang.Deprecated() meth public boolean areFocusTraversalKeysSet(int) meth public boolean contains(int,int) meth public boolean contains(java.awt.Point) meth public boolean getFocusTraversalKeysEnabled() meth public boolean getIgnoreRepaint() meth public boolean gotFocus(java.awt.Event,java.lang.Object) anno 0 java.lang.Deprecated() meth public boolean handleEvent(java.awt.Event) anno 0 java.lang.Deprecated() meth public boolean hasFocus() meth public boolean imageUpdate(java.awt.Image,int,int,int,int,int) meth public boolean inside(int,int) anno 0 java.lang.Deprecated() meth public boolean isBackgroundSet() meth public boolean isCursorSet() meth public boolean isDisplayable() meth public boolean isDoubleBuffered() meth public boolean isEnabled() meth public boolean isFocusCycleRoot(java.awt.Container) meth public boolean isFocusOwner() meth public boolean isFocusTraversable() anno 0 java.lang.Deprecated() meth public boolean isFocusable() meth public boolean isFontSet() meth public boolean isForegroundSet() meth public boolean isLightweight() meth public boolean isMaximumSizeSet() meth public boolean isMinimumSizeSet() meth public boolean isOpaque() meth public boolean isPreferredSizeSet() meth public boolean isShowing() meth public boolean isValid() meth public boolean isVisible() meth public boolean keyDown(java.awt.Event,int) anno 0 java.lang.Deprecated() meth public boolean keyUp(java.awt.Event,int) anno 0 java.lang.Deprecated() meth public boolean lostFocus(java.awt.Event,java.lang.Object) anno 0 java.lang.Deprecated() meth public boolean mouseDown(java.awt.Event,int,int) anno 0 java.lang.Deprecated() meth public boolean mouseDrag(java.awt.Event,int,int) anno 0 java.lang.Deprecated() meth public boolean mouseEnter(java.awt.Event,int,int) anno 0 java.lang.Deprecated() meth public boolean mouseExit(java.awt.Event,int,int) anno 0 java.lang.Deprecated() meth public boolean mouseMove(java.awt.Event,int,int) anno 0 java.lang.Deprecated() meth public boolean mouseUp(java.awt.Event,int,int) anno 0 java.lang.Deprecated() meth public boolean postEvent(java.awt.Event) anno 0 java.lang.Deprecated() meth public boolean prepareImage(java.awt.Image,int,int,java.awt.image.ImageObserver) meth public boolean prepareImage(java.awt.Image,java.awt.image.ImageObserver) meth public boolean requestFocusInWindow() meth public final java.lang.Object getTreeLock() meth public final void dispatchEvent(java.awt.AWTEvent) meth public float getAlignmentX() meth public float getAlignmentY() meth public int checkImage(java.awt.Image,int,int,java.awt.image.ImageObserver) meth public int checkImage(java.awt.Image,java.awt.image.ImageObserver) meth public int getBaseline(int,int) meth public int getHeight() meth public int getWidth() meth public int getX() meth public int getY() meth public java.awt.Color getBackground() meth public java.awt.Color getForeground() meth public java.awt.Component getComponentAt(int,int) meth public java.awt.Component getComponentAt(java.awt.Point) meth public java.awt.Component locate(int,int) anno 0 java.lang.Deprecated() meth public java.awt.Component$BaselineResizeBehavior getBaselineResizeBehavior() meth public java.awt.ComponentOrientation getComponentOrientation() meth public java.awt.Container getFocusCycleRootAncestor() meth public java.awt.Container getParent() meth public java.awt.Cursor getCursor() meth public java.awt.Dimension getMaximumSize() meth public java.awt.Dimension getMinimumSize() meth public java.awt.Dimension getPreferredSize() meth public java.awt.Dimension getSize() meth public java.awt.Dimension getSize(java.awt.Dimension) meth public java.awt.Dimension minimumSize() anno 0 java.lang.Deprecated() meth public java.awt.Dimension preferredSize() anno 0 java.lang.Deprecated() meth public java.awt.Dimension size() anno 0 java.lang.Deprecated() meth public java.awt.Font getFont() meth public java.awt.FontMetrics getFontMetrics(java.awt.Font) meth public java.awt.Graphics getGraphics() meth public java.awt.GraphicsConfiguration getGraphicsConfiguration() meth public java.awt.Image createImage(int,int) meth public java.awt.Image createImage(java.awt.image.ImageProducer) meth public java.awt.Point getLocation() meth public java.awt.Point getLocation(java.awt.Point) meth public java.awt.Point getLocationOnScreen() meth public java.awt.Point getMousePosition() meth public java.awt.Point location() anno 0 java.lang.Deprecated() meth public java.awt.Rectangle bounds() anno 0 java.lang.Deprecated() meth public java.awt.Rectangle getBounds() meth public java.awt.Rectangle getBounds(java.awt.Rectangle) meth public java.awt.Toolkit getToolkit() meth public java.awt.dnd.DropTarget getDropTarget() meth public java.awt.event.ComponentListener[] getComponentListeners() meth public java.awt.event.FocusListener[] getFocusListeners() meth public java.awt.event.HierarchyBoundsListener[] getHierarchyBoundsListeners() meth public java.awt.event.HierarchyListener[] getHierarchyListeners() meth public java.awt.event.InputMethodListener[] getInputMethodListeners() meth public java.awt.event.KeyListener[] getKeyListeners() meth public java.awt.event.MouseListener[] getMouseListeners() meth public java.awt.event.MouseMotionListener[] getMouseMotionListeners() meth public java.awt.event.MouseWheelListener[] getMouseWheelListeners() meth public java.awt.im.InputContext getInputContext() meth public java.awt.im.InputMethodRequests getInputMethodRequests() meth public java.awt.image.ColorModel getColorModel() meth public java.awt.image.VolatileImage createVolatileImage(int,int) meth public java.awt.image.VolatileImage createVolatileImage(int,int,java.awt.ImageCapabilities) throws java.awt.AWTException meth public java.beans.PropertyChangeListener[] getPropertyChangeListeners() meth public java.beans.PropertyChangeListener[] getPropertyChangeListeners(java.lang.String) meth public java.lang.String getName() meth public java.lang.String toString() meth public java.util.Locale getLocale() meth public java.util.Set<java.awt.AWTKeyStroke> getFocusTraversalKeys(int) meth public javax.accessibility.AccessibleContext getAccessibleContext() meth public void add(java.awt.PopupMenu) meth public void addComponentListener(java.awt.event.ComponentListener) meth public void addFocusListener(java.awt.event.FocusListener) meth public void addHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener) meth public void addHierarchyListener(java.awt.event.HierarchyListener) meth public void addInputMethodListener(java.awt.event.InputMethodListener) meth public void addKeyListener(java.awt.event.KeyListener) meth public void addMouseListener(java.awt.event.MouseListener) meth public void addMouseMotionListener(java.awt.event.MouseMotionListener) meth public void addMouseWheelListener(java.awt.event.MouseWheelListener) meth public void addNotify() meth public void addPropertyChangeListener(java.beans.PropertyChangeListener) meth public void addPropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener) meth public void applyComponentOrientation(java.awt.ComponentOrientation) meth public void deliverEvent(java.awt.Event) anno 0 java.lang.Deprecated() meth public void disable() anno 0 java.lang.Deprecated() meth public void doLayout() meth public void enable() anno 0 java.lang.Deprecated() meth public void enable(boolean) anno 0 java.lang.Deprecated() meth public void enableInputMethods(boolean) meth public void firePropertyChange(java.lang.String,byte,byte) meth public void firePropertyChange(java.lang.String,char,char) meth public void firePropertyChange(java.lang.String,double,double) meth public void firePropertyChange(java.lang.String,float,float) meth public void firePropertyChange(java.lang.String,long,long) meth public void firePropertyChange(java.lang.String,short,short) meth public void hide() anno 0 java.lang.Deprecated() meth public void invalidate() meth public void layout() anno 0 java.lang.Deprecated() meth public void list() meth public void list(java.io.PrintStream) meth public void list(java.io.PrintStream,int) meth public void list(java.io.PrintWriter) meth public void list(java.io.PrintWriter,int) meth public void move(int,int) anno 0 java.lang.Deprecated() meth public void nextFocus() anno 0 java.lang.Deprecated() meth public void paint(java.awt.Graphics) meth public void paintAll(java.awt.Graphics) meth public void print(java.awt.Graphics) meth public void printAll(java.awt.Graphics) meth public void remove(java.awt.MenuComponent) meth public void removeComponentListener(java.awt.event.ComponentListener) meth public void removeFocusListener(java.awt.event.FocusListener) meth public void removeHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener) meth public void removeHierarchyListener(java.awt.event.HierarchyListener) meth public void removeInputMethodListener(java.awt.event.InputMethodListener) meth public void removeKeyListener(java.awt.event.KeyListener) meth public void removeMouseListener(java.awt.event.MouseListener) meth public void removeMouseMotionListener(java.awt.event.MouseMotionListener) meth public void removeMouseWheelListener(java.awt.event.MouseWheelListener) meth public void removeNotify() meth public void removePropertyChangeListener(java.beans.PropertyChangeListener) meth public void removePropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener) meth public void repaint() meth public void repaint(int,int,int,int) meth public void repaint(long) meth public void repaint(long,int,int,int,int) meth public void requestFocus() meth public void reshape(int,int,int,int) anno 0 java.lang.Deprecated() meth public void resize(int,int) anno 0 java.lang.Deprecated() meth public void resize(java.awt.Dimension) anno 0 java.lang.Deprecated() meth public void revalidate() meth public void setBackground(java.awt.Color) meth public void setBounds(int,int,int,int) meth public void setBounds(java.awt.Rectangle) meth public void setComponentOrientation(java.awt.ComponentOrientation) meth public void setCursor(java.awt.Cursor) meth public void setDropTarget(java.awt.dnd.DropTarget) meth public void setEnabled(boolean) meth public void setFocusTraversalKeys(int,java.util.Set<? extends java.awt.AWTKeyStroke>) meth public void setFocusTraversalKeysEnabled(boolean) meth public void setFocusable(boolean) meth public void setFont(java.awt.Font) meth public void setForeground(java.awt.Color) meth public void setIgnoreRepaint(boolean) meth public void setLocale(java.util.Locale) meth public void setLocation(int,int) meth public void setLocation(java.awt.Point) meth public void setMaximumSize(java.awt.Dimension) meth public void setMinimumSize(java.awt.Dimension) meth public void setName(java.lang.String) meth public void setPreferredSize(java.awt.Dimension) meth public void setSize(int,int) meth public void setSize(java.awt.Dimension) meth public void setVisible(boolean) meth public void show() anno 0 java.lang.Deprecated() meth public void show(boolean) anno 0 java.lang.Deprecated() meth public void transferFocus() meth public void transferFocusBackward() meth public void transferFocusUpCycle() meth public void update(java.awt.Graphics) meth public void validate() supr java.lang.Object hfds FOCUS_TRAVERSABLE_DEFAULT,FOCUS_TRAVERSABLE_SET,FOCUS_TRAVERSABLE_UNKNOWN,LOCK,acc,actionListenerK,adjustmentListenerK,appContext,autoFocusTransferOnDisposal,background,backgroundEraseDisabled,boundsOp,bufferStrategy,changeSupport,coalesceEventsParams,coalesceMap,coalescingEnabled,componentListener,componentListenerK,componentOrientation,componentSerializedDataVersion,compoundShape,containerListenerK,cursor,dropTarget,enabled,eventCache,eventLog,eventMask,focusListener,focusListenerK,focusLog,focusTraversalKeyPropertyNames,focusTraversalKeys,focusTraversalKeysEnabled,focusable,font,foreground,graphicsConfig,height,hierarchyBoundsListener,hierarchyBoundsListenerK,hierarchyListener,hierarchyListenerK,ignoreRepaint,incRate,inputMethodListener,inputMethodListenerK,isAddNotifyComplete,isFocusTraversableOverridden,isInc,isPacked,itemListenerK,keyListener,keyListenerK,locale,log,maxSize,maxSizeSet,minSize,minSizeSet,mixingCutoutRegion,mixingLog,mouseListener,mouseListenerK,mouseMotionListener,mouseMotionListenerK,mouseWheelListener,mouseWheelListenerK,name,nameExplicitlySet,newEventsOnly,objectLock,ownedWindowK,parent,peer,peerFont,popups,prefSize,prefSizeSet,requestFocusController,serialVersionUID,textListenerK,valid,visible,width,windowClosingException,windowFocusListenerK,windowListenerK,windowStateListenerK,x,y hcls AWTTreeLock,BltSubRegionBufferStrategy,DummyRequestFocusController,FlipSubRegionBufferStrategy,ProxyCapabilities,SingleBufferStrategy CLSS public java.awt.Container cons public init() innr protected AccessibleAWTContainer meth protected java.lang.String paramString() meth protected void addImpl(java.awt.Component,java.lang.Object,int) meth protected void processContainerEvent(java.awt.event.ContainerEvent) meth protected void processEvent(java.awt.AWTEvent) meth protected void validateTree() meth public <%0 extends java.util.EventListener> {%%0}[] getListeners(java.lang.Class<{%%0}>) meth public boolean areFocusTraversalKeysSet(int) meth public boolean isAncestorOf(java.awt.Component) meth public boolean isFocusCycleRoot() meth public boolean isFocusCycleRoot(java.awt.Container) meth public boolean isFocusTraversalPolicySet() meth public boolean isValidateRoot() meth public final boolean isFocusTraversalPolicyProvider() meth public final void setFocusTraversalPolicyProvider(boolean) meth public float getAlignmentX() meth public float getAlignmentY() meth public int countComponents() anno 0 java.lang.Deprecated() meth public int getComponentCount() meth public int getComponentZOrder(java.awt.Component) meth public java.awt.Component add(java.awt.Component) meth public java.awt.Component add(java.awt.Component,int) meth public java.awt.Component add(java.lang.String,java.awt.Component) meth public java.awt.Component findComponentAt(int,int) meth public java.awt.Component findComponentAt(java.awt.Point) meth public java.awt.Component getComponent(int) meth public java.awt.Component getComponentAt(int,int) meth public java.awt.Component getComponentAt(java.awt.Point) meth public java.awt.Component locate(int,int) anno 0 java.lang.Deprecated() meth public java.awt.Component[] getComponents() meth public java.awt.Dimension getMaximumSize() meth public java.awt.Dimension getMinimumSize() meth public java.awt.Dimension getPreferredSize() meth public java.awt.Dimension minimumSize() anno 0 java.lang.Deprecated() meth public java.awt.Dimension preferredSize() anno 0 java.lang.Deprecated() meth public java.awt.FocusTraversalPolicy getFocusTraversalPolicy() meth public java.awt.Insets getInsets() meth public java.awt.Insets insets() anno 0 java.lang.Deprecated() meth public java.awt.LayoutManager getLayout() meth public java.awt.Point getMousePosition(boolean) meth public java.awt.event.ContainerListener[] getContainerListeners() meth public java.util.Set<java.awt.AWTKeyStroke> getFocusTraversalKeys(int) meth public void add(java.awt.Component,java.lang.Object) meth public void add(java.awt.Component,java.lang.Object,int) meth public void addContainerListener(java.awt.event.ContainerListener) meth public void addNotify() meth public void addPropertyChangeListener(java.beans.PropertyChangeListener) meth public void addPropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener) meth public void applyComponentOrientation(java.awt.ComponentOrientation) meth public void deliverEvent(java.awt.Event) anno 0 java.lang.Deprecated() meth public void doLayout() meth public void invalidate() meth public void layout() anno 0 java.lang.Deprecated() meth public void list(java.io.PrintStream,int) meth public void list(java.io.PrintWriter,int) meth public void paint(java.awt.Graphics) meth public void paintComponents(java.awt.Graphics) meth public void print(java.awt.Graphics) meth public void printComponents(java.awt.Graphics) meth public void remove(int) meth public void remove(java.awt.Component) meth public void removeAll() meth public void removeContainerListener(java.awt.event.ContainerListener) meth public void removeNotify() meth public void setComponentZOrder(java.awt.Component,int) meth public void setFocusCycleRoot(boolean) meth public void setFocusTraversalKeys(int,java.util.Set<? extends java.awt.AWTKeyStroke>) meth public void setFocusTraversalPolicy(java.awt.FocusTraversalPolicy) meth public void setFont(java.awt.Font) meth public void setLayout(java.awt.LayoutManager) meth public void transferFocusDownCycle() meth public void update(java.awt.Graphics) meth public void validate() supr java.awt.Component hfds EMPTY_ARRAY,INCLUDE_SELF,SEARCH_HEAVYWEIGHTS,component,containerListener,containerSerializedDataVersion,descendUnconditionallyWhenValidating,descendantsCount,dispatcher,eventLog,focusCycleRoot,focusTraversalPolicy,focusTraversalPolicyProvider,isJavaAwtSmartInvalidate,layoutMgr,listeningBoundsChildren,listeningChildren,log,mixingLog,modalAppContext,modalComp,numOfHWComponents,numOfLWComponents,preserveBackgroundColor,printing,printingThreads,serialPersistentFields,serialVersionUID hcls DropTargetEventTargetFilter,EventTargetFilter,MouseEventTargetFilter,WakingRunnable CLSS public abstract interface java.awt.MenuContainer meth public abstract boolean postEvent(java.awt.Event) anno 0 java.lang.Deprecated() meth public abstract java.awt.Font getFont() meth public abstract void remove(java.awt.MenuComponent) CLSS public abstract interface java.awt.image.ImageObserver fld public final static int ABORT = 128 fld public final static int ALLBITS = 32 fld public final static int ERROR = 64 fld public final static int FRAMEBITS = 16 fld public final static int HEIGHT = 2 fld public final static int PROPERTIES = 4 fld public final static int SOMEBITS = 8 fld public final static int WIDTH = 1 meth public abstract boolean imageUpdate(java.awt.Image,int,int,int,int,int) CLSS public abstract interface java.io.Serializable CLSS public java.lang.Object cons public init() meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException meth protected void finalize() throws java.lang.Throwable meth public boolean equals(java.lang.Object) meth public final java.lang.Class<?> getClass() meth public final void notify() meth public final void notifyAll() meth public final void wait() throws java.lang.InterruptedException meth public final void wait(long) throws java.lang.InterruptedException meth public final void wait(long,int) throws java.lang.InterruptedException meth public int hashCode() meth public java.lang.String toString() CLSS public abstract interface java.util.EventListener CLSS public abstract interface javax.accessibility.Accessible meth public abstract javax.accessibility.AccessibleContext getAccessibleContext() CLSS public abstract javax.swing.JComponent cons public init() fld protected javax.swing.event.EventListenerList listenerList fld protected javax.swing.plaf.ComponentUI ui fld public final static int UNDEFINED_CONDITION = -1 fld public final static int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT = 1 fld public final static int WHEN_FOCUSED = 0 fld public final static int WHEN_IN_FOCUSED_WINDOW = 2 fld public final static java.lang.String TOOL_TIP_TEXT_KEY = "ToolTipText" innr public abstract AccessibleJComponent intf java.io.Serializable meth protected boolean isPaintingOrigin() meth protected boolean processKeyBinding(javax.swing.KeyStroke,java.awt.event.KeyEvent,int,boolean) meth protected boolean requestFocusInWindow(boolean) meth protected java.awt.Graphics getComponentGraphics(java.awt.Graphics) meth protected java.lang.String paramString() meth protected void fireVetoableChange(java.lang.String,java.lang.Object,java.lang.Object) throws java.beans.PropertyVetoException meth protected void paintBorder(java.awt.Graphics) meth protected void paintChildren(java.awt.Graphics) meth protected void paintComponent(java.awt.Graphics) meth protected void printBorder(java.awt.Graphics) meth protected void printChildren(java.awt.Graphics) meth protected void printComponent(java.awt.Graphics) meth protected void processComponentKeyEvent(java.awt.event.KeyEvent) meth protected void processKeyEvent(java.awt.event.KeyEvent) meth protected void processMouseEvent(java.awt.event.MouseEvent) meth protected void processMouseMotionEvent(java.awt.event.MouseEvent) meth protected void setUI(javax.swing.plaf.ComponentUI) meth public <%0 extends java.util.EventListener> {%%0}[] getListeners(java.lang.Class<{%%0}>) meth public boolean contains(int,int) meth public boolean getAutoscrolls() meth public boolean getInheritsPopupMenu() meth public boolean getVerifyInputWhenFocusTarget() meth public boolean isDoubleBuffered() meth public boolean isManagingFocus() anno 0 java.lang.Deprecated() meth public boolean isOpaque() meth public boolean isOptimizedDrawingEnabled() meth public boolean isPaintingTile() meth public boolean isRequestFocusEnabled() meth public boolean isValidateRoot() meth public boolean requestDefaultFocus() anno 0 java.lang.Deprecated() meth public boolean requestFocus(boolean) meth public boolean requestFocusInWindow() meth public final boolean isPaintingForPrint() meth public final java.lang.Object getClientProperty(java.lang.Object) meth public final javax.swing.ActionMap getActionMap() meth public final javax.swing.InputMap getInputMap() meth public final javax.swing.InputMap getInputMap(int) meth public final void putClientProperty(java.lang.Object,java.lang.Object) meth public final void setActionMap(javax.swing.ActionMap) meth public final void setInputMap(int,javax.swing.InputMap) meth public float getAlignmentX() meth public float getAlignmentY() meth public int getBaseline(int,int) meth public int getConditionForKeyStroke(javax.swing.KeyStroke) meth public int getDebugGraphicsOptions() meth public int getHeight() meth public int getWidth() meth public int getX() meth public int getY() meth public java.awt.Component getNextFocusableComponent() anno 0 java.lang.Deprecated() meth public java.awt.Component$BaselineResizeBehavior getBaselineResizeBehavior() meth public java.awt.Container getTopLevelAncestor() meth public java.awt.Dimension getMaximumSize() meth public java.awt.Dimension getMinimumSize() meth public java.awt.Dimension getPreferredSize() meth public java.awt.Dimension getSize(java.awt.Dimension) meth public java.awt.FontMetrics getFontMetrics(java.awt.Font) meth public java.awt.Graphics getGraphics() meth public java.awt.Insets getInsets() meth public java.awt.Insets getInsets(java.awt.Insets) meth public java.awt.Point getLocation(java.awt.Point) meth public java.awt.Point getPopupLocation(java.awt.event.MouseEvent) meth public java.awt.Point getToolTipLocation(java.awt.event.MouseEvent) meth public java.awt.Rectangle getBounds(java.awt.Rectangle) meth public java.awt.Rectangle getVisibleRect() meth public java.awt.event.ActionListener getActionForKeyStroke(javax.swing.KeyStroke) meth public java.beans.VetoableChangeListener[] getVetoableChangeListeners() meth public java.lang.String getToolTipText() meth public java.lang.String getToolTipText(java.awt.event.MouseEvent) meth public java.lang.String getUIClassID() meth public javax.swing.InputVerifier getInputVerifier() meth public javax.swing.JPopupMenu getComponentPopupMenu() meth public javax.swing.JRootPane getRootPane() meth public javax.swing.JToolTip createToolTip() meth public javax.swing.KeyStroke[] getRegisteredKeyStrokes() meth public javax.swing.TransferHandler getTransferHandler() meth public javax.swing.border.Border getBorder() meth public javax.swing.event.AncestorListener[] getAncestorListeners() meth public static boolean isLightweightComponent(java.awt.Component) meth public static java.util.Locale getDefaultLocale() meth public static void setDefaultLocale(java.util.Locale) meth public void addAncestorListener(javax.swing.event.AncestorListener) meth public void addNotify() meth public void addVetoableChangeListener(java.beans.VetoableChangeListener) meth public void computeVisibleRect(java.awt.Rectangle) meth public void disable() anno 0 java.lang.Deprecated() meth public void enable() anno 0 java.lang.Deprecated() meth public void firePropertyChange(java.lang.String,boolean,boolean) meth public void firePropertyChange(java.lang.String,char,char) meth public void firePropertyChange(java.lang.String,int,int) meth public void grabFocus() meth public void hide() anno 0 java.lang.Deprecated() meth public void paint(java.awt.Graphics) meth public void paintImmediately(int,int,int,int) meth public void paintImmediately(java.awt.Rectangle) meth public void print(java.awt.Graphics) meth public void printAll(java.awt.Graphics) meth public void registerKeyboardAction(java.awt.event.ActionListener,java.lang.String,javax.swing.KeyStroke,int) meth public void registerKeyboardAction(java.awt.event.ActionListener,javax.swing.KeyStroke,int) meth public void removeAncestorListener(javax.swing.event.AncestorListener) meth public void removeNotify() meth public void removeVetoableChangeListener(java.beans.VetoableChangeListener) meth public void repaint(java.awt.Rectangle) meth public void repaint(long,int,int,int,int) meth public void requestFocus() meth public void resetKeyboardActions() meth public void reshape(int,int,int,int) anno 0 java.lang.Deprecated() meth public void revalidate() meth public void scrollRectToVisible(java.awt.Rectangle) meth public void setAlignmentX(float) meth public void setAlignmentY(float) meth public void setAutoscrolls(boolean) meth public void setBackground(java.awt.Color) meth public void setBorder(javax.swing.border.Border) meth public void setComponentPopupMenu(javax.swing.JPopupMenu) meth public void setDebugGraphicsOptions(int) meth public void setDoubleBuffered(boolean) meth public void setEnabled(boolean) meth public void setFocusTraversalKeys(int,java.util.Set<? extends java.awt.AWTKeyStroke>) meth public void setFont(java.awt.Font) meth public void setForeground(java.awt.Color) meth public void setInheritsPopupMenu(boolean) meth public void setInputVerifier(javax.swing.InputVerifier) meth public void setMaximumSize(java.awt.Dimension) meth public void setMinimumSize(java.awt.Dimension) meth public void setNextFocusableComponent(java.awt.Component) anno 0 java.lang.Deprecated() meth public void setOpaque(boolean) meth public void setPreferredSize(java.awt.Dimension) meth public void setRequestFocusEnabled(boolean) meth public void setToolTipText(java.lang.String) meth public void setTransferHandler(javax.swing.TransferHandler) meth public void setVerifyInputWhenFocusTarget(boolean) meth public void setVisible(boolean) meth public void unregisterKeyboardAction(javax.swing.KeyStroke) meth public void update(java.awt.Graphics) meth public void updateUI() supr java.awt.Container hfds ACTIONMAP_CREATED,ANCESTOR_INPUTMAP_CREATED,ANCESTOR_USING_BUFFER,AUTOSCROLLS_SET,COMPLETELY_OBSCURED,CREATED_DOUBLE_BUFFER,DEBUG_GRAPHICS_LOADED,FOCUS_INPUTMAP_CREATED,FOCUS_TRAVERSAL_KEYS_BACKWARD_SET,FOCUS_TRAVERSAL_KEYS_FORWARD_SET,INHERITS_POPUP_MENU,INPUT_VERIFIER_SOURCE_KEY,IS_DOUBLE_BUFFERED,IS_OPAQUE,IS_PAINTING_TILE,IS_PRINTING,IS_PRINTING_ALL,IS_REPAINTING,KEYBOARD_BINDINGS_KEY,KEY_EVENTS_ENABLED,NEXT_FOCUS,NOT_OBSCURED,OPAQUE_SET,PARTIALLY_OBSCURED,REQUEST_FOCUS_DISABLED,RESERVED_1,RESERVED_2,RESERVED_3,RESERVED_4,RESERVED_5,RESERVED_6,WHEN_IN_FOCUSED_WINDOW_BINDINGS,WIF_INPUTMAP_CREATED,WRITE_OBJ_COUNTER_FIRST,WRITE_OBJ_COUNTER_LAST,aaTextInfo,actionMap,alignmentX,alignmentY,ancestorInputMap,autoscrolls,border,clientProperties,componentObtainingGraphicsFrom,componentObtainingGraphicsFromLock,defaultLocale,flags,focusController,focusInputMap,inputVerifier,isAlignmentXSet,isAlignmentYSet,managingFocusBackwardTraversalKeys,managingFocusForwardTraversalKeys,paintingChild,popupMenu,readObjectCallbacks,revalidateRunnableScheduled,tempRectangles,uiClassID,verifyInputWhenFocusTarget,vetoableChangeSupport,windowInputMap hcls ActionStandin,IntVector,KeyboardState,ReadObjectCallback CLSS public javax.swing.JPanel cons public init() cons public init(boolean) cons public init(java.awt.LayoutManager) cons public init(java.awt.LayoutManager,boolean) innr protected AccessibleJPanel intf javax.accessibility.Accessible meth protected java.lang.String paramString() meth public java.lang.String getUIClassID() meth public javax.accessibility.AccessibleContext getAccessibleContext() meth public javax.swing.plaf.PanelUI getUI() meth public void setUI(javax.swing.plaf.PanelUI) meth public void updateUI() supr javax.swing.JComponent hfds uiClassID CLSS public javax.swing.JTextField cons public init() cons public init(int) cons public init(java.lang.String) cons public init(java.lang.String,int) cons public init(javax.swing.text.Document,java.lang.String,int) fld public final static java.lang.String notifyAction = "notify-field-accept" innr protected AccessibleJTextField intf javax.swing.SwingConstants meth protected int getColumnWidth() meth protected java.beans.PropertyChangeListener createActionPropertyChangeListener(javax.swing.Action) meth protected java.lang.String paramString() meth protected javax.swing.text.Document createDefaultModel() meth protected void actionPropertyChanged(javax.swing.Action,java.lang.String) meth protected void configurePropertiesFromAction(javax.swing.Action) meth protected void fireActionPerformed() meth public boolean isValidateRoot() meth public int getColumns() meth public int getHorizontalAlignment() meth public int getScrollOffset() meth public java.awt.Dimension getPreferredSize() meth public java.awt.event.ActionListener[] getActionListeners() meth public java.lang.String getUIClassID() meth public javax.accessibility.AccessibleContext getAccessibleContext() meth public javax.swing.Action getAction() meth public javax.swing.Action[] getActions() meth public javax.swing.BoundedRangeModel getHorizontalVisibility() meth public void addActionListener(java.awt.event.ActionListener) meth public void postActionEvent() meth public void removeActionListener(java.awt.event.ActionListener) meth public void scrollRectToVisible(java.awt.Rectangle) meth public void setAction(javax.swing.Action) meth public void setActionCommand(java.lang.String) meth public void setColumns(int) meth public void setDocument(javax.swing.text.Document) meth public void setFont(java.awt.Font) meth public void setHorizontalAlignment(int) meth public void setScrollOffset(int) supr javax.swing.text.JTextComponent hfds action,actionPropertyChangeListener,columnWidth,columns,command,defaultActions,horizontalAlignment,uiClassID,visibility hcls NotifyAction,ScrollRepainter,TextFieldActionPropertyChangeListener CLSS public abstract interface javax.swing.Scrollable meth public abstract boolean getScrollableTracksViewportHeight() meth public abstract boolean getScrollableTracksViewportWidth() meth public abstract int getScrollableBlockIncrement(java.awt.Rectangle,int,int) meth public abstract int getScrollableUnitIncrement(java.awt.Rectangle,int,int) meth public abstract java.awt.Dimension getPreferredScrollableViewportSize() CLSS public abstract interface javax.swing.SwingConstants fld public final static int BOTTOM = 3 fld public final static int CENTER = 0 fld public final static int EAST = 3 fld public final static int HORIZONTAL = 0 fld public final static int LEADING = 10 fld public final static int LEFT = 2 fld public final static int NEXT = 12 fld public final static int NORTH = 1 fld public final static int NORTH_EAST = 2 fld public final static int NORTH_WEST = 8 fld public final static int PREVIOUS = 13 fld public final static int RIGHT = 4 fld public final static int SOUTH = 5 fld public final static int SOUTH_EAST = 4 fld public final static int SOUTH_WEST = 6 fld public final static int TOP = 1 fld public final static int TRAILING = 11 fld public final static int VERTICAL = 1 fld public final static int WEST = 7 CLSS public abstract interface javax.swing.event.PopupMenuListener intf java.util.EventListener meth public abstract void popupMenuCanceled(javax.swing.event.PopupMenuEvent) meth public abstract void popupMenuWillBecomeInvisible(javax.swing.event.PopupMenuEvent) meth public abstract void popupMenuWillBecomeVisible(javax.swing.event.PopupMenuEvent) CLSS public abstract javax.swing.text.JTextComponent cons public init() fld public final static java.lang.String DEFAULT_KEYMAP = "default" fld public final static java.lang.String FOCUS_ACCELERATOR_KEY = "focusAcceleratorKey" innr public AccessibleJTextComponent innr public final static DropLocation innr public static KeyBinding intf javax.accessibility.Accessible intf javax.swing.Scrollable meth protected boolean saveComposedText(int) meth protected java.lang.String paramString() meth protected void fireCaretUpdate(javax.swing.event.CaretEvent) meth protected void processInputMethodEvent(java.awt.event.InputMethodEvent) meth protected void restoreComposedText() meth public boolean getDragEnabled() meth public boolean getScrollableTracksViewportHeight() meth public boolean getScrollableTracksViewportWidth() meth public boolean isEditable() meth public boolean print() throws java.awt.print.PrinterException meth public boolean print(java.text.MessageFormat,java.text.MessageFormat) throws java.awt.print.PrinterException meth public boolean print(java.text.MessageFormat,java.text.MessageFormat,boolean,javax.print.PrintService,javax.print.attribute.PrintRequestAttributeSet,boolean) throws java.awt.print.PrinterException meth public char getFocusAccelerator() meth public final javax.swing.DropMode getDropMode() meth public final javax.swing.text.JTextComponent$DropLocation getDropLocation() meth public final void setDropMode(javax.swing.DropMode) meth public int getCaretPosition() meth public int getScrollableBlockIncrement(java.awt.Rectangle,int,int) meth public int getScrollableUnitIncrement(java.awt.Rectangle,int,int) meth public int getSelectionEnd() meth public int getSelectionStart() meth public int viewToModel(java.awt.Point) meth public java.awt.Color getCaretColor() meth public java.awt.Color getDisabledTextColor() meth public java.awt.Color getSelectedTextColor() meth public java.awt.Color getSelectionColor() meth public java.awt.Dimension getPreferredScrollableViewportSize() meth public java.awt.Insets getMargin() meth public java.awt.Rectangle modelToView(int) throws javax.swing.text.BadLocationException meth public java.awt.im.InputMethodRequests getInputMethodRequests() meth public java.awt.print.Printable getPrintable(java.text.MessageFormat,java.text.MessageFormat) meth public java.lang.String getSelectedText() meth public java.lang.String getText() meth public java.lang.String getText(int,int) throws javax.swing.text.BadLocationException meth public java.lang.String getToolTipText(java.awt.event.MouseEvent) meth public javax.accessibility.AccessibleContext getAccessibleContext() meth public javax.swing.Action[] getActions() meth public javax.swing.event.CaretListener[] getCaretListeners() meth public javax.swing.plaf.TextUI getUI() meth public javax.swing.text.Caret getCaret() meth public javax.swing.text.Document getDocument() meth public javax.swing.text.Highlighter getHighlighter() meth public javax.swing.text.Keymap getKeymap() meth public javax.swing.text.NavigationFilter getNavigationFilter() meth public static javax.swing.text.Keymap addKeymap(java.lang.String,javax.swing.text.Keymap) meth public static javax.swing.text.Keymap getKeymap(java.lang.String) meth public static javax.swing.text.Keymap removeKeymap(java.lang.String) meth public static void loadKeymap(javax.swing.text.Keymap,javax.swing.text.JTextComponent$KeyBinding[],javax.swing.Action[]) meth public void addCaretListener(javax.swing.event.CaretListener) meth public void addInputMethodListener(java.awt.event.InputMethodListener) meth public void copy() meth public void cut() meth public void moveCaretPosition(int) meth public void paste() meth public void read(java.io.Reader,java.lang.Object) throws java.io.IOException meth public void removeCaretListener(javax.swing.event.CaretListener) meth public void removeNotify() meth public void replaceSelection(java.lang.String) meth public void select(int,int) meth public void selectAll() meth public void setCaret(javax.swing.text.Caret) meth public void setCaretColor(java.awt.Color) meth public void setCaretPosition(int) meth public void setComponentOrientation(java.awt.ComponentOrientation) meth public void setDisabledTextColor(java.awt.Color) meth public void setDocument(javax.swing.text.Document) meth public void setDragEnabled(boolean) meth public void setEditable(boolean) meth public void setFocusAccelerator(char) meth public void setHighlighter(javax.swing.text.Highlighter) meth public void setKeymap(javax.swing.text.Keymap) meth public void setMargin(java.awt.Insets) meth public void setNavigationFilter(javax.swing.text.NavigationFilter) meth public void setSelectedTextColor(java.awt.Color) meth public void setSelectionColor(java.awt.Color) meth public void setSelectionEnd(int) meth public void setSelectionStart(int) meth public void setText(java.lang.String) meth public void setUI(javax.swing.plaf.TextUI) meth public void updateUI() meth public void write(java.io.Writer) throws java.io.IOException supr javax.swing.JComponent hfds FOCUSED_COMPONENT,KEYMAP_TABLE,METHOD_OVERRIDDEN,caret,caretColor,caretEvent,checkedInputOverride,composedTextAttribute,composedTextCaret,composedTextContent,composedTextEnd,composedTextStart,defaultTransferHandler,disabledTextColor,dragEnabled,dropLocation,dropMode,editable,focusAccelerator,highlighter,inputMethodRequestsHandler,keymap,latestCommittedTextEnd,latestCommittedTextStart,margin,model,navigationFilter,needToSendKeyTypedEvent,originalCaret,selectedTextColor,selectionColor hcls ComposedTextCaret,DefaultKeymap,DefaultTransferHandler,DoSetCaretPosition,InputMethodRequestsHandler,KeymapActionMap,KeymapWrapper,MutableCaretEvent CLSS public org.netbeans.modules.nativeexecution.api.ui.util.NativeExecutionUIUtils cons public init() meth public static org.netbeans.modules.nativeexecution.api.ui.util.ValidateablePanel getConfigurationPanel(org.netbeans.modules.nativeexecution.api.ExecutionEnvironment) supr java.lang.Object CLSS public abstract interface org.netbeans.modules.nativeexecution.api.ui.util.ValidatablePanelListener meth public abstract void stateChanged(org.netbeans.modules.nativeexecution.api.ui.util.ValidateablePanel) CLSS public abstract org.netbeans.modules.nativeexecution.api.ui.util.ValidateablePanel cons public init() intf org.netbeans.modules.nativeexecution.api.util.HostPropertyValidator meth public abstract boolean hasProblem() meth public abstract java.lang.String getProblem() meth public abstract void applyChanges(java.lang.Object) meth public final void addValidationListener(org.netbeans.modules.nativeexecution.api.ui.util.ValidatablePanelListener) meth public final void fireChange() meth public final void removeValidationListener(org.netbeans.modules.nativeexecution.api.ui.util.ValidatablePanelListener) supr javax.swing.JPanel hfds listeners CLSS public abstract interface org.netbeans.modules.nativeexecution.api.util.HostPropertyValidator CLSS public abstract interface org.netbeans.modules.nativeexecution.spi.ui.HostPropertiesPanelProvider meth public abstract org.netbeans.modules.nativeexecution.api.ui.util.ValidateablePanel getHostPropertyPanel(org.netbeans.modules.nativeexecution.api.ExecutionEnvironment) CLSS public abstract interface org.netbeans.modules.nativeexecution.support.ui.api.AutocompletionProvider meth public abstract java.util.List<java.lang.String> autocomplete(java.lang.String) CLSS public abstract org.netbeans.modules.nativeexecution.support.ui.api.FileNamesCompletionProvider cons public init(org.netbeans.modules.nativeexecution.api.ExecutionEnvironment) intf org.netbeans.modules.nativeexecution.support.ui.api.AutocompletionProvider meth protected abstract java.util.List<java.lang.String> listDir(java.lang.String) meth public final java.util.List<java.lang.String> autocomplete(java.lang.String) supr java.lang.Object hfds cache,cacheLifetime,cacheSizeLimit,cleanUpTask,enabled,env,listener hcls CachedValue,Listener CLSS public final org.netbeans.modules.nativeexecution.support.ui.api.FileSelectorField cons public init() cons public init(org.netbeans.modules.nativeexecution.support.ui.api.AutocompletionProvider) intf javax.swing.event.PopupMenuListener meth public void popupMenuCanceled(javax.swing.event.PopupMenuEvent) meth public void popupMenuWillBecomeInvisible(javax.swing.event.PopupMenuEvent) meth public void popupMenuWillBecomeVisible(javax.swing.event.PopupMenuEvent) meth public void setAutocompletionProvider(org.netbeans.modules.nativeexecution.support.ui.api.AutocompletionProvider) meth public void setText(java.lang.String,boolean) supr javax.swing.JTextField hfds completable,currentTask,listenersInactive,popup,provider,rp hcls CompletableImpl,CompletionTask
import { isBot, runningOnBrowser } from "./lazyload.environment"; const defaultSettings = { elements_selector: ".lazy", container: isBot || runningOnBrowser ? document : null, threshold: 300, thresholds: null, data_src: "src", data_srcset: "srcset", data_sizes: "sizes", data_bg: "bg", data_bg_hidpi: "bg-hidpi", data_bg_multi: "bg-multi", data_bg_multi_hidpi: "bg-multi-hidpi", data_poster: "poster", class_applied: "applied", class_loading: "loading", class_loaded: "loaded", class_error: "error", unobserve_completed: true, unobserve_entered: false, cancel_on_exit: true, callback_enter: null, callback_exit: null, callback_applied: null, callback_loading: null, callback_loaded: null, callback_error: null, callback_finish: null, callback_cancel: null, use_native: false }; export const getExtendedSettings = (customSettings) => { return Object.assign({}, defaultSettings, customSettings); };
#include <gmodel.hpp> #include <minidiff.hpp> int main() { auto outer_face = gmod::new_disk( gmod::Vector{0,0,0}, gmod::Vector{0,0,1}, gmod::Vector{2,0,0}); auto inner_face = gmod::new_disk( gmod::Vector{0,0,0}, gmod::Vector{0,0,1}, gmod::Vector{1,0,0}); gmod::insert_into(outer_face, inner_face); auto face_group = gmod::new_group(); gmod::add_to_group(face_group, inner_face); gmod::add_to_group(face_group, outer_face); auto ext = gmod::extrude_face_group(face_group, [](gmod::Vector a){return a + gmod::Vector{0,0,0.2};}); auto volume_group = ext.middle; prevent_regression(volume_group, "target"); }
ABDBCS/ASMTOOLS.obj \ ABDBCS/ASMTOOLS.eobj: ASMTOOLS/ASMTOOLSMANAGER.ASM \ STDAPP.DEF GEOS.DEF GEODE.DEF RESOURCE.DEF EC.DEF LMEM.DEF \ OBJECT.DEF GRAPHICS.DEF FONTID.DEF FONT.DEF COLOR.DEF \ GSTRING.DEF TEXT.DEF CHAR.DEF UNICODE.DEF HEAP.DEF UI.DEF \ FILE.DEF VM.DEF WIN.DEF INPUT.DEF HWR.DEF LOCALIZE.DEF \ SLLANG.DEF OBJECTS/PROCESSC.DEF OBJECTS/METAC.DEF \ CHUNKARR.DEF GEOWORKS.DEF GCNLIST.DEF TIMEDATE.DEF \ OBJECTS/TEXT/TCOMMON.DEF STYLESH.DEF IACP.DEF \ OBJECTS/UIINPUTC.DEF OBJECTS/VISC.DEF OBJECTS/VCOMPC.DEF \ OBJECTS/VCNTC.DEF INTERNAL/VUTILS.DEF OBJECTS/GENC.DEF \ DISK.DEF DRIVE.DEF UDIALOG.DEF OBJECTS/GINTERC.DEF \ TOKEN.DEF OBJECTS/CLIPBRD.DEF OBJECTS/GSYSC.DEF \ OBJECTS/GPROCC.DEF ALB.DEF OBJECTS/GFIELDC.DEF \ OBJECTS/GSCREENC.DEF OBJECTS/GFSELC.DEF \ OBJECTS/GVIEWC.DEF OBJECTS/GCONTC.DEF OBJECTS/GCTRLC.DEF \ OBJECTS/GDOCC.DEF OBJECTS/GDOCCTRL.DEF \ OBJECTS/GDOCGRPC.DEF OBJECTS/GEDITCC.DEF \ OBJECTS/GVIEWCC.DEF OBJECTS/GTOOLCC.DEF \ OBJECTS/GPAGECC.DEF OBJECTS/GPENICC.DEF \ OBJECTS/GGLYPHC.DEF OBJECTS/GTRIGC.DEF \ OBJECTS/GBOOLGC.DEF OBJECTS/GITEMGC.DEF \ OBJECTS/GDLISTC.DEF OBJECTS/GITEMC.DEF OBJECTS/GBOOLC.DEF \ OBJECTS/GDISPC.DEF OBJECTS/GDCTRLC.DEF OBJECTS/GPRIMC.DEF \ OBJECTS/GAPPC.DEF OBJECTS/GTEXTC.DEF OBJECTS/GGADGETC.DEF \ OBJECTS/GVALUEC.DEF OBJECTS/GTOOLGC.DEF \ INTERNAL/GUTILS.DEF OBJECTS/HELPCC.DEF OBJECTS/EMENUC.DEF \ OBJECTS/EMOMC.DEF OBJECTS/EMTRIGC.DEF INTERNAL/UPROCC.DEF \ PRODUCT.DEF INTERNAL/SEMINT.DEF THREAD.DEF \ INTERNAL/HEAPINT.DEF SYSSTATS.DEF INTERNAL/XIP.DEF \ INTERNAL/INTERRUP.DEF DRIVER.DEF INTERNAL/VIDEODR.DEF \ HUGEARR.DEF SOCKET.DEF SOCKMISC.DEF SEM.DEF ABDBCS/BROWSER.obj \ ABDBCS/BROWSER.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH HTMLVIEW.GOH PRODUCT.GOH \ OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH \ OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH STATTEXT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH ABDBCS/BROWSER.obj \ ABDBCS/BROWSER.eobj: JS/BROWSER.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H ANSI/STDLIB.H ANSI/STRING.H \ PRODUCT.H HTMLFSTR.H AWATCHER.H HTMLOPT.H HTMLDRV.H \ MATH.H FIXES.H HTMLPROG.H HWLIB.H MEDIUM.H SOCKMISC.H \ JAVASCR.H INTERNAL/NETUTILS.H COOKIES.H INITFILE.H ABDBCS/SEBROWSE.obj \ ABDBCS/SEBROWSE.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH HTMLVIEW.GOH PRODUCT.GOH \ OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH \ OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH STATTEXT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH ABDBCS/SEBROWSE.obj \ ABDBCS/SEBROWSE.eobj: JS/SEBROWSE.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H ANSI/STDLIB.H ANSI/ASSERT.H \ PRODUCT.H HTMLFSTR.H AWATCHER.H HTMLOPT.H HTMLDRV.H \ MATH.H FIXES.H HTMLPROG.H HWLIB.H MEDIUM.H SOCKMISC.H \ JAVASCR.H ABDBCS/AWATCHER.obj \ ABDBCS/AWATCHER.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH ABDBCS/AWATCHER.obj \ ABDBCS/AWATCHER.eobj: HTMLVIEW/AWATCHER.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H AWATCHER.H ABDBCS/GLBANIM.obj \ ABDBCS/GLBANIM.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH OPTIONS.GOH PRODUCT.GOH PRODGPC.GOH ABDBCS/GLBANIM.obj \ ABDBCS/GLBANIM.eobj: HTMLVIEW/GLBANIM.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H PRODUCT.H ABDBCS/HTMLVIEW.obj \ ABDBCS/HTMLVIEW.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH OBJECTS/TEXT/TCTRLC.GOH RULER.GOH \ OBJECTS/COLORC.GOH OBJECTS/STYLES.GOH FIXES.GOH \ HTMLVIEW.GOH PRODUCT.GOH OBJECTS/GVIEWCC.GOH OPTIONS.GOH \ PRODGPC.GOH HTML4PAR.GOH OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH \ STATTEXT.GOH URLFETCH.GOH MAILHUB.GOH SOCKET.GOH \ SOCKMISC.H PARENTC.GOH FAVORITE.GOH IMPORTG.GOH \ EXPIRE.GOH HTMLV_UI.GOH OBJECTS/IDIALCC.GOH \ ART/APPICON.GOH FAVORUI.GOH FAVORCLS.GOH ART/LOCK.GOH \ ART/UNLOCK.GOH ART/GREEN.GOH ART/RED.GOH ART/YELLOW.GOH \ ICONS/ICONS.GOH ART/GI001-8.GOH ART/GI002-8.GOH \ ART/GI003-8.GOH ART/GI004-8.GOH ART/GI005-8.GOH \ ART/A111-8.GOH ART/A113-8.GOH ART/A114-8.GOH \ ART/GI009-8.GOH ART/GI010-8.GOH ART/GI011-8.GOH \ ART/GI012-8.GOH ART/GI013-8.GOH ART/GI014-8.GOH \ INIT/EXPIREUI.GOH ART/RED2.GOH ART/GREEN2.GOH \ ART/TOOLICON.GOH BREADBOX.GOH ABDBCS/HTMLVIEW.obj \ ABDBCS/HTMLVIEW.eobj: HTMLVIEW/HTMLVIEW.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H INITFILE.H SYSSTATS.H SEM.H \ ANSI/STRING.H ANSI/STDIO.H ANSI/STDLIB.H GEOMISC.H \ FIXES.H PRODUCT.H HTMLFSTR.H AWATCHER.H HTMLOPT.H \ HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H MEDIUM.H SOCKMISC.H \ JAVASCR.H ABDBCS/IMPORTG.obj \ ABDBCS/IMPORTG.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH ANSI/STRING.H HTMLVIEW.GOH PRODUCT.GOH \ OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH \ OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH STATTEXT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH IMPORTG.GOH ABDBCS/IMPORTG.obj \ ABDBCS/IMPORTG.eobj: HTMLVIEW/IMPORTG.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H ANSI/STRING.H LIBRARY.H PRODUCT.H \ HTMLFSTR.H AWATCHER.H HTMLOPT.H HTMLDRV.H MATH.H FIXES.H \ HTMLPROG.H HWLIB.H MEDIUM.H SOCKMISC.H ANSI/STDIO.H SEM.H ABDBCS/LOADURL.obj \ ABDBCS/LOADURL.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH FIXES.GOH HTMLVIEW.GOH PRODUCT.GOH \ OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH \ OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH STATTEXT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH DIALOGT.GOH GLBANIM.GOH \ SEM.H ABDBCS/LOADURL.obj \ ABDBCS/LOADURL.eobj: HTMLVIEW/LOADURL.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H LIBRARY.H ANSI/STRING.H ANSI/STDIO.H \ ANSI/STDLIB.H GEOMISC.H FIXES.H PRODUCT.H HTMLFSTR.H \ AWATCHER.H HTMLOPT.H HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H \ MEDIUM.H SOCKMISC.H SEM.H INITFILE.H ABDBCS/OPENCLOS.obj \ ABDBCS/OPENCLOS.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH OBJECTS/TEXT/TCTRLC.GOH RULER.GOH \ OBJECTS/COLORC.GOH OBJECTS/STYLES.GOH FIXES.GOH \ HTMLVIEW.GOH PRODUCT.GOH OBJECTS/GVIEWCC.GOH OPTIONS.GOH \ PRODGPC.GOH HTML4PAR.GOH OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH \ STATTEXT.GOH URLFETCH.GOH MAILHUB.GOH SOCKET.GOH \ SOCKMISC.H PARENTC.GOH FAVORITE.GOH IMPORTG.GOH \ EXPIRE.GOH IAPP.H OBJECTS/GSYSC.GOH ABDBCS/OPENCLOS.obj \ ABDBCS/OPENCLOS.eobj: HTMLVIEW/OPENCLOS.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H INITFILE.H SYSSTATS.H SEM.H \ ANSI/STRING.H ANSI/STDIO.H ANSI/STDLIB.H GEOMISC.H \ FIXES.H PRODUCT.H HTMLFSTR.H AWATCHER.H HTMLOPT.H \ HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H MEDIUM.H SOCKMISC.H \ IAPP.H ABDBCS/SCRAPBK.obj \ ABDBCS/SCRAPBK.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH OBJECTS/TEXT/TCTRLC.GOH RULER.GOH \ OBJECTS/COLORC.GOH OBJECTS/STYLES.GOH FIXES.GOH \ HTMLVIEW.GOH PRODUCT.GOH OBJECTS/GVIEWCC.GOH OPTIONS.GOH \ PRODGPC.GOH HTML4PAR.GOH OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH \ STATTEXT.GOH URLFETCH.GOH MAILHUB.GOH SOCKET.GOH \ SOCKMISC.H PARENTC.GOH FAVORITE.GOH IMPORTG.GOH \ EXPIRE.GOH ABDBCS/SCRAPBK.obj \ ABDBCS/SCRAPBK.eobj: HTMLVIEW/SCRAPBK.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H INITFILE.H SYSSTATS.H SEM.H \ ANSI/STRING.H ANSI/STDIO.H ANSI/STDLIB.H GEOMISC.H \ FIXES.H PRODUCT.H HTMLFSTR.H AWATCHER.H HTMLOPT.H \ HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H MEDIUM.H SOCKMISC.H ABDBCS/STATTEXT.obj \ ABDBCS/STATTEXT.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH ANSI/STRING.H STATTEXT.GOH \ HTMLVIEW.GOH PRODUCT.GOH OBJECTS/GVIEWCC.GOH OPTIONS.GOH \ PRODGPC.GOH HTML4PAR.GOH OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH ABDBCS/STATTEXT.obj \ ABDBCS/STATTEXT.eobj: HTMLVIEW/STATTEXT.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H ANSI/STRING.H PRODUCT.H HTMLFSTR.H \ AWATCHER.H HTMLOPT.H HTMLDRV.H MATH.H FIXES.H HTMLPROG.H \ HWLIB.H MEDIUM.H SOCKMISC.H ABDBCS/UIACTION.obj \ ABDBCS/UIACTION.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH OBJECTS/TEXT/TCTRLC.GOH RULER.GOH \ OBJECTS/COLORC.GOH OBJECTS/STYLES.GOH FIXES.GOH \ HTMLVIEW.GOH PRODUCT.GOH OBJECTS/GVIEWCC.GOH OPTIONS.GOH \ PRODGPC.GOH HTML4PAR.GOH OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH \ STATTEXT.GOH URLFETCH.GOH MAILHUB.GOH SOCKET.GOH \ SOCKMISC.H PARENTC.GOH FAVORITE.GOH IMPORTG.GOH \ EXPIRE.GOH ABDBCS/UIACTION.obj \ ABDBCS/UIACTION.eobj: HTMLVIEW/UIACTION.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H INITFILE.H SYSSTATS.H SEM.H \ ANSI/STRING.H ANSI/STDIO.H ANSI/STDLIB.H GEOMISC.H \ FIXES.H PRODUCT.H HTMLFSTR.H AWATCHER.H HTMLOPT.H \ HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H MEDIUM.H SOCKMISC.H ABDBCS/UIOFTEN.obj \ ABDBCS/UIOFTEN.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH OBJECTS/TEXT/TCTRLC.GOH RULER.GOH \ OBJECTS/COLORC.GOH OBJECTS/STYLES.GOH FIXES.GOH \ HTMLVIEW.GOH PRODUCT.GOH OBJECTS/GVIEWCC.GOH OPTIONS.GOH \ PRODGPC.GOH HTML4PAR.GOH OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH \ STATTEXT.GOH URLFETCH.GOH MAILHUB.GOH SOCKET.GOH \ SOCKMISC.H PARENTC.GOH FAVORITE.GOH IMPORTG.GOH \ EXPIRE.GOH OBJECTS/GSYSC.GOH ABDBCS/UIOFTEN.obj \ ABDBCS/UIOFTEN.eobj: HTMLVIEW/UIOFTEN.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H INITFILE.H SYSSTATS.H SEM.H \ ANSI/STRING.H ANSI/STDIO.H ANSI/STDLIB.H GEOMISC.H \ FIXES.H PRODUCT.H HTMLFSTR.H AWATCHER.H HTMLOPT.H \ HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H MEDIUM.H SOCKMISC.H ABDBCS/UIRARE.obj \ ABDBCS/UIRARE.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH OBJECTS/TEXT/TCTRLC.GOH RULER.GOH \ OBJECTS/COLORC.GOH OBJECTS/STYLES.GOH FIXES.GOH \ HTMLVIEW.GOH PRODUCT.GOH OBJECTS/GVIEWCC.GOH OPTIONS.GOH \ PRODGPC.GOH HTML4PAR.GOH OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH \ STATTEXT.GOH URLFETCH.GOH MAILHUB.GOH SOCKET.GOH \ SOCKMISC.H PARENTC.GOH FAVORITE.GOH IMPORTG.GOH \ EXPIRE.GOH OBJECTS/GSYSC.GOH ABDBCS/UIRARE.obj \ ABDBCS/UIRARE.eobj: HTMLVIEW/UIRARE.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H INITFILE.H SYSSTATS.H SEM.H \ ANSI/STRING.H ANSI/STDIO.H ANSI/STDLIB.H GEOMISC.H \ FIXES.H PRODUCT.H HTMLFSTR.H AWATCHER.H HTMLOPT.H \ HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H MEDIUM.H SOCKMISC.H ABDBCS/EXPIRE.obj \ ABDBCS/EXPIRE.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH EXPIRE.GOH OPTIONS.GOH PRODUCT.GOH \ PRODGPC.GOH ABDBCS/EXPIRE.obj \ ABDBCS/EXPIRE.eobj: INIT/EXPIRE.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H PRODUCT.H ABDBCS/INIT.obj \ ABDBCS/INIT.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH SEM.H FIXES.GOH HTMLVIEW.GOH \ PRODUCT.GOH OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH \ HTML4PAR.GOH OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH \ STATTEXT.GOH URLFETCH.GOH MAILHUB.GOH SOCKET.GOH \ SOCKMISC.H OBJECTS/TEXT/TCTRLC.GOH RULER.GOH \ OBJECTS/COLORC.GOH OBJECTS/STYLES.GOH PARENTC.GOH ABDBCS/INIT.obj \ ABDBCS/INIT.eobj: INIT/INIT.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H SEM.H LIBRARY.H INITFILE.H \ ANSI/STRING.H ANSI/STDIO.H ANSI/STDLIB.H FIXES.H \ PRODUCT.H HTMLFSTR.H AWATCHER.H HTMLOPT.H HTMLDRV.H \ MATH.H HTMLPROG.H HWLIB.H MEDIUM.H SOCKMISC.H JAVASCR.H ABDBCS/BOOKCLAS.obj \ ABDBCS/BOOKCLAS.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH OPTIONS.GOH PRODUCT.GOH PRODGPC.GOH ABDBCS/BOOKCLAS.obj \ ABDBCS/BOOKCLAS.eobj: NAVIGATE/BOOKCLAS.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H PRODUCT.H ABDBCS/BOOKMARK.obj \ ABDBCS/BOOKMARK.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH ANSI/STRING.H OPTIONS.GOH PRODUCT.GOH \ PRODGPC.GOH ABDBCS/BOOKMARK.obj \ ABDBCS/BOOKMARK.eobj: NAVIGATE/BOOKMARK.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H ANSI/STRING.H PRODUCT.H ABDBCS/FAVORCLS.obj \ ABDBCS/FAVORCLS.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH ANSI/STRING.H OPTIONS.GOH PRODUCT.GOH \ PRODGPC.GOH FAVORCLS.GOH FAVORITE.GOH HTMLVIEW.GOH \ OBJECTS/GVIEWCC.GOH HTML4PAR.GOH OBJECTS/VLTEXTC.GOH \ HTMLSTAT.GOH STATTEXT.GOH URLFETCH.GOH MAILHUB.GOH \ SOCKET.GOH SOCKMISC.H OBJECTS/TEXT/TCTRLC.GOH RULER.GOH \ OBJECTS/COLORC.GOH OBJECTS/STYLES.GOH PARENTC.GOH ABDBCS/FAVORCLS.obj \ ABDBCS/FAVORCLS.eobj: NAVIGATE/FAVORCLS.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H ANSI/STRING.H PRODUCT.H HTMLFSTR.H \ AWATCHER.H HTMLOPT.H HTMLDRV.H MATH.H FIXES.H HTMLPROG.H \ HWLIB.H MEDIUM.H SOCKMISC.H ABDBCS/FAVORITE.obj \ ABDBCS/FAVORITE.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH ANSI/STRING.H INITFILE.H OPTIONS.GOH \ PRODUCT.GOH PRODGPC.GOH FAVORITE.GOH IBTREE.GOH IBDLL.GOH \ IBMS.GOH ABDBCS/FAVORITE.obj \ ABDBCS/FAVORITE.eobj: NAVIGATE/FAVORITE.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H ANSI/STRING.H INITFILE.H PRODUCT.H ABDBCS/NAVCACHE.obj \ ABDBCS/NAVCACHE.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH FIXES.GOH HTMLVIEW.GOH PRODUCT.GOH \ OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH \ OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH STATTEXT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH DIALOGT.GOH GLBANIM.GOH \ SEM.H ABDBCS/NAVCACHE.obj \ ABDBCS/NAVCACHE.eobj: NAVIGATE/NAVCACHE.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H LIBRARY.H ANSI/STRING.H ANSI/STDIO.H \ ANSI/STDLIB.H GEOMISC.H INITFILE.H FIXES.H PRODUCT.H \ HTMLFSTR.H AWATCHER.H HTMLOPT.H HTMLDRV.H MATH.H \ HTMLPROG.H HWLIB.H MEDIUM.H SOCKMISC.H SEM.H SYSSTATS.H ABDBCS/NAVIGATE.obj \ ABDBCS/NAVIGATE.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH FIXES.GOH HTMLVIEW.GOH PRODUCT.GOH \ OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH \ OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH STATTEXT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH DIALOGT.GOH GLBANIM.GOH \ SEM.H ABDBCS/NAVIGATE.obj \ ABDBCS/NAVIGATE.eobj: NAVIGATE/NAVIGATE.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H LIBRARY.H ANSI/STRING.H ANSI/STDIO.H \ ANSI/STDLIB.H GEOMISC.H FIXES.H PRODUCT.H HTMLFSTR.H \ AWATCHER.H HTMLOPT.H HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H \ MEDIUM.H SOCKMISC.H SEM.H INITFILE.H ABDBCS/LOCALPAG.obj \ ABDBCS/LOCALPAG.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH FIXES.GOH HTMLVIEW.GOH PRODUCT.GOH \ OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH \ OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH STATTEXT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH ABDBCS/LOCALPAG.obj \ ABDBCS/LOCALPAG.eobj: URLDOC/LOCALPAG.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H ANSI/STRING.H ANSI/STDIO.H \ ANSI/STDLIB.H FIXES.H PRODUCT.H HTMLFSTR.H AWATCHER.H \ HTMLOPT.H HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H MEDIUM.H \ SOCKMISC.H ABDBCS/URLDOC.obj \ ABDBCS/URLDOC.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH FIXES.GOH HTMLVIEW.GOH PRODUCT.GOH \ OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH \ OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH STATTEXT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH FAVORITE.GOH ABDBCS/URLDOC.obj \ ABDBCS/URLDOC.eobj: URLDOC/URLDOC.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H GEOMISC.H INITFILE.H ANSI/STRING.H \ ANSI/STDIO.H ANSI/STDLIB.H FIXES.H PRODUCT.H HTMLFSTR.H \ AWATCHER.H HTMLOPT.H HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H \ MEDIUM.H SOCKMISC.H ABDBCS/URLDOCCT.obj \ ABDBCS/URLDOCCT.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH FIXES.GOH HTMLVIEW.GOH PRODUCT.GOH \ OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH \ OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH STATTEXT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH ABDBCS/URLDOCCT.obj \ ABDBCS/URLDOCCT.eobj: URLDOCCT/URLDOCCT.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H GEOMISC.H INITFILE.H ANSI/STRING.H \ ANSI/STDIO.H ANSI/STDLIB.H FIXES.H PRODUCT.H HTMLFSTR.H \ AWATCHER.H HTMLOPT.H HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H \ MEDIUM.H SOCKMISC.H ABDBCS/URLFETCH.obj \ ABDBCS/URLFETCH.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH ANSI/STRING.H SEM.H THREAD.H \ INITFILE.H HTMLVIEW.GOH PRODUCT.GOH OBJECTS/GVIEWCC.GOH \ OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH OBJECTS/VLTEXTC.GOH \ HTMLSTAT.GOH STATTEXT.GOH URLFETCH.GOH MAILHUB.GOH \ SOCKET.GOH SOCKMISC.H OBJECTS/TEXT/TCTRLC.GOH RULER.GOH \ OBJECTS/COLORC.GOH OBJECTS/STYLES.GOH PARENTC.GOH ABDBCS/URLFETCH.obj \ ABDBCS/URLFETCH.eobj: URLFETCH/URLFETCH.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H PRODUCT.H ANSI/STRING.H LIBRARY.H \ SEM.H INITFILE.H ANSI/STDIO.H HTMLFSTR.H AWATCHER.H \ HTMLOPT.H HTMLDRV.H MATH.H FIXES.H HTMLPROG.H HWLIB.H \ MEDIUM.H SOCKMISC.H ABDBCS/FRFETCH.obj \ ABDBCS/FRFETCH.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH FIXES.GOH HTMLVIEW.GOH PRODUCT.GOH \ OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH \ OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH STATTEXT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH WAV.GOH ABDBCS/FRFETCH.obj \ ABDBCS/FRFETCH.eobj: URLFRAME/FRFETCH.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H GEOMISC.H INITFILE.H ANSI/STRING.H \ ANSI/STDIO.H ANSI/STDLIB.H FIXES.H PRODUCT.H HTMLFSTR.H \ AWATCHER.H HTMLOPT.H HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H \ MEDIUM.H SOCKMISC.H JAVASCR.H COOKIES.H ABDBCS/URLFRAME.obj \ ABDBCS/URLFRAME.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH FIXES.GOH HTMLVIEW.GOH PRODUCT.GOH \ OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH \ OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH STATTEXT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH ABDBCS/URLFRAME.obj \ ABDBCS/URLFRAME.eobj: URLFRAME/URLFRAME.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H \ EC.H OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H GEOMISC.H INITFILE.H ANSI/STRING.H \ ANSI/STDIO.H ANSI/STDLIB.H FIXES.H PRODUCT.H HTMLFSTR.H \ AWATCHER.H HTMLOPT.H HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H \ MEDIUM.H SOCKMISC.H JAVASCR.H ABDBCS/URLTEXT.obj \ ABDBCS/URLTEXT.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH FIXES.GOH HTMLVIEW.GOH PRODUCT.GOH \ OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH \ OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH STATTEXT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH IMPORTG.GOH ABDBCS/URLTEXT.obj \ ABDBCS/URLTEXT.eobj: URLTEXT/URLTEXT.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H GEOMISC.H ANSI/STRING.H ANSI/STDIO.H \ ANSI/STDLIB.H FIXES.H PRODUCT.H HTMLFSTR.H AWATCHER.H \ HTMLOPT.H HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H MEDIUM.H \ SOCKMISC.H SEM.H ABDBCS/URLTEXT2.obj \ ABDBCS/URLTEXT2.eobj: STDAPP.GOH OBJECT.GOH UI.GOH OBJECTS/METAC.GOH \ OBJECTS/INPUTC.GOH OBJECTS/CLIPBRD.GOH \ OBJECTS/UIINPUTC.GOH IACP.GOH OBJECTS/WINC.GOH \ OBJECTS/GPROCC.GOH ALB.GOH OBJECTS/PROCESSC.GOH \ OBJECTS/VISC.GOH OBJECTS/VCOMPC.GOH OBJECTS/VCNTC.GOH \ OBJECTS/GAPPC.GOH OBJECTS/GENC.GOH OBJECTS/GINTERC.GOH \ OBJECTS/GPRIMC.GOH OBJECTS/GDISPC.GOH OBJECTS/GTRIGC.GOH \ OBJECTS/GVIEWC.GOH OBJECTS/GTEXTC.GOH OBJECTS/VTEXTC.GOH \ OBJECTS/GCTRLC.GOH GCNLIST.GOH SPOOL.GOH \ OBJECTS/GFSELC.GOH OBJECTS/GGLYPHC.GOH \ OBJECTS/GDOCCTRL.GOH OBJECTS/GDOCGRPC.GOH \ OBJECTS/GDOCC.GOH OBJECTS/GCONTC.GOH OBJECTS/GDCTRLC.GOH \ OBJECTS/GEDITCC.GOH OBJECTS/GBOOLGC.GOH \ OBJECTS/GITEMGC.GOH OBJECTS/GDLISTC.GOH \ OBJECTS/GITEMC.GOH OBJECTS/GBOOLC.GOH \ OBJECTS/GGADGETC.GOH OBJECTS/GTOOLCC.GOH \ OBJECTS/GVALUEC.GOH OBJECTS/GTOOLGC.GOH \ OBJECTS/HELPCC.GOH FIXES.GOH HTMLVIEW.GOH PRODUCT.GOH \ OBJECTS/GVIEWCC.GOH OPTIONS.GOH PRODGPC.GOH HTML4PAR.GOH \ OBJECTS/VLTEXTC.GOH HTMLSTAT.GOH STATTEXT.GOH \ URLFETCH.GOH MAILHUB.GOH SOCKET.GOH SOCKMISC.H \ OBJECTS/TEXT/TCTRLC.GOH RULER.GOH OBJECTS/COLORC.GOH \ OBJECTS/STYLES.GOH PARENTC.GOH ABDBCS/URLTEXT2.obj \ ABDBCS/URLTEXT2.eobj: URLTEXT/URLTEXT2.GOC GEOS.H HEAP.H GEODE.H RESOURCE.H EC.H \ OBJECT.H LMEM.H GRAPHICS.H FONTID.H FONT.H COLOR.H \ GSTRING.H TIMER.H VM.H DBASE.H LOCALIZE.H ANSI/CTYPE.H \ TIMEDATE.H FILE.H SLLANG.H SYSTEM.H GEOWORKS.H CHUNKARR.H \ OBJECTS/HELPCC.H DISK.H DRIVE.H INPUT.H CHAR.H UNICODE.H \ HWR.H WIN.H UDIALOG.H OBJECTS/GINTERC.H \ OBJECTS/TEXT/TCOMMON.H STYLESH.H DRIVER.H THREAD.H \ PRINT.H INTERNAL/SPOOLINT.H SERIALDR.H PARALLDR.H \ HUGEARR.H FILEENUM.H GEOMISC.H ANSI/STRING.H ANSI/STDIO.H \ ANSI/STDLIB.H FIXES.H PRODUCT.H HTMLFSTR.H AWATCHER.H \ HTMLOPT.H HTMLDRV.H MATH.H HTMLPROG.H HWLIB.H MEDIUM.H \ SOCKMISC.H ABDBCS/GPCBrowEC.geo ABDBCS/GPCBrow.geo : GEOS.LDF UI.LDF ANSIC.LDF TEXT.LDF SPOOL.LDF HTML4PAR.LDF IBMS.LDF NETUTILS.LDF COOKIES.LDF JS.LDF PARENTC.LDF IDIALC.LDF WAV.LDF MAILHUB.LDF SOCKET.LDF
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
onbreak {quit -f} onerror {quit -f} vsim -voptargs="+acc" -t 1ps -L dist_mem_gen_v8_0_13 -L xil_defaultlib -L unisims_ver -L unimacro_ver -L secureip -lib xil_defaultlib xil_defaultlib.DMem xil_defaultlib.glbl do {wave.do} view wave view structure view signals do {DMem.udo} run -all quit -force
/* * 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. */ /** * This Thrift file can be included by other Thrift files that want to share * these definitions. */ namespace cpp shared namespace d share // "shared" would collide with the eponymous D keyword. namespace dart shared namespace java shared namespace perl shared namespace php shared namespace haxe shared struct SharedStruct { 1: i32 key 2: string value } service SharedService { SharedStruct getStruct(1: i32 key) }
library(parallel) library(devtools) devtools::load_all() RNGkind("L'Ecuyer-CMRG") data(grid) s_seed <- 999983 s_k <- 1000 s_n <- 500 s_m <- 7 v_seed <- c(s_seed, s_seed + s_k) new_plain_5007_3 <- mclapply(v_seed, seed_loop <- function(seed) { stephanie_type2(seed, s_k / 2, s_n, s_m, "quadratic", new_r_grid_quad_500[2], L = 1000, err = 0.25, i_face = F, approx = T, truncate.tn = 1) }, mc.cores = 2) save(new_plain_5007_3, file = "new_plain_quad_5007_3.RData")
package typingsSlinky.officeUiFabricReact.indexBundleMod import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @JSImport("office-ui-fabric-react/lib/index.bundle", "DetailsListLayoutMode") @js.native object DetailsListLayoutMode extends StObject { @JSBracketAccess def apply(value: Double): js.UndefOr[ typingsSlinky.officeUiFabricReact.detailsListTypesMod.DetailsListLayoutMode with Double ] = js.native /* 0 */ val fixedColumns: typingsSlinky.officeUiFabricReact.detailsListTypesMod.DetailsListLayoutMode.fixedColumns with Double = js.native /* 1 */ val justified: typingsSlinky.officeUiFabricReact.detailsListTypesMod.DetailsListLayoutMode.justified with Double = js.native }
-- Copyright 1986-2020 Xilinx, Inc. All Rights Reserved. -- -------------------------------------------------------------------------------- -- Tool Version: Vivado v.2020.1 (win64) Build 2902540 Wed May 27 19:54:49 MDT 2020 -- Date : Thu May 13 16:37:22 2021 -- Host : DESKTOP-I57GAPL running 64-bit major release (build 9200) -- Command : write_vhdl -force -mode synth_stub -rename_top decalper_eb_ot_sdeen_pot_pi_dehcac_xnilix -prefix -- decalper_eb_ot_sdeen_pot_pi_dehcac_xnilix_ base_ilmb_v10_3_stub.vhdl -- Design : base_ilmb_v10_3 -- Purpose : Stub declaration of top-level module interface -- Device : xc7z020clg400-1 -- -------------------------------------------------------------------------------- library IEEE; use IEEE.STD_LOGIC_1164.ALL; entity decalper_eb_ot_sdeen_pot_pi_dehcac_xnilix is Port ( LMB_Clk : in STD_LOGIC; SYS_Rst : in STD_LOGIC; LMB_Rst : out STD_LOGIC; M_ABus : in STD_LOGIC_VECTOR ( 0 to 31 ); M_ReadStrobe : in STD_LOGIC; M_WriteStrobe : in STD_LOGIC; M_AddrStrobe : in STD_LOGIC; M_DBus : in STD_LOGIC_VECTOR ( 0 to 31 ); M_BE : in STD_LOGIC_VECTOR ( 0 to 3 ); Sl_DBus : in STD_LOGIC_VECTOR ( 0 to 31 ); Sl_Ready : in STD_LOGIC_VECTOR ( 0 to 0 ); Sl_Wait : in STD_LOGIC_VECTOR ( 0 to 0 ); Sl_UE : in STD_LOGIC_VECTOR ( 0 to 0 ); Sl_CE : in STD_LOGIC_VECTOR ( 0 to 0 ); LMB_ABus : out STD_LOGIC_VECTOR ( 0 to 31 ); LMB_ReadStrobe : out STD_LOGIC; LMB_WriteStrobe : out STD_LOGIC; LMB_AddrStrobe : out STD_LOGIC; LMB_ReadDBus : out STD_LOGIC_VECTOR ( 0 to 31 ); LMB_WriteDBus : out STD_LOGIC_VECTOR ( 0 to 31 ); LMB_Ready : out STD_LOGIC; LMB_Wait : out STD_LOGIC; LMB_UE : out STD_LOGIC; LMB_CE : out STD_LOGIC; LMB_BE : out STD_LOGIC_VECTOR ( 0 to 3 ) ); end decalper_eb_ot_sdeen_pot_pi_dehcac_xnilix; architecture stub of decalper_eb_ot_sdeen_pot_pi_dehcac_xnilix is attribute syn_black_box : boolean; attribute black_box_pad_pin : string; attribute syn_black_box of stub : architecture is true; attribute black_box_pad_pin of stub : architecture is "LMB_Clk,SYS_Rst,LMB_Rst,M_ABus[0:31],M_ReadStrobe,M_WriteStrobe,M_AddrStrobe,M_DBus[0:31],M_BE[0:3],Sl_DBus[0:31],Sl_Ready[0:0],Sl_Wait[0:0],Sl_UE[0:0],Sl_CE[0:0],LMB_ABus[0:31],LMB_ReadStrobe,LMB_WriteStrobe,LMB_AddrStrobe,LMB_ReadDBus[0:31],LMB_WriteDBus[0:31],LMB_Ready,LMB_Wait,LMB_UE,LMB_CE,LMB_BE[0:3]"; attribute x_core_info : string; attribute x_core_info of stub : architecture is "lmb_v10,Vivado 2020.1"; begin end;
pragma solidity ^0.4.10; contract ERC20Interface { function totalSupply() constant returns (uint256 totalSupply); function balanceOf(address _owner) constant returns (uint256 balance); function transfer(address _to, uint256 _value) returns (bool success); function transferFrom(address _from, address _to, uint256 _value) returns (bool success); function approve(address _spender, uint256 _value) returns (bool success); function allowance(address _owner, address _spender) constant returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } contract UBCToken is ERC20Interface{ string public standard = 'Token 1.0'; string public constant name="Ubiquitous Business Credit"; string public constant symbol="UBC"; uint8 public constant decimals=4; uint256 public constant _totalSupply=10000000000000; mapping(address => mapping (address => uint256)) allowed; mapping(address => uint256) balances; /* 全部*/ function UBCToken() { balances[msg.sender] = _totalSupply; } function totalSupply() constant returns (uint256 totalSupply) { totalSupply = _totalSupply; } /*balanceOf*/ function balanceOf(address _owner) constant returns (uint256 balance){ return balances[_owner]; } /* transfer */ function transfer(address _to, uint256 _amount) returns (bool success) { if (balances[msg.sender] >= _amount && _amount > 0 && balances[_to] + _amount > balances[_to]) { balances[msg.sender] -= _amount; balances[_to] += _amount; Transfer(msg.sender, _to, _amount); return true; } else { return false; } } /*transferFrom*/ function transferFrom(address _from, address _to, uint256 _amount) returns (bool success){ if (balances[_from] >= _amount && _amount > 0 && balances[_to] + _amount > balances[_to] && _amount <= allowed[_from][msg.sender]) { balances[_from] -= _amount; balances[_to] += _amount; allowed[_from][msg.sender] -= _amount; Transfer(_from, _to, _amount); return true; } else { return false; } } /**/ function approve(address _spender, uint256 _value) returns (bool success){ allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /**/ function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } }
@echo off rem Public domain rem http://unlicense.org/ rem Created by Grigore Stefan <g_stefan@yahoo.com> set XYO_PATH_REPOSITORY=%HOMEDRIVE%%HOMEPATH%\SDK set XYO_PATH_RELEASE=%HOMEDRIVE%%HOMEPATH%\SDK\release if "%XYO_PLATFORM%" == "win64-msvc-2019" goto Build if "%XYO_PLATFORM%" == "win64-msvc-2017" goto Build set XYO_PLATFORM= :Build cmd.exe /C "build\msvc.cmd win64 %1"
Class { #name : #GLMMorphicListingRenderer, #superclass : #GLMMorphicWidgetRenderer, #category : #'Glamour-Morphic' } { #category : #rendering } GLMMorphicListingRenderer >> render: aPresentation [ | treeModel container treeMorph textInput | treeModel := GLMTreeMorphModel new glamourPresentation: aPresentation. container := GLMMorphic emptyMorph. treeMorph := self treeMorphFor: treeModel and: aPresentation. aPresentation allowsInput ifTrue: [ textInput := self textInputFor: treeModel. treeMorph layoutFrame bottomOffset: -24. container addMorphBack: textInput ]. container addMorphBack: treeMorph. self installActionsOnUI: treeModel fromPresentation: aPresentation. "When the morph changes, we want to update the glamour model" treeModel announcer on: GLMTreeMorphSelectionChanged do: [ :ann | aPresentation announcer suspendAllWhile: [ aPresentation selection: ann selectionValue. aPresentation selectionPath: ann selectionPathValue] ]. treeModel announcer on: GLMTreeMorphStrongSelectionChanged do: [ :ann | aPresentation strongSelection: ann strongSelectionValue ]. "When the glamour model changes, we want to update the morph" aPresentation when: GLMContextChanged do: [ :ann | ann property = #selection ifTrue: [ treeModel announcer suspendAllWhile: [ treeMorph model explicitSelection: ann value ] ] ]. aPresentation when: GLMPresentationUpdated do: [ :ann | treeMorph model updateRoots ]. ^ container ] { #category : #private } GLMMorphicListingRenderer >> textInputFor: treeModel [ | textInput | textInput := self theme newTextEntryIn: nil for: treeModel get: #inputText set: #inputText: class: String getEnabled: #inputTextEnabled help: 'Search Input'. textInput layoutFrame: (LayoutFrame fractions: (0 @ 1 corner: 1 @ 1) offsets: (0 @ -24 corner: 0 @ 0)). ^ textInput ] { #category : #private } GLMMorphicListingRenderer >> treeMorphFor: treeModel and: aPresentation [ | treeMorph columns | treeMorph := LazyMorphTreeMorph new. treeMorph makeLastColumnUnbounded; doubleClickSelector: #onDoubleClick; getMenuSelector: #menu:shifted:; keystrokeActionSelector: #keyStroke:from:; cornerStyle: treeMorph preferredCornerStyle; borderStyle: (BorderStyle inset width: 1); autoDeselection: aPresentation allowsDeselection; hResizing: #spaceFill; vResizing: #spaceFill; layoutFrame: (LayoutFrame fractions: (0 @ 0 corner: 1 @ 1)). columns := aPresentation columns isEmpty ifTrue: [ OrderedCollection with: (MorphTreeColumn new rowMorphGetSelector: #elementColumn)] ifFalse: [ aPresentation columns collect: [:each | GLMMorphTreeColumn new glamourColumn: each; headerButtonLabel: (aPresentation titleValueOfColumn: each) font: Preferences standardMenuFont target: nil actionSelector: nil arguments: #(); yourself ]. ]. treeMorph preferedPaneColor: Color white; model: treeModel; nodeListSelector: #roots; columns: columns. aPresentation isMultiple ifTrue: [treeMorph beMultiple] ifFalse: [treeMorph beSingle]. treeModel chunkSize: aPresentation amountToShow. treeMorph vShowScrollBar. ^ treeMorph buildContents ]
[JavaScript] String startswith, endswith and contains Implementation #################################################################### :date: 2012-09-27 19:59 :modified: 2015-02-20 23:11 :tags: html, String Manipulation, JavaScript, DOM :category: JavaScript :summary: JavaScript equivalent of Python string startswith, endswith, and contains. :og_image: http://www.javatpoint.com/images/javascript/javascript_logo.png :adsu: yes When we do programming with strings, it's very common to have the following questions: 1. how do I check whether the *string* starts with *prefix*? 2. how do I check whether the *string* ends with *suffix*? 3. how do I check whether the *string* contains *sub-string*? We will show how to do these case by case in JavaScript: String startswith +++++++++++++++++ We can use JavaScript built-in `indexOf()`_ function to check whether a string starts (or begins) with prefix. For alternative solution, please refer to reference [1]_. .. code-block:: javascript /** * The string starts with prefix? * @param {string} string The string starts with prefix? * @param {string} prefix The string starts with prefix? * @return {boolean} true if string starts with prefix, otherwise false */ startswith = function(string, prefix) { return string.indexOf(prefix) == 0; }; .. adsu:: 2 String endswith +++++++++++++++ Again we use JavaScript built-in `indexOf()`_ function to check whether a string ends with suffix. For alternative solution, please refer to reference [2]_. .. code-block:: javascript /** * The string ends with suffix? * @param {string} string The string ends with suffix? * @param {string} suffix The string ends with suffix? * @return {boolean} true if string ends with suffix, otherwise false */ endswith = function(string, suffix) { return string.indexOf(suffix, string.length - suffix.length) != -1; }; .. adsu:: 3 String contains +++++++++++++++ The same trick of JavaScript built-in `indexOf()`_ function to check whether a string contains another string. For alternative solution, please refer to reference [3]_. .. code-block:: javascript /** * The string contains substr? * @param {string} string The string contains substr? * @param {string} substr The string contains substr? * @return {boolean} true if string contains substr, otherwise false */ contains = function(string, substr) { return string.indexOf(substr) != -1; }; ---- References: .. [1] `How to check if a string “StartsWith” another string? <http://stackoverflow.com/questions/646628/how-to-check-if-a-string-startswith-another-string>`_ .. [2] `endsWith in javascript <http://stackoverflow.com/questions/280634/endswith-in-javascript>`_ .. [3] `How can I check if one string contains another substring? <http://stackoverflow.com/questions/1789945/how-can-i-check-if-one-string-contains-another-substring>`_ .. [4] `JavaScript String indexOf() Method <http://www.w3schools.com/jsref/jsref_indexof.asp>`_ .. [5] `JavaScript basename() <{filename}../../10/02/javascript-basename%en.rst>`_ .. _indexOf(): http://www.w3schools.com/jsref/jsref_indexof.asp
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 class aes_smoke_test extends aes_base_test; `uvm_component_utils(aes_smoke_test) `uvm_component_new virtual function void build_phase(uvm_phase phase); super.build_phase(phase); configure_env(); endfunction function void configure_env(); super.configure_env(); // the feature below is waiting in anther PR // cfg.zero_delay_pct = 100; cfg.error_types = 0; // no errors in smoke test cfg.num_messages_min = 2; cfg.num_messages_max = 2; // message related knobs cfg.ecb_weight = 10; cfg.cbc_weight = 10; cfg.ctr_weight = 10; cfg.ofb_weight = 10; cfg.cfb_weight = 10; cfg.message_len_min = 16; // one block (16bytes=128bits) cfg.message_len_max = 32; // cfg.manual_operation_pct = 0; cfg.use_key_mask = 0; cfg.fixed_data_en = 0; cfg.fixed_key_en = 0; cfg.fixed_operation_en = 0; cfg.fixed_operation = 0; cfg.fixed_keylen_en = 0; cfg.fixed_keylen = 3'b001; cfg.fixed_iv_en = 0; cfg.random_data_key_iv_order = 0; `DV_CHECK_RANDOMIZE_FATAL(cfg) endfunction endclass : aes_smoke_test
(define (convert-xcf-to-png inFile outFile) (gimp-message "Entering the Script") (gimp-message inFile) (gimp-message outFile) (let* ( (image (car (gimp-file-load RUN-NONINTERACTIVE inFile inFile))) (drawable (car (gimp-image-merge-visible-layers image CLIP-TO-IMAGE))) ) (file-png-save-defaults RUN-NONINTERACTIVE image drawable outFile outFile) ) (gimp-quit 0) )
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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. */ namespace cpp thrift.test struct QQQ { 1: i32 y; } struct Order { 1: i32 x; 2: QQQ qqq; }
pragma solidity ^0.5.0; /** * @title Interface for security token proxy deployment */ interface IUSDTieredSTOProxy { /** * @notice Deploys the STO. * @param _securityToken Contract address of the securityToken * @param _factoryAddress Contract address of the factory * @return address Address of the deployed STO */ function deploySTO(address _securityToken, address _factoryAddress) external returns(address); /** * @notice Used to get the init function signature * @param _contractAddress Address of the STO contract * @return bytes4 */ function getInitFunction(address _contractAddress) external returns(bytes4); }
TYPE=VIEW query=select `sys`.`format_path`(`performance_schema`.`file_summary_by_instance`.`FILE_NAME`) AS `file`,`performance_schema`.`file_summary_by_instance`.`COUNT_STAR` AS `total`,`sys`.`format_time`(`performance_schema`.`file_summary_by_instance`.`SUM_TIMER_WAIT`) AS `total_latency`,`performance_schema`.`file_summary_by_instance`.`COUNT_READ` AS `count_read`,`sys`.`format_time`(`performance_schema`.`file_summary_by_instance`.`SUM_TIMER_READ`) AS `read_latency`,`performance_schema`.`file_summary_by_instance`.`COUNT_WRITE` AS `count_write`,`sys`.`format_time`(`performance_schema`.`file_summary_by_instance`.`SUM_TIMER_WRITE`) AS `write_latency`,`performance_schema`.`file_summary_by_instance`.`COUNT_MISC` AS `count_misc`,`sys`.`format_time`(`performance_schema`.`file_summary_by_instance`.`SUM_TIMER_MISC`) AS `misc_latency` from `performance_schema`.`file_summary_by_instance` order by `performance_schema`.`file_summary_by_instance`.`SUM_TIMER_WAIT` desc md5=df1590c01c7120af1cfc8bf4d4c33e23 updatable=1 algorithm=2 definer_user=mysql.sys definer_host=localhost suid=0 with_check_option=0 timestamp=2020-04-07 05:58:43 create-version=1 source=SELECT sys.format_path(file_name) AS file, count_star AS total, sys.format_time(sum_timer_wait) AS total_latency, count_read, sys.format_time(sum_timer_read) AS read_latency, count_write, sys.format_time(sum_timer_write) AS write_latency, count_misc, sys.format_time(sum_timer_misc) AS misc_latency FROM performance_schema.file_summary_by_instance ORDER BY sum_timer_wait DESC client_cs_name=utf8 connection_cl_name=utf8_general_ci view_body_utf8=select `sys`.`format_path`(`performance_schema`.`file_summary_by_instance`.`FILE_NAME`) AS `file`,`performance_schema`.`file_summary_by_instance`.`COUNT_STAR` AS `total`,`sys`.`format_time`(`performance_schema`.`file_summary_by_instance`.`SUM_TIMER_WAIT`) AS `total_latency`,`performance_schema`.`file_summary_by_instance`.`COUNT_READ` AS `count_read`,`sys`.`format_time`(`performance_schema`.`file_summary_by_instance`.`SUM_TIMER_READ`) AS `read_latency`,`performance_schema`.`file_summary_by_instance`.`COUNT_WRITE` AS `count_write`,`sys`.`format_time`(`performance_schema`.`file_summary_by_instance`.`SUM_TIMER_WRITE`) AS `write_latency`,`performance_schema`.`file_summary_by_instance`.`COUNT_MISC` AS `count_misc`,`sys`.`format_time`(`performance_schema`.`file_summary_by_instance`.`SUM_TIMER_MISC`) AS `misc_latency` from `performance_schema`.`file_summary_by_instance` order by `performance_schema`.`file_summary_by_instance`.`SUM_TIMER_WAIT` desc
syntax = "proto3"; option csharp_namespace = "Turquoise.GRPC.GRPCServices"; package k8App; import "google/protobuf/timestamp.proto"; import "google/protobuf/empty.proto"; service K8MetricService { rpc GetNodeMetric (google.protobuf.Empty) returns (NodeMetricListReply); } message NodeMetricListReply { repeated NodeMetricReply Metrics = 1; google.protobuf.Timestamp UpdatedTime = 2; } message NodeMetricReply { string Name=1; string Timestamp=2; string Window=3; repeated UsagePair Usages=4; } message UsagePair { string Key=1; string Value=2; }
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Dingtalkjzcrm_1_0.Models { public class EditProductionResponse : TeaModel { [NameInMap("headers")] [Validation(Required=true)] public Dictionary<string, string> Headers { get; set; } [NameInMap("body")] [Validation(Required=true)] public EditProductionResponseBody Body { get; set; } } }
FROM golang:1.10 as builder COPY stan_bench.go . RUN go get github.com/nats-io/go-nats-streaming RUN go build -o bench stan_bench.go FROM debian:stretch COPY --from=builder /go/bench /usr/bin/bench ENTRYPOINT ["/usr/bin/bench"]
{ "id": "0f5895a3-5c93-4353-92a3-d0c553d6688d", "modelName": "GMScript", "mvc": "1.0", "name": "Input_Init", "IsCompatibility": false, "IsDnD": false }
options NOsource; /*--------------------------------------------------------------------------- * Name: footnote.sas * * Summary: How to get more than 10 footnotes using a PROC REPORT hack. * * Adapted: Tue 24 Apr 2012 13:22:19 (Bob Heckel -- SUGI 058-2011) *--------------------------------------------------------------------------- */ options source NOcenter; options ps=20; footnote 'normal'; proc report data=sashelp.shoes; column region sales; compute after _PAGE_; line @1 "[1] foot note1 "; line @1 "[2] foot note2 "; line @1 "[3] foot note3 "; /* ... */ line @1 "[15] foot note15"; endcomp; run;
defmodule HelloWorld.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag :span, translate_error(error), class: "help-block" end end @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # Because error messages were defined within Ecto, we must # call the Gettext module passing our Gettext backend. We # also use the "errors" domain as translations are placed # in the errors.po file. On your own code and templates, # this could be written simply as: # # dngettext "errors", "1 file", "%{count} files", count # Gettext.dngettext(HelloWorld.Gettext, "errors", msg, msg, opts[:count], opts) end def translate_error(msg) do Gettext.dgettext(HelloWorld.Gettext, "errors", msg) end end
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { ElementRef } from '@angular/core'; import { BaseDirective2, StyleUtils, MediaMarshaller, StyleBuilder, StyleDefinition } from '@angular/flex-layout/core'; export declare class GridRowStyleBuilder extends StyleBuilder { buildStyles(input: string): { 'grid-row': string; }; } export declare class GridRowDirective extends BaseDirective2 { protected elementRef: ElementRef; protected styleBuilder: GridRowStyleBuilder; protected styler: StyleUtils; protected marshal: MediaMarshaller; protected DIRECTIVE_KEY: string; constructor(elementRef: ElementRef, styleBuilder: GridRowStyleBuilder, styler: StyleUtils, marshal: MediaMarshaller); protected styleCache: Map<string, StyleDefinition>; } /** * 'grid-row' CSS Grid styling directive * Configures the name or position of an element within the grid * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-26 */ export declare class DefaultGridRowDirective extends GridRowDirective { protected inputs: string[]; }
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Web Framework -- -- -- -- Tools Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2013, Vadim Godunko <vgodunko@gmail.com> -- -- 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 name of the Vadim Godunko, IE 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 -- -- HOLDER 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. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ -- This package provides utilities to handle MEP during parsing. ------------------------------------------------------------------------------ with WSDL.MEPs; private package WSDL.Parsers.MEP is function Resolve (Parser : WSDL_Parser; IRI : League.Strings.Universal_String) return not null WSDL.MEPs.MEP_Access; -- Resolves IRI to MEP. Reports MEP-1022 assertion and raises WSDL_Error -- when IRI is not known. end WSDL.Parsers.MEP;
namespace MetalSharp.X86 /// Defines the size of an operand. [<AbstractClass>] type OperandSize internal(sz: uint16) = /// Returns the size of the operand in bits. member __.Size = sz /// Defines a null operand. [<Sealed>] type S0() = inherit OperandSize(0us) /// Defines a 1-bit operand. [<Sealed>] type S1() = inherit OperandSize(1us) /// Defines an 8-bits operand. [<Sealed>] type S8() = inherit OperandSize(8us) /// Defines a 16-bits operand. [<Sealed>] type S16() = inherit OperandSize(16us) /// Defines a 32-bits operand. [<Sealed>] type S32() = inherit OperandSize(32us) /// Defines a 64-bits operand. [<Sealed>] type S64() = inherit OperandSize(64us) /// Defines a 128-bits operand. [<Sealed>] type S128() = inherit OperandSize(128us) type private OS = OperandSize /// Defines an operand with a typed size. type IOperand<'s when 's :> OS and 's : (new : unit -> 's)> = /// Gets the size of the operand. abstract Size : int /// Defines an untyped operand. [<AbstractClass>] type Operand internal() = abstract IsImmediate : bool abstract IsRegister : bool abstract IsMemory : bool /// Defines an operand. [<AbstractClass>] type Operand<'s when 's :> OS and 's : (new : unit -> 's)> internal() = inherit Operand() interface IOperand<'s> with member __.Size = int (new 's()).Size
//Address: 0x1D4ebe6a9BAf86E4E101EF5fB3af44c96F321caa //Contract name: TokenERC20 //Balance: 0 Ether //Verification Date: 4/28/2018 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.16; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract TokenERC20 { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the strongly suggested default, avoid changing it uint256 public totalSupply; // This creates an array with all balances mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; // This generates a public event on the blockchain that will notify clients event Transfer(address indexed from, address indexed to, uint256 value); // This notifies clients about the amount burnt event Burn(address indexed from, uint256 value); /** * Constructor function * * Initializes contract with initial supply tokens to the creator of the contract */ function TokenERC20( uint256 initialSupply, string tokenName, string tokenSymbol ) public { totalSupply = initialSupply * 10 ** uint256(decimals); // Update total supply with the decimal amount balanceOf[msg.sender] = totalSupply; // Give the creator all initial tokens name = tokenName; // Set the name for display purposes symbol = tokenSymbol; // Set the symbol for display purposes } /** * Internal transfer, only can be called by this contract */ function _transfer(address _from, address _to, uint _value) internal { // Prevent transfer to 0x0 address. Use burn() instead require(_to != 0x0); // Check if the sender has enough require(balanceOf[_from] >= _value); // Check for overflows require(balanceOf[_to] + _value >= balanceOf[_to]); // Save this for an assertion in the future uint previousBalances = balanceOf[_from] + balanceOf[_to]; // Subtract from the sender balanceOf[_from] -= _value; // Add the same to the recipient balanceOf[_to] += _value; emit Transfer(_from, _to, _value); // Asserts are used to use static analysis to find bugs in your code. They should never fail assert(balanceOf[_from] + balanceOf[_to] == previousBalances); } /** * Transfer tokens * * Send `_value` tokens to `_to` from your account * * @param _to The address of the recipient * @param _value the amount to send */ function transfer(address _to, uint256 _value) public { _transfer(msg.sender, _to, _value); } /** * Transfer tokens from other address * * Send `_value` tokens to `_to` on behalf of `_from` * * @param _from The address of the sender * @param _to The address of the recipient * @param _value the amount to send */ function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) { require(_value <= allowance[_from][msg.sender]); // Check allowance allowance[_from][msg.sender] -= _value; _transfer(_from, _to, _value); return true; } /** * Set allowance for other address * * Allows `_spender` to spend no more than `_value` tokens on your behalf * * @param _spender The address authorized to spend * @param _value the max amount they can spend */ function approve(address _spender, uint256 _value) public returns (bool success) { allowance[msg.sender][_spender] = _value; return true; } /** * Set allowance for other address and notify * * Allows `_spender` to spend no more than `_value` tokens on your behalf, and then ping the contract about it * * @param _spender The address authorized to spend * @param _value the max amount they can spend * @param _extraData some extra information to send to the approved contract */ function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success) { tokenRecipient spender = tokenRecipient(_spender); if (approve(_spender, _value)) { spender.receiveApproval(msg.sender, _value, this, _extraData); return true; } } /** * Destroy tokens * * Remove `_value` tokens from the system irreversibly * * @param _value the amount of money to burn */ function burn(uint256 _value) public returns (bool success) { require(balanceOf[msg.sender] >= _value); // Check if the sender has enough balanceOf[msg.sender] -= _value; // Subtract from the sender totalSupply -= _value; // Updates totalSupply emit Burn(msg.sender, _value); return true; } /** * Destroy tokens from other account * * Remove `_value` tokens from the system irreversibly on behalf of `_from`. * * @param _from the address of the sender * @param _value the amount of money to burn */ function burnFrom(address _from, uint256 _value) public returns (bool success) { require(balanceOf[_from] >= _value); // Check if the targeted balance is enough require(_value <= allowance[_from][msg.sender]); // Check allowance balanceOf[_from] -= _value; // Subtract from the targeted balance allowance[_from][msg.sender] -= _value; // Subtract from the sender's allowance totalSupply -= _value; // Update totalSupply emit Burn(_from, _value); return true; } }
module API.Web.Console import IdrisScript %access public export %default total -- TODO: Proper type log : String -> JS_IO () log = jscall "console.log(%0)" (String -> JS_IO ())
set(PROCESSORS 1) set(RUN_SHELL "/usr/local/bin/zsh -l -c /bin/sh") set(CVS_COMMAND "/usr/local/bin/cvs") set(HOST destiny) set(MAKE_PROGRAM "/usr/local/bin/gmake") set(INITIAL_CACHE "CMAKE_BUILD_TYPE:STRING=Release CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE CMAKE_EXE_LINKER_FLAGS:STRING=-Wl,-a,archive_shared CMAKE_C_FLAGS:STRING=+DAportable CMAKE_CXX_FLAGS:STRING=-Wl,+vnocompatwarnings +W740,749 +DAportable -D__HPACC_STRICTER_ANSI__") get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH) include(${path}/release_cmake.cmake)
%% @author Arjan Scherpenisse <arjan@scherpenisse.net> %% @copyright 2009 Arjan Scherpenisse %% Date: 2009-10-03 %% @doc Get information about the system. %% Copyright 2009 Arjan Scherpenisse %% %% 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. -module(service_base_meta). -author("Arjan Scherpenisse <arjan@scherpenisse.net>"). -svc_title("Meta-information about all API calls."). -svc_needauth(false). -export([process_get/1]). -include_lib("zotonic.hrl"). process_get(Context) -> M = z_service:all(info, Context), {array, [ {struct, [ {Key, z_convert:to_atom(Value)} || {Key, Value} <- L] } || L <- M]}.
window.qq = window.qq || {}; qq.maps = qq.maps || {}; window.soso || (window.soso = qq); soso.maps || (soso.maps = qq.maps); (function () { function getScript(src) { var protocol = (window.location.protocol == "https:") ? "https://" : "http://"; src = src && (src.indexOf("http://") === 0 || src.indexOf("https://") === 0) ? src : protocol + src; document.write('<' + 'script src="' + src + '"' +' type="text/javascript"><' + '/script>'); } qq.maps.__load = function (apiLoad) { delete qq.maps.__load; apiLoad([["2.4.142","HUOBZ-E53WD-R724J-HIKXM-VQ3NJ-HIFIZ",0],["https://mapapi.qq.com/","jsapi_v2/2/4/142/mods/","https://mapapi.qq.com/jsapi_v2/2/4/142/theme/",true],[1,18,34.519469,104.461761,4],[1645670552884,"https://pr.map.qq.com/pingd","https://pr.map.qq.com/pingd"],["https://apis.map.qq.com/jsapi","https://apikey.map.qq.com/mkey/index.php/mkey/check","https://sv.map.qq.com/xf","https://sv.map.qq.com/boundinfo","https://sv.map.qq.com/rarp","https://apis.map.qq.com/api/proxy/search","https://apis.map.qq.com/api/proxy/routes/","https://confinfo.map.qq.com/confinfo","https://overseactrl.map.qq.com"],[[null,["https://rt0.map.gtimg.com/tile","https://rt1.map.gtimg.com/tile","https://rt2.map.gtimg.com/tile","https://rt3.map.gtimg.com/tile"],"png",[256,256],3,19,"114",true,false],[null,["https://m0.map.gtimg.com/hwap","https://m1.map.gtimg.com/hwap","https://m2.map.gtimg.com/hwap","https://m3.map.gtimg.com/hwap"],"png",[128,128],3,18,"110",false,false],[null,["https://p0.map.gtimg.com/sateTiles","https://p1.map.gtimg.com/sateTiles","https://p2.map.gtimg.com/sateTiles","https://p3.map.gtimg.com/sateTiles"],"jpg",[256,256],1,19,"101",false,false],[null,["https://rt0.map.gtimg.com/tile","https://rt1.map.gtimg.com/tile","https://rt2.map.gtimg.com/tile","https://rt3.map.gtimg.com/tile"],"png",[256,256],1,19,"",false,false],[null,["https://sv0.map.qq.com/hlrender/","https://sv1.map.qq.com/hlrender/","https://sv2.map.qq.com/hlrender/","https://sv3.map.qq.com/hlrender/"],"png",[256,256],1,19,"",false,false],[null,["https://rtt2.map.qq.com/rtt/","https://rtt2a.map.qq.com/rtt/","https://rtt2b.map.qq.com/rtt/","https://rtt2c.map.qq.com/rtt/"],"png",[256,256],1,19,"",false,false],null,[["https://rt0.map.gtimg.com/vector/","https://rt1.map.gtimg.com/vector/","https://rt2.map.gtimg.com/vector/","https://rt3.map.gtimg.com/vector/"],[256,256],3,18,"114",["https://rt0.map.gtimg.com/icons/","https://rt1.map.gtimg.com/icons/","https://rt2.map.gtimg.com/icons/","https://rt3.map.gtimg.com/icons/"],[]],null],["https://s.map.qq.com/TPano/v1.1.2/TPano.js","map.qq.com/",""],"{\"ver\":5,\"isup\":1,\"url\":\"https://mapstyle.qpic.cn/fileupdate/jsauto/style?id=30&version=5\"}"],loadScriptTime); }; var loadScriptTime = (new Date).getTime(); getScript("https://mapapi.qq.com/c/=/jsapi_v2/2/4/142/main.js,jsapi_v2/2/4/142/mods/drawing.js,jsapi_v2/2/4/142/mods/geometry.js,jsapi_v2/2/4/142/mods/convertor.js"); })();
pragma solidity ^0.4.13; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public view returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0)); OwnershipTransferred(owner, newOwner); owner = newOwner; } } library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract FOMO is ERC20,Ownable{ using SafeMath for uint256; //the base info of the token string public constant name="FOMO"; string public constant symbol="FMC"; string public constant version = "1.0"; uint256 public constant decimals = 18; uint256 public airdropSupply; address public admin; uint256 public MAX_SUPPLY=20000000*10**decimals; struct epoch { uint256 endTime; uint256 amount; } mapping(address=>epoch[]) public lockEpochsMap; mapping(address => uint256) balances; mapping (address => mapping (address => uint256)) allowed; function FOMO(){ airdropSupply=0; totalSupply = MAX_SUPPLY; balances[msg.sender] = MAX_SUPPLY; Transfer(0x0, msg.sender, MAX_SUPPLY); } function airdrop(address [] _holders,uint256 paySize) external onlyOwner { uint256 count = _holders.length; assert(paySize.mul(count) <= balanceOf(msg.sender)); for (uint256 i = 0; i < count; i++) { transfer(_holders [i], paySize); airdropSupply = airdropSupply.add(paySize); } } function addIssue(uint256 amount) external { assert(msg.sender == owner||msg.sender == admin); if(msg.sender == owner){ balances[msg.sender] = balances[msg.sender].add(amount); MAX_SUPPLY=MAX_SUPPLY.add(amount); Transfer(0x0, msg.sender, amount); }else if(msg.sender == admin){ balances[msg.sender] = balances[msg.sender].add(amount); Transfer(0x0, msg.sender, amount); } } function () payable external { } function etherProceeds() external onlyOwner { if(!msg.sender.send(this.balance)) revert(); } function lockBalance(address user, uint256 amount,uint256 endTime) external onlyOwner { epoch[] storage epochs = lockEpochsMap[user]; epochs.push(epoch(endTime,amount)); } function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); //计算锁仓份额 epoch[] epochs = lockEpochsMap[msg.sender]; uint256 needLockBalance = 0; for(uint256 i;i<epochs.length;i++) { if( now < epochs[i].endTime ) { needLockBalance=needLockBalance.add(epochs[i].amount); } } require(balances[msg.sender].sub(_value)>=needLockBalance); // SafeMath.sub will throw if there is not enough balance. balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } function balanceOf(address _owner) public constant returns (uint256 balance) { return balances[_owner]; } function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); epoch[] epochs = lockEpochsMap[_from]; uint256 needLockBalance = 0; for(uint256 i;i<epochs.length;i++) { if( now < epochs[i].endTime ) { needLockBalance = needLockBalance.add(epochs[i].amount); } } require(balances[_from].sub(_value)>=needLockBalance); uint256 _allowance = allowed[_from][msg.sender]; balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = _allowance.sub(_value); Transfer(_from, _to, _value); return true; } function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) public constant returns (uint256 remaining) { return allowed[_owner][_spender]; } function setAdmin(address _admin) public onlyOwner{ admin=_admin; } }
# To compile and deploy a contract in the hard way ## Use solidity to write the contract source code Contract filename: X.sol Contract name: X ## Generate Javascript file from the Solidity source code file: echo "var ContractOutput=`solc --optimize --combined-json abi,bin,interface X.sol`" > X.js ## Compile and deploy the contract in a geth console (in the same folder as with the .js file): loadScript('X.js'); var ContractAbi = ContractOutput.contracts['X.sol:X'].abi; var Contract = eth.contract(JSON.parse(ContractAbi)); var BinCode = "0x" + ContractOutput.contracts['X.sol:X'].bin; personal.unlockAccount("0x..."); var deployTransationObject = { from: "0x...", data: BinCode, gas: 2000000 }; var Instance = Contract.new(deployTransationObject); ## Interact with the deployed contract var Address = eth.getTransactionReceipt(Instance.transactionHash).contractAddress; var ThisContract = Contract.at(Address); # To access a contract with source code and contract address ## Generate Javascript file in the contract folder: echo "var ContractOutput=`solc --optimize --combined-json abi,bin,interface X.sol`" > X.js ## Compile and access the contract in a geth console loadScript('X.js'); var ContractAbi = ContractOutput.contracts['X.sol:X'].abi; var Contract = eth.contract(JSON.parse(ContractAbi)); var ThisContract = Contract.at("0x...");
pragma solidity ^0.4.15; /// @title Ownable /// @dev The Ownable contract has an owner address, and provides basic authorization control functions, this simplifies /// and the implementation of &quot;user permissions&quot;. contract Ownable { address public owner; address public newOwnerCandidate; event OwnershipRequested(address indexed _by, address indexed _to); event OwnershipTransferred(address indexed _from, address indexed _to); /// @dev The Ownable constructor sets the original `owner` of the contract to the sender /// account. function Ownable() { owner = msg.sender; } /// @dev Reverts if called by any account other than the owner. modifier onlyOwner() { if (msg.sender != owner) { revert(); } _; } modifier onlyOwnerCandidate() { if (msg.sender != newOwnerCandidate) { revert(); } _; } /// @dev Proposes to transfer control of the contract to a newOwnerCandidate. /// @param _newOwnerCandidate address The address to transfer ownership to. function requestOwnershipTransfer(address _newOwnerCandidate) external onlyOwner { require(_newOwnerCandidate != address(0)); newOwnerCandidate = _newOwnerCandidate; OwnershipRequested(msg.sender, newOwnerCandidate); } /// @dev Accept ownership transfer. This method needs to be called by the previously proposed owner. function acceptOwnership() external onlyOwnerCandidate { address previousOwner = owner; owner = newOwnerCandidate; newOwnerCandidate = address(0); OwnershipTransferred(previousOwner, owner); } } /// @title Math operations with safety checks library SafeMath { function mul(uint256 a, uint256 b) internal returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal returns (uint256) { // assert(b &gt; 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn&#39;t hold return c; } function sub(uint256 a, uint256 b) internal returns (uint256) { assert(b &lt;= a); return a - b; } function add(uint256 a, uint256 b) internal returns (uint256) { uint256 c = a + b; assert(c &gt;= a); return c; } function max64(uint64 a, uint64 b) internal constant returns (uint64) { return a &gt;= b ? a : b; } function min64(uint64 a, uint64 b) internal constant returns (uint64) { return a &lt; b ? a : b; } function max256(uint256 a, uint256 b) internal constant returns (uint256) { return a &gt;= b ? a : b; } function min256(uint256 a, uint256 b) internal constant returns (uint256) { return a &lt; b ? a : b; } } /// @title ERC Token Standard #20 Interface (https://github.com/ethereum/EIPs/issues/20) contract ERC20 { uint256 public totalSupply; function balanceOf(address _owner) constant returns (uint256 balance); function transfer(address _to, uint256 _value) returns (bool success); function transferFrom(address _from, address _to, uint256 _value) returns (bool success); function approve(address _spender, uint256 _value) returns (bool success); function allowance(address _owner, address _spender) constant returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } /// @title Basic ERC20 token contract implementation. /// @dev Based on OpenZeppelin&#39;s StandardToken. contract BasicToken is ERC20 { using SafeMath for uint256; uint256 public totalSupply; mapping (address =&gt; mapping (address =&gt; uint256)) allowed; mapping (address =&gt; uint256) balances; event Approval(address indexed owner, address indexed spender, uint256 value); event Transfer(address indexed from, address indexed to, uint256 value); /// @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. /// @param _spender address The address which will spend the funds. /// @param _value uint256 The amount of tokens to be spent. function approve(address _spender, uint256 _value) public returns (bool) { // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 if ((_value != 0) &amp;&amp; (allowed[msg.sender][_spender] != 0)) { revert(); } allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /// @dev Function to check the amount of tokens that an owner allowed to a spender. /// @param _owner address The address which owns the funds. /// @param _spender address The address which will spend the funds. /// @return uint256 specifying the amount of tokens still available for the spender. function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } /// @dev Gets the balance of the specified address. /// @param _owner address The address to query the the balance of. /// @return uint256 representing the amount owned by the passed address. function balanceOf(address _owner) constant returns (uint256 balance) { return balances[_owner]; } /// @dev transfer token to a specified address. /// @param _to address The address to transfer to. /// @param _value uint256 The amount to be transferred. function transfer(address _to, uint256 _value) public returns (bool) { balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } /// @dev Transfer tokens from one address to another. /// @param _from address The address which you want to send tokens from. /// @param _to address The address which you want to transfer to. /// @param _value uint256 the amount of tokens to be transferred. function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { uint256 _allowance = allowed[_from][msg.sender]; balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = _allowance.sub(_value); Transfer(_from, _to, _value); return true; } } /// @title Token holder contract. contract TokenHolder is Ownable { /// @dev Allow the owner to transfer out any accidentally sent ERC20 tokens. /// @param _tokenAddress address The address of the ERC20 contract. /// @param _amount uint256 The amount of tokens to be transferred. function transferAnyERC20Token(address _tokenAddress, uint256 _amount) onlyOwner returns (bool success) { return ERC20(_tokenAddress).transfer(owner, _amount); } } /// @title Kin token contract. contract KinToken is Ownable, BasicToken, TokenHolder { using SafeMath for uint256; string public constant name = &quot;Kin&quot;; string public constant symbol = &quot;KIN&quot;; // Using same decimal value as ETH (makes ETH-KIN conversion much easier). uint8 public constant decimals = 18; // States whether creating more tokens is allowed or not. // Used during token sale. bool public isMinting = true; event MintingEnded(); modifier onlyDuringMinting() { require(isMinting); _; } modifier onlyAfterMinting() { require(!isMinting); _; } /// @dev Mint Kin tokens. /// @param _to address Address to send minted Kin to. /// @param _amount uint256 Amount of Kin tokens to mint. function mint(address _to, uint256 _amount) external onlyOwner onlyDuringMinting { totalSupply = totalSupply.add(_amount); balances[_to] = balances[_to].add(_amount); Transfer(0x0, _to, _amount); } /// @dev End minting mode. function endMinting() external onlyOwner { if (isMinting == false) { return; } isMinting = false; MintingEnded(); } /// @dev Same ERC20 behavior, but reverts if still minting. /// @param _spender address The address which will spend the funds. /// @param _value uint256 The amount of tokens to be spent. function approve(address _spender, uint256 _value) public onlyAfterMinting returns (bool) { return super.approve(_spender, _value); } /// @dev Same ERC20 behavior, but reverts if still minting. /// @param _to address The address to transfer to. /// @param _value uint256 The amount to be transferred. function transfer(address _to, uint256 _value) public onlyAfterMinting returns (bool) { return super.transfer(_to, _value); } /// @dev Same ERC20 behavior, but reverts if still minting. /// @param _from address The address which you want to send tokens from. /// @param _to address The address which you want to transfer to. /// @param _value uint256 the amount of tokens to be transferred. function transferFrom(address _from, address _to, uint256 _value) public onlyAfterMinting returns (bool) { return super.transferFrom(_from, _to, _value); } } /// @title Vesting trustee contract for Kin token. contract VestingTrustee is Ownable { using SafeMath for uint256; // Kin token contract. KinToken public kin; // Vesting grant for a speicifc holder. struct Grant { uint256 value; uint256 start; uint256 cliff; uint256 end; uint256 installmentLength; // In seconds. uint256 transferred; bool revokable; } // Holder to grant information mapping. mapping (address =&gt; Grant) public grants; // Total tokens available for vesting. uint256 public totalVesting; event NewGrant(address indexed _from, address indexed _to, uint256 _value); event TokensUnlocked(address indexed _to, uint256 _value); event GrantRevoked(address indexed _holder, uint256 _refund); /// @dev Constructor that initializes the address of the Kin token contract. /// @param _kin KinToken The address of the previously deployed Kin token contract. function VestingTrustee(KinToken _kin) { require(_kin != address(0)); kin = _kin; } /// @dev Grant tokens to a specified address. Please note, that the trustee must have enough ungranted tokens to /// accomodate the new grant. Otherwise, the call with fail. /// @param _to address The holder address. /// @param _value uint256 The amount of tokens to be granted. /// @param _start uint256 The beginning of the vesting period. /// @param _cliff uint256 Duration of the cliff period (when the first installment is made). /// @param _end uint256 The end of the vesting period. /// @param _installmentLength uint256 The length of each vesting installment (in seconds). /// @param _revokable bool Whether the grant is revokable or not. function grant(address _to, uint256 _value, uint256 _start, uint256 _cliff, uint256 _end, uint256 _installmentLength, bool _revokable) external onlyOwner { require(_to != address(0)); require(_to != address(this)); // Protect this contract from receiving a grant. require(_value &gt; 0); // Require that every holder can be granted tokens only once. require(grants[_to].value == 0); // Require for time ranges to be consistent and valid. require(_start &lt;= _cliff &amp;&amp; _cliff &lt;= _end); // Require installment length to be valid and no longer than (end - start). require(_installmentLength &gt; 0 &amp;&amp; _installmentLength &lt;= _end.sub(_start)); // Grant must not exceed the total amount of tokens currently available for vesting. require(totalVesting.add(_value) &lt;= kin.balanceOf(address(this))); // Assign a new grant. grants[_to] = Grant({ value: _value, start: _start, cliff: _cliff, end: _end, installmentLength: _installmentLength, transferred: 0, revokable: _revokable }); // Since tokens have been granted, reduce the total amount available for vesting. totalVesting = totalVesting.add(_value); NewGrant(msg.sender, _to, _value); } /// @dev Revoke the grant of tokens of a specifed address. /// @param _holder The address which will have its tokens revoked. function revoke(address _holder) public onlyOwner { Grant memory grant = grants[_holder]; // Grant must be revokable. require(grant.revokable); // Calculate amount of remaining tokens that can still be returned. uint256 refund = grant.value.sub(grant.transferred); // Remove the grant. delete grants[_holder]; // Update total vesting amount and transfer previously calculated tokens to owner. totalVesting = totalVesting.sub(refund); kin.transfer(msg.sender, refund); GrantRevoked(_holder, refund); } /// @dev Calculate the total amount of vested tokens of a holder at a given time. /// @param _holder address The address of the holder. /// @param _time uint256 The specific time to calculate against. /// @return a uint256 Representing a holder&#39;s total amount of vested tokens. function vestedTokens(address _holder, uint256 _time) external constant returns (uint256) { Grant memory grant = grants[_holder]; if (grant.value == 0) { return 0; } return calculateVestedTokens(grant, _time); } /// @dev Calculate amount of vested tokens at a specifc time. /// @param _grant Grant The vesting grant. /// @param _time uint256 The time to be checked /// @return An uint256 Representing the amount of vested tokens of a specific grant. function calculateVestedTokens(Grant _grant, uint256 _time) private constant returns (uint256) { // If we&#39;re before the cliff, then nothing is vested. if (_time &lt; _grant.cliff) { return 0; } // If we&#39;re after the end of the vesting period - everything is vested; if (_time &gt;= _grant.end) { return _grant.value; } // Calculate amount of installments past until now. // // NOTE result gets floored because of integer division. uint256 installmentsPast = _time.sub(_grant.start).div(_grant.installmentLength); // Calculate amount of days in entire vesting period. uint256 vestingDays = _grant.end.sub(_grant.start); // Calculate and return the number of tokens according to vesting days that have passed. return _grant.value.mul(installmentsPast.mul(_grant.installmentLength)).div(vestingDays); } /// @dev Unlock vested tokens and transfer them to the grantee. function unlockVestedTokens() external { Grant storage grant = grants[msg.sender]; // Make sure the grant has tokens available. require(grant.value != 0); // Get the total amount of vested tokens, acccording to grant. uint256 vested = calculateVestedTokens(grant, now); if (vested == 0) { return; } // Make sure the holder doesn&#39;t transfer more than what he already has. uint256 transferable = vested.sub(grant.transferred); if (transferable == 0) { return; } // Update transferred and total vesting amount, then transfer remaining vested funds to holder. grant.transferred = grant.transferred.add(transferable); totalVesting = totalVesting.sub(transferable); kin.transfer(msg.sender, transferable); TokensUnlocked(msg.sender, transferable); } } /// @title Kin token sale contract. contract KinTokenSale is Ownable, TokenHolder { using SafeMath for uint256; // External parties: // KIN token contract. KinToken public kin; // Vesting contract for pre-sale participants. VestingTrustee public trustee; // Received funds are forwarded to this address. address public fundingRecipient; // Kin token unit. // Using same decimal value as ETH (makes ETH-KIN conversion much easier). // This is the same as in Kin token contract. uint256 public constant TOKEN_UNIT = 10 ** 18; // Maximum number of tokens in circulation: 10 trillion. uint256 public constant MAX_TOKENS = 10 ** 13 * TOKEN_UNIT; // Maximum tokens offered in the sale. uint256 public constant MAX_TOKENS_SOLD = 512195121951 * TOKEN_UNIT; // Wei to 1 USD ratio. uint256 public constant WEI_PER_USD = uint256(1 ether) / 289; // KIN to 1 USD ratio, // such that MAX_TOKENS_SOLD / KIN_PER_USD is the $75M cap. uint256 public constant KIN_PER_USD = 6829 * TOKEN_UNIT; // KIN to 1 wei ratio. uint256 public constant KIN_PER_WEI = KIN_PER_USD / WEI_PER_USD; // Sale start and end timestamps. uint256 public constant SALE_DURATION = 14 days; uint256 public startTime; uint256 public endTime; // Amount of tokens sold until now in the sale. uint256 public tokensSold = 0; // Participation caps, according to KYC tiers. uint256 public constant TIER_1_CAP = 100000 * WEI_PER_USD; uint256 public constant TIER_2_CAP = uint256(-1); // Maximum uint256 value // Accumulated amount each participant has contributed so far. mapping (address =&gt; uint256) public participationHistory; // Maximum amount that each participant is allowed to contribute (in WEI). mapping (address =&gt; uint256) public participationCaps; // Maximum amount ANYBODY is currently allowed to contribute. uint256 public hardParticipationCap = 4393 * WEI_PER_USD; // Vesting information for special addresses: struct TokenGrant { uint256 value; uint256 startOffset; uint256 cliffOffset; uint256 endOffset; uint256 installmentLength; uint8 percentVested; } address[] public tokenGrantees; mapping (address =&gt; TokenGrant) public tokenGrants; uint256 public lastGrantedIndex = 0; uint256 public constant MAX_TOKEN_GRANTEES = 100; uint256 public constant GRANT_BATCH_SIZE = 10; // Post-TDE multisig addresses. address public constant KIN_FOUNDATION_ADDRESS = 0x56aE76573EC54754bC5B6A8cBF04bBd7Dc86b0A0; address public constant KIK_ADDRESS = 0x3bf4BbE253153678E9E8E540395C22BFf7fCa87d; event TokensIssued(address indexed _to, uint256 _tokens); /// @dev Reverts if called when not during sale. modifier onlyDuringSale() { require(!saleEnded() &amp;&amp; now &gt;= startTime); _; } /// @dev Reverts if called before sale ends. modifier onlyAfterSale() { require(saleEnded()); _; } /// @dev Constructor that initializes the sale conditions. /// @param _fundingRecipient address The address of the funding recipient. /// @param _startTime uint256 The start time of the token sale. function KinTokenSale(address _fundingRecipient, uint256 _startTime) { require(_fundingRecipient != address(0)); require(_startTime &gt; now); // Deploy new KinToken contract. kin = new KinToken(); // Deploy new VestingTrustee contract. trustee = new VestingTrustee(kin); fundingRecipient = _fundingRecipient; startTime = _startTime; endTime = startTime + SALE_DURATION; // Initialize special vesting grants. initTokenGrants(); } /// @dev Initialize token grants. function initTokenGrants() private onlyOwner { // Issue the remaining 60% to Kin Foundation&#39;s multisig wallet. In a few days, after the token sale is // finalized, these tokens will be loaded into the KinVestingTrustee smart contract, according to the white // paper. Please note, that this is implied by setting a 0% vesting percent. tokenGrantees.push(KIN_FOUNDATION_ADDRESS); tokenGrants[KIN_FOUNDATION_ADDRESS] = TokenGrant(MAX_TOKENS.mul(60).div(100), 0, 0, 3 years, 1 days, 0); // Kik, 30% tokenGrantees.push(KIK_ADDRESS); tokenGrants[KIK_ADDRESS] = TokenGrant(MAX_TOKENS.mul(30).div(100), 0, 0, 120 weeks, 12 weeks, 100); } /// @dev Adds a Kin token vesting grant. /// @param _grantee address The address of the token grantee. Can be granted only once. /// @param _value uint256 The value of the grant. function addTokenGrant(address _grantee, uint256 _value) external onlyOwner { require(_grantee != address(0)); require(_value &gt; 0); require(tokenGrantees.length + 1 &lt;= MAX_TOKEN_GRANTEES); // Verify the grant doesn&#39;t already exist. require(tokenGrants[_grantee].value == 0); for (uint i = 0; i &lt; tokenGrantees.length; i++) { require(tokenGrantees[i] != _grantee); } // Add grant and add to grantee list. tokenGrantees.push(_grantee); tokenGrants[_grantee] = TokenGrant(_value, 0, 1 years, 1 years, 1 days, 50); } /// @dev Deletes a Kin token grant. /// @param _grantee address The address of the token grantee. function deleteTokenGrant(address _grantee) external onlyOwner { require(_grantee != address(0)); // Delete the grant from the keys array. for (uint i = 0; i &lt; tokenGrantees.length; i++) { if (tokenGrantees[i] == _grantee) { delete tokenGrantees[i]; break; } } // Delete the grant from the mapping. delete tokenGrants[_grantee]; } /// @dev Add a list of participants to a capped participation tier. /// @param _participants address[] The list of participant addresses. /// @param _cap uint256 The cap amount (in ETH). function setParticipationCap(address[] _participants, uint256 _cap) private onlyOwner { for (uint i = 0; i &lt; _participants.length; i++) { participationCaps[_participants[i]] = _cap; } } /// @dev Add a list of participants to cap tier #1. /// @param _participants address[] The list of participant addresses. function setTier1Participants(address[] _participants) external onlyOwner { setParticipationCap(_participants, TIER_1_CAP); } /// @dev Add a list of participants to tier #2. /// @param _participants address[] The list of participant addresses. function setTier2Participants(address[] _participants) external onlyOwner { setParticipationCap(_participants, TIER_2_CAP); } /// @dev Set hard participation cap for all participants. /// @param _cap uint256 The hard cap amount. function setHardParticipationCap(uint256 _cap) external onlyOwner { require(_cap &gt; 0); hardParticipationCap = _cap; } /// @dev Fallback function that will delegate the request to create(). function () external payable onlyDuringSale { create(msg.sender); } /// @dev Create and sell tokens to the caller. /// @param _recipient address The address of the recipient receiving the tokens. function create(address _recipient) public payable onlyDuringSale { require(_recipient != address(0)); // Enforce participation cap (in Wei received). uint256 weiAlreadyParticipated = participationHistory[msg.sender]; uint256 participationCap = SafeMath.min256(participationCaps[msg.sender], hardParticipationCap); uint256 cappedWeiReceived = SafeMath.min256(msg.value, participationCap.sub(weiAlreadyParticipated)); require(cappedWeiReceived &gt; 0); // Accept funds and transfer to funding recipient. uint256 weiLeftInSale = MAX_TOKENS_SOLD.sub(tokensSold).div(KIN_PER_WEI); uint256 weiToParticipate = SafeMath.min256(cappedWeiReceived, weiLeftInSale); participationHistory[msg.sender] = weiAlreadyParticipated.add(weiToParticipate); fundingRecipient.transfer(weiToParticipate); // Issue tokens and transfer to recipient. uint256 tokensLeftInSale = MAX_TOKENS_SOLD.sub(tokensSold); uint256 tokensToIssue = weiToParticipate.mul(KIN_PER_WEI); if (tokensLeftInSale.sub(tokensToIssue) &lt; KIN_PER_WEI) { // If purchase would cause less than KIN_PER_WEI tokens left then nobody could ever buy them. // So, gift them to the last buyer. tokensToIssue = tokensLeftInSale; } tokensSold = tokensSold.add(tokensToIssue); issueTokens(_recipient, tokensToIssue); // Partial refund if full participation not possible // e.g. due to cap being reached. uint256 refund = msg.value.sub(weiToParticipate); if (refund &gt; 0) { msg.sender.transfer(refund); } } /// @dev Finalizes the token sale event, by stopping token minting. function finalize() external onlyAfterSale onlyOwner { if (!kin.isMinting()) { revert(); } require(lastGrantedIndex == tokenGrantees.length); // Finish minting. kin.endMinting(); } /// @dev Grants pre-configured token grants in batches. When the method is called, it&#39;ll resume from the last grant, /// from its previous run, and will finish either after granting GRANT_BATCH_SIZE grants or finishing the whole list /// of grants. function grantTokens() external onlyAfterSale onlyOwner { uint endIndex = SafeMath.min256(tokenGrantees.length, lastGrantedIndex + GRANT_BATCH_SIZE); for (uint i = lastGrantedIndex; i &lt; endIndex; i++) { address grantee = tokenGrantees[i]; // Calculate how many tokens have been granted, vested, and issued such that: granted = vested + issued. TokenGrant memory tokenGrant = tokenGrants[grantee]; uint256 tokensGranted = tokenGrant.value.mul(tokensSold).div(MAX_TOKENS_SOLD); uint256 tokensVesting = tokensGranted.mul(tokenGrant.percentVested).div(100); uint256 tokensIssued = tokensGranted.sub(tokensVesting); // Transfer issued tokens that have yet to be transferred to grantee. if (tokensIssued &gt; 0) { issueTokens(grantee, tokensIssued); } // Transfer vested tokens that have yet to be transferred to vesting trustee, and initialize grant. if (tokensVesting &gt; 0) { issueTokens(trustee, tokensVesting); trustee.grant(grantee, tokensVesting, now.add(tokenGrant.startOffset), now.add(tokenGrant.cliffOffset), now.add(tokenGrant.endOffset), tokenGrant.installmentLength, true); } lastGrantedIndex++; } } /// @dev Issues tokens for the recipient. /// @param _recipient address The address of the recipient. /// @param _tokens uint256 The amount of tokens to issue. function issueTokens(address _recipient, uint256 _tokens) private { // Request Kin token contract to mint the requested tokens for the buyer. kin.mint(_recipient, _tokens); TokensIssued(_recipient, _tokens); } /// @dev Returns whether the sale has ended. /// @return bool Whether the sale has ended or not. function saleEnded() private constant returns (bool) { return tokensSold &gt;= MAX_TOKENS_SOLD || now &gt;= endTime; } /// @dev Requests to transfer control of the Kin token contract to a new owner. /// @param _newOwnerCandidate address The address to transfer ownership to. /// /// NOTE: /// 1. The new owner will need to call Kin token contract&#39;s acceptOwnership directly in order to accept the ownership. /// 2. Calling this method during the token sale will prevent the token sale to continue, since only the owner of /// the Kin token contract can issue new tokens. function requestKinTokenOwnershipTransfer(address _newOwnerCandidate) external onlyOwner { kin.requestOwnershipTransfer(_newOwnerCandidate); } /// @dev Accepts new ownership on behalf of the Kin token contract. // This can be used by the sale contract itself to claim back ownership of the Kin token contract. function acceptKinTokenOwnership() external onlyOwner { kin.acceptOwnership(); } /// @dev Requests to transfer control of the VestingTrustee contract to a new owner. /// @param _newOwnerCandidate address The address to transfer ownership to. /// /// NOTE: /// 1. The new owner will need to call VestingTrustee&#39;s acceptOwnership directly in order to accept the ownership. /// 2. Calling this method during the token sale will prevent the token sale from finalizaing, since only the owner /// of the VestingTrustee contract can issue new token grants. function requestVestingTrusteeOwnershipTransfer(address _newOwnerCandidate) external onlyOwner { trustee.requestOwnershipTransfer(_newOwnerCandidate); } /// @dev Accepts new ownership on behalf of the VestingTrustee contract. /// This can be used by the token sale contract itself to claim back ownership of the VestingTrustee contract. function acceptVestingTrusteeOwnership() external onlyOwner { trustee.acceptOwnership(); } }
--- layout: post title: 前端切图学习-随机冷笑话组件 subtitle: Dad Jokes date: 2021-09-01 author: R1NG header-img: img/blogpost_images/20210902095104.png description: catalog: true tags: - 2021 - 前端学习 - 50P50D --- # 随机冷笑话组件 Dad Jokes ## 1. 概述 该项目本体展示了一个随机显示并可切换内容的冷笑话组件. 效果: ![20210902095104](https://cdn.jsdelivr.net/gh/KirisameR/KirisameR.github.io/img/blogpost_images/20210902095104.png) <br> ## 2. 结构和切图 网页的基本结构如下: ~~~html <body> <div class="container"> <h3>Don't Laugh Challenge</h3> <div id="joke" class="joke">// Joke goes here</div> <button id="jokeBtn" class='btn'>Get Another Joke</button> </div> </body> ~~~ <br> ## 3. 编写 `CSS` 样式 首先处理 `body` 排版方式: ~~~css body { background-color: #686de0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; overflow: hidden; margin: 0; padding: 20px; } ~~~ 其次定义笑话容器的样式, 标题与正文: ~~~css .container { background-color: #fff; border-radius: 10px; box-shadow: 0 10px 20px rgba(0,0,0,.1), 0 6px 6px rgba(0,0,0,.1); padding: 50px 20px; text-align: center; max-width: 100%; width: 800px; } h3 { margin: 0; opacity: .5; letter-spacing: 2px; } .joke { font-size: 30px; letter-spacing: 1px; line-height: 40px; margin: 50px auto; max-width: 600px; } ~~~ 最后定义按钮的样式: ~~~css .btn { background-color: #9f68e0; color: #fff; border: 0; border-radius: 50px; padding: 10px 20px; box-shadow: 0 5px 15px rgba(0, 0, 0, .1), 0 6px 6px rgba(0, 0, 0, .1); transition: all .3s ease; font-size: 18px; } .btn:active { transform: scale(.98); } .btn:focus { outline: 0; } ~~~ 完整的 `CSS` 样式表如下: ~~~css * { box-sizing: border-box; } body { background-color: #686de0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; overflow: hidden; margin: 0; padding: 20px; } .container { background-color: #fff; border-radius: 10px; box-shadow: 0 10px 20px rgba(0,0,0,.1), 0 6px 6px rgba(0,0,0,.1); padding: 50px 20px; text-align: center; max-width: 100%; width: 800px; } h3 { margin: 0; opacity: .5; letter-spacing: 2px; } .joke { font-size: 30px; letter-spacing: 1px; line-height: 40px; margin: 50px auto; max-width: 600px; } .btn { background-color: #9f68e0; color: #fff; border: 0; border-radius: 50px; padding: 10px 20px; box-shadow: 0 5px 15px rgba(0, 0, 0, .1), 0 6px 6px rgba(0, 0, 0, .1); transition: all .3s ease; font-size: 18px; } .btn:active { transform: scale(.98); } .btn:focus { outline: 0; } ~~~ <br> ## 4. `JavaScript` 最后, 我们编写 `JavaScript` 函数: ~~~javascript const jokeEl = document.getElementById('joke'); const jokeBtn = document.getElementById('jokeBtn'); // check for button clicking jokeBtn.addEventListener('click', generateJoke); generateJoke(); // using ASYNC/AWAIT async function generateJoke() { const config = { headers: { Accept: 'application/json', }, } const res = await fetch('https://icanhazdadjoke.com', config); const data = await res.json(); jokeEl.innerHTML = data.joke } ~~~ 最后, 完整的网页演示可见 [此处](../../../../../projects/50P50D/dad-jokes/index.html)
/** * @file CubeLIASettings.h * @author YOUR NAME <YOUR EMAIL ADDRESS> * * @version 2015-11-24 * Created on 2015-11-24. */ #pragma once namespace smtrat { struct CubeLIASettings1 { /// Name of the Module static constexpr auto moduleName = "CubeLIAModule<CubeLIASettings1>"; /** * */ static const bool exclude_unsatisfiable_cube_space = false; }; }
//Address: 0xac3894e7504d0353cae797ba565076d4ba9487aa //Contract name: IssuerWithId //Balance: 0 Ether //Verification Date: 1/10/2018 //Transacion Count: 5843 // CODE STARTS HERE /** * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net * * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt */ /** * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net * * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt */ /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant returns (uint256); function transfer(address to, uint256 value) returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function sub(uint256 a, uint256 b) internal constant returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) returns (bool) { balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) constant returns (uint256 balance) { return balances[_owner]; } } /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) constant returns (uint256); function transferFrom(address from, address to, uint256 value) returns (bool); function approve(address spender, uint256 value) returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) allowed; /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amout of tokens to be transfered */ function transferFrom(address _from, address _to, uint256 _value) returns (bool) { var _allowance = allowed[_from][msg.sender]; // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met // require (_value <= _allowance); balances[_to] = balances[_to].add(_value); balances[_from] = balances[_from].sub(_value); allowed[_from][msg.sender] = _allowance.sub(_value); Transfer(_from, _to, _value); return true; } /** * @dev Aprove the passed address to spend the specified amount of tokens on behalf of msg.sender. * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) returns (bool) { // To change the approve amount you first have to reduce the addresses` // allowance to zero by calling `approve(_spender, 0)` if it is not // already 0 to mitigate the race condition described here: // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 require((_value == 0) || (allowed[msg.sender][_spender] == 0)); allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifing the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } } /** * Standard EIP-20 token with an interface marker. * * @notice Interface marker is used by crowdsale contracts to validate that addresses point a good token contract. * */ contract StandardTokenExt is StandardToken { /* Interface declaration */ function isToken() public constant returns (bool weAre) { return true; } } /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) onlyOwner { require(newOwner != address(0)); owner = newOwner; } } /** * Issuer manages token distribution after the crowdsale. * * This contract is fed a CSV file with Ethereum addresses and their * issued token balances. * * Issuer act as a gate keeper to ensure there is no double issuance * per ID number, in the case we need to do several issuance batches, * there is a race condition or there is a fat finger error. * * Issuer contract gets allowance from the team multisig to distribute tokens. * */ contract IssuerWithId is Ownable { /** Map IDs whose tokens we have already issued. */ mapping(uint => bool) public issued; /** Centrally issued token we are distributing to our contributors */ StandardTokenExt public token; /** Party (team multisig) who is in the control of the token pool. Note that this will be different from the owner address (scripted) that calls this contract. */ address public allower; /** How many addresses have received their tokens. */ uint public issuedCount; /** Issue event **/ event Issued(address benefactor, uint amount, uint id); function IssuerWithId(address _owner, address _allower, StandardTokenExt _token) { require(address(_owner) != address(0)); require(address(_allower) != address(0)); require(address(_token) != address(0)); owner = _owner; allower = _allower; token = _token; } function issue(address benefactor, uint amount, uint id) onlyOwner { if(issued[id]) throw; token.transferFrom(allower, benefactor, amount); issued[id] = true; issuedCount += amount; Issued(benefactor, amount, id); } }
.card { color: blue; font-size: 30px; font-weight: bold; margin: 0; padding-left: 10px; }
// Copyright 2016 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by 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 integration import ( "context" "sync" "testing" "time" "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" "github.com/coreos/etcd/pkg/testutil" "google.golang.org/grpc" "google.golang.org/grpc/transport" ) // TestV3MaintenanceDefragmentInflightRange ensures inflight range requests // does not panic the mvcc backend while defragment is running. func TestV3MaintenanceDefragmentInflightRange(t *testing.T) { defer testutil.AfterTest(t) clus := NewClusterV3(t, &ClusterConfig{Size: 1}) defer clus.Terminate(t) cli := clus.RandClient() kvc := toGRPC(cli).KV if _, err := kvc.Put(context.Background(), &pb.PutRequest{Key: []byte("foo"), Value: []byte("bar")}); err != nil { t.Fatal(err) } ctx, cancel := context.WithTimeout(context.Background(), time.Second) donec := make(chan struct{}) go func() { defer close(donec) kvc.Range(ctx, &pb.RangeRequest{Key: []byte("foo")}) }() mvc := toGRPC(cli).Maintenance mvc.Defragment(context.Background(), &pb.DefragmentRequest{}) cancel() <-donec } // TestV3KVInflightRangeRequests ensures that inflight requests // (sent before server shutdown) are gracefully handled by server-side. // They are either finished or canceled, but never crash the backend. // See https://github.com/coreos/etcd/issues/7322 for more detail. func TestV3KVInflightRangeRequests(t *testing.T) { defer testutil.AfterTest(t) clus := NewClusterV3(t, &ClusterConfig{Size: 1}) defer clus.Terminate(t) cli := clus.RandClient() kvc := toGRPC(cli).KV if _, err := kvc.Put(context.Background(), &pb.PutRequest{Key: []byte("foo"), Value: []byte("bar")}); err != nil { t.Fatal(err) } ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second) reqN := 10 // use 500+ for fast machine var wg sync.WaitGroup wg.Add(reqN) for i := 0; i < reqN; i++ { go func() { defer wg.Done() _, err := kvc.Range(ctx, &pb.RangeRequest{Key: []byte("foo"), Serializable: true}, grpc.FailFast(false)) if err != nil { errDesc := rpctypes.ErrorDesc(err) if err != nil && !(errDesc == context.Canceled.Error() || errDesc == transport.ErrConnClosing.Desc) { t.Fatalf("inflight request should be canceled with '%v' or '%v', got '%v'", context.Canceled.Error(), transport.ErrConnClosing.Desc, errDesc) } } }() } clus.Members[0].Stop(t) cancel() wg.Wait() }
package IM.Login; import "IM.BaseDefine.proto"; option java_package = "com.mogujie.tt.protobuf"; //option java_outer_classname = "MOGUJIEIMMessage"; option optimize_for = LITE_RUNTIME; //service id: 0x0001 message IMMsgServReq{ //cmd id: 0x0101 } message IMMsgServRsp{ //cmd id: 0x0102 required IM.BaseDefine.ResultType result_code = 1; optional string prior_ip = 2; optional string backip_ip = 3; optional uint32 port = 4; } message IMLoginReq{ //cmd id: 0x0103 required string user_name = 1; required string password = 2; required IM.BaseDefine.UserStatType online_status = 3; required IM.BaseDefine.ClientType client_type = 4; optional string client_version = 5; optional uint32 crypto_flag = 6; } message IMLoginRes{ //cmd id: 0x0104 required uint32 server_time = 1; required IM.BaseDefine.ResultType result_code = 2; optional string result_string = 3; optional IM.BaseDefine.UserStatType online_status = 4; optional IM.BaseDefine.UserInfo user_info = 5; optional string client_key = 6; } message IMLogoutReq{ //cmd id: 0x0105 } message IMLogoutRsp{ //cmd id: 0x0106 required uint32 result_code = 1; } message IMKickUser{ //cmd id: 0x0107 required uint32 user_id = 1; required IM.BaseDefine.KickReasonType kick_reason = 2; } message IMDeviceTokenReq{ //cmd id: 0x0108 required uint32 user_id = 1; required string device_token = 2; optional IM.BaseDefine.ClientType client_type = 3; optional bytes attach_data = 20; } message IMDeviceTokenRsp{ //cmd id: 0x0109 required uint32 user_id = 1; optional bytes attach_data = 20; } //只给移动端请求 message IMKickPCClientReq{ //cmd id: 0x010a required uint32 user_id = 1; } message IMKickPCClientRsp{ //cmd id: 0x010b required uint32 user_id = 1; required uint32 result_code = 2; } // 一旦设置以后,22:00 -- 07:00不发送 message IMPushShieldReq { //cmd id: 0x010c required uint32 user_id = 1; required uint32 shield_status = 2;// 1:开启,0:关闭 optional bytes attach_data = 20; // 服务端用,客户端不用设置 } message IMPushShieldRsp { //cmd id: 0x010d required uint32 user_id = 1; required uint32 result_code = 2; // 值: 0:successed 1:failed optional uint32 shield_status = 3; // 值: 如果result_code值为0(successed),则shield_status值设置, 1:开启, 0:关闭 optional bytes attach_data = 20; // 服务端用,客户端不用设置 } // 如果用户重新安装app,第一次启动登录成功后,app主动查询 // 服务端返回IMQueryPushShieldRsp message IMQueryPushShieldReq { //cmd id: 0x010e required uint32 user_id = 1; optional bytes attach_data = 20;// 服务端用,客户端不用设置 } message IMQueryPushShieldRsp { //cmd id: 0x010f required uint32 user_id = 1; required uint32 result_code = 2; // 值: 0:successed 1:failed optional uint32 shield_status = 3; // 值: 如果result_code值为0(successed),则shield_status值设置, 1:开启, 0:关闭 optional bytes attach_data = 20; }
class SessionController < ApplicationController skip_before_action :require_login, only: [:new, :create] def new end def create user = User.find_by name: params[:session][:name].downcase if user && user.authenticate(params[:session][:password]) #TODO save user infor into session flash[:success] = "Login success" #redirect_to 'http://localhost:3000/home' log_in user redirect_to user else flash[:danger] = "Invalid email/password combination" render :new end end def destroy log_out flash[:success] = "Ban da dang xuat" redirect_to login_path end end
/* * 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.nifi.controller.queue.clustered.partition import org.apache.nifi.controller.repository.FlowFileRecord import spock.lang.Specification import spock.lang.Unroll import java.util.concurrent.ConcurrentLinkedQueue import java.util.concurrent.Executors import java.util.concurrent.TimeUnit class NonLocalPartitionPartitionerSpec extends Specification { def "getPartition chooses local partition with 1 partition and throws IllegalStateException"() { given: "a local partitioner using a local partition" def partitioner = new NonLocalPartitionPartitioner() def localPartition = Mock QueuePartition def partitions = [localPartition] as QueuePartition[] def flowFileRecord = Mock FlowFileRecord when: "a partition is requested from the partitioner" partitioner.getPartition flowFileRecord, partitions, localPartition then: "an IllegalStateExceptions thrown" thrown(IllegalStateException) } @Unroll def "getPartition chooses non-local partition with #maxPartitions partitions, #threads threads, #iterations iterations"() { given: "a local partitioner" def partitioner = new NonLocalPartitionPartitioner() def partitions = new QueuePartition[maxPartitions] and: "a local partition" def localPartition = Mock QueuePartition partitions[0] = localPartition and: "one or more multiple partitions" for (int id = 1; id < maxPartitions; ++id) { def partition = Mock QueuePartition partitions[id] = partition } and: "an array to hold the resulting chosen partitions and an executor service with one or more threads" def flowFileRecord = Mock FlowFileRecord def chosenPartitions = [] as ConcurrentLinkedQueue def executorService = Executors.newFixedThreadPool threads when: "a partition is requested from the partitioner for a given flowfile record and the existing partitions" iterations.times { executorService.submit { chosenPartitions.add partitioner.getPartition(flowFileRecord, partitions, localPartition) } } executorService.shutdown() try { while (!executorService.awaitTermination(10, TimeUnit.MILLISECONDS)) { Thread.sleep(10) } } catch (InterruptedException e) { executorService.shutdownNow() Thread.currentThread().interrupt() } then: "no exceptions are thrown" noExceptionThrown() and: "there is a chosen partition for each iteration" chosenPartitions.size() == iterations and: "each chosen partition is a remote partition and is one of the existing partitions" def validChosenPartitions = chosenPartitions.findAll { it != localPartition && partitions.contains(it) } and: "there is a valid chosen partition for each iteration" validChosenPartitions.size() == iterations and: "there are no other mock interactions" 0 * _ where: maxPartitions | threads | iterations 2 | 1 | 1 2 | 1 | 10 2 | 1 | 100 2 | 10 | 1000 5 | 1 | 1 5 | 1 | 10 5 | 1 | 100 5 | 10 | 1000 } }
--- title: "Department profiles" --- ```{r global-options, include=FALSE} # Set echo=false for all chunks knitr::opts_chunk$set(echo=FALSE) ``` Below are links to department-specific profiles. These contain the outputs present on the summary statistics page, filtered by department. Only departments with 20 or more respondents are included. ## Department sample sizes ``` {r} library(magrittr) if(!exists("data")) stop("Dataframe called data not available. This should be in the function enviroment of render_main_site. Check that this is available in this enviroment.") dep_freqs <- data.frame(table(data$dept)) dep_freqs <- dep_freqs[dep_freqs[2] >= 20, ] dep_freqs[1] <- as.character(dep_freqs[[1]]) colnames(dep_freqs) <- c("Department", "Sample size") ``` ``` {r} dep_freqs_plot <- dep_freqs dep_freqs_plot[1] <- stringr::str_wrap(dep_freqs_plot[[1]], width = 40) dep_freqs_plot[1] <- gsub("\\n", "<br>", dep_freqs_plot[[1]]) dep_freqs_plot <- dep_freqs_plot[rev(order(dep_freqs_plot[1])), ] dep_freqs_plot[1] <- factor(dep_freqs_plot[[1]], levels = dep_freqs_plot[[1]]) plot <- carsurvey2::plot_freqs(dep_freqs_plot, "", "Sample size", n = samples$all, font_size = 14, orientation = "h", width = 700, height = 1000) table <- kableExtra::kable_styling(knitr::kable(dep_freqs_plot, row.names = FALSE)) %>% kableExtra::add_footnote(paste0("Sample size = ", samples$all)) carsurvey2::wrap_outputs("dep-freqs", plot, table) ``` ``` {r} deps <- data.frame(table(data$dept)) dep_list <- deps[deps[2] >= 20, ] alphabetical <- as.character(dep_list$Var1[order(dep_list[[1]])]) urls <- format_filter_path(alphabetical) links <- paste0('<li><a href="', urls, '.html">', alphabetical, "</a></li>") html <- paste(links, collapse="\n\n") html <- paste0("<ol>", html, "</ol>") knitr::raw_html(html) ```
<%-- ### Archetype - phresco-html5-archetype Copyright (C) 1999 - 2012 Photon Infotech Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or 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. ### --%> <%! class Environment { String environment; public String getEnvironment() { return environment; } public void setEnvironment(String environment) { this.environment = environment; } } %> <% String currentEnv = System.getProperty("SERVER_ENVIRONMENT"); com.google.gson.Gson gson = new com.google.gson.Gson(); Environment env = new Environment(); env.setEnvironment(currentEnv); String json = gson.toJson(env, Environment.class); response.setContentType("application/json"); out.print(json); %>
import { Dict } from '../../templates/Dict'; import { DetailsOpts } from '../../../init/enums/settings/DetailsOpts'; import { TimeOpts } from '../../../init/enums/settings/TimeOpts'; import { TimerSourceOpts } from '../../../init/enums/settings/TimerSourceOpts'; import { ListBlocksOpts } from '../../../init/enums/settings/ListBlocksOpts'; import { DayjsObj } from '../datetime/DayjsObj'; /** * SettingsStep interface */ export interface SettingsInterface { activeOnTop: boolean; dblClickDetails: DetailsOpts; countInSpecHours: boolean; countFromHour: DayjsObj; countToHour: DayjsObj; breaks: Dict<[DayjsObj, DayjsObj], number>; inDayMon: boolean; inDayTue: boolean; inDayWed: boolean; inDayThur: boolean; inDayFrid: boolean; inDaySat: boolean; inDaySun: boolean; countTimeAuto: TimeOpts; timeSource: TimerSourceOpts; refreshInEvery: number; taskShowsMyDailyTime: boolean; taskShowsMyAllTime: boolean; taskShowsAllPeoplesTime: boolean; largeFonts: boolean; showDescription: boolean; listBlock: ListBlocksOpts; }
// Alloy Physical Shader Framework // Copyright 2013-2017 RUST LLC. // http://www.alloy.rustltd.com/ Shader "Alloy/Decal/Alpha" { Properties { [Toggle(EFFECT_BUMP)] _HasBumpMap ("'Normals Source' {Dropdown:{VertexNormals:{_BumpMap,_BumpScale,_DetailNormalMap,_DetailNormalMapScale,_WetNormalMap,_WetNormalMapScale}, NormalMaps:{}}}", Float) = 1 // Main Textures _MainTextures ("'Main Textures' {Section:{Color:0}}", Float) = 0 [LM_Albedo] [LM_Transparency] _Color ("'Tint' {}", Color) = (1,1,1,1) [LM_MasterTilingOffset] [LM_Albedo] _MainTex ("'Base Color(RGB) Opacity(A)' {Visualize:{RGB, A}}", 2D) = "white" {} _MainTexVelocity ("Scroll", Vector) = (0,0,0,0) _MainTexUV ("UV Set", Float) = 0 [LM_Metallic] _SpecTex ("'Metal(R) AO(G) Spec(B) Rough(A)' {Visualize:{R, G, B, A}, Parent:_MainTex}", 2D) = "white" {} [LM_NormalMap] _BumpMap ("'Normals' {Visualize:{NRM}, Parent:_MainTex}", 2D) = "bump" {} _BaseColorVertexTint ("'Vertex Color Tint' {Min:0, Max:1}", Float) = 0 // Main Properties _MainPhysicalProperties ("'Main Properties' {Section:{Color:1}}", Float) = 0 [LM_Metallic] _Metal ("'Metallic' {Min:0, Max:1}", Float) = 1 _Specularity ("'Specularity' {Min:0, Max:1}", Float) = 1 _Roughness ("'Roughness' {Min:0, Max:1}", Float) = 1 _Occlusion ("'Occlusion Strength' {Min:0, Max:1}", Float) = 1 _BumpScale ("'Normal Strength' {}", Float) = 1 // Parallax [Toggle(_PARALLAXMAP)] _ParallaxT ("'Parallax' {Feature:{Color:5}}", Float) = 0 [Toggle(_BUMPMODE_POM)] _BumpMode ("'Mode' {Dropdown:{Parallax:{_MinSamples, _MaxSamples}, POM:{}}}", Float) = 0 _ParallaxMap ("'Heightmap(G)' {Visualize:{RGB}, Parent:_MainTex}", 2D) = "black" {} _Parallax ("'Height' {Min:0, Max:0.08}", Float) = 0.02 _MinSamples ("'Min Samples' {Min:1}", Float) = 4 _MaxSamples ("'Max Samples' {Min:1}", Float) = 20 // AO2 [Toggle(_AO2_ON)] _AO2 ("'AO2' {Feature:{Color:6}}", Float) = 0 _Ao2Map ("'AO2(G)' {Visualize:{RGB}}", 2D) = "white" {} _Ao2MapUV ("UV Set", Float) = 1 _Ao2Occlusion ("'Occlusion Strength' {Min:0, Max:1}", Float) = 1 // Detail [Toggle(_DETAIL_MULX2)] _DetailT ("'Detail' {Feature:{Color:7}}", Float) = 0 [Toggle(_NORMALMAP)] _DetailMaskSource ("'Mask Source' {Dropdown:{TextureAlpha:{}, VertexColorAlpha:{_DetailMask}}}", Float) = 0 _DetailMask ("'Mask(A)' {Visualize:{A}, Parent:_MainTex}", 2D) = "white" {} _DetailMaskStrength ("'Mask Strength' {Min:0, Max:1}", Float) = 1 [Enum(Mul, 0, MulX2, 1)] _DetailMode ("'Color Mode' {Dropdown:{Mul:{}, MulX2:{}}}", Float) = 0 _DetailAlbedoMap ("'Color(RGB)' {Visualize:{RGB}}", 2D) = "white" {} _DetailAlbedoMapVelocity ("Scroll", Vector) = (0,0,0,0) _DetailAlbedoMapUV ("UV Set", Float) = 0 _DetailNormalMap ("'Normals' {Visualize:{NRM}, Parent:_DetailAlbedoMap}", 2D) = "bump" {} _DetailWeight ("'Weight' {Min:0, Max:1}", Float) = 1 _DetailNormalMapScale ("'Normal Strength' {}", Float) = 1 // Team Color [Toggle(_TEAMCOLOR_ON)] _TeamColor ("'Team Color' {Feature:{Color:8}}", Float) = 0 [Enum(Masks, 0, Tint, 1)] _TeamColorMasksAsTint ("'Texture Mode' {Dropdown:{Masks:{}, Tint:{_TeamColorMasks, _TeamColor0, _TeamColor1, _TeamColor2, _TeamColor3}}}", Float) = 0 _TeamColorMaskMap ("'Masks(RGBA)' {Visualize:{R, G, B, A, RGB}, Parent:_MainTex}", 2D) = "black" {} _TeamColorMasks ("'Channels' {Vector:Channels}", Vector) = (1,1,1,0) _TeamColor0 ("'Tint R' {}", Color) = (1,0,0) _TeamColor1 ("'Tint G' {}", Color) = (0,1,0) _TeamColor2 ("'Tint B' {}", Color) = (0,0,1) _TeamColor3 ("'Tint A' {}", Color) = (0.5,0.5,0.5) // Decal [Toggle(_DECAL_ON)] _Decal ("'Decal' {Feature:{Color:9}}", Float) = 0 _DecalColor ("'Tint' {}", Color) = (1,1,1,1) _DecalTex ("'Base Color(RGB) Opacity(A)' {Visualize:{RGB, A}}", 2D) = "black" {} _DecalTexUV ("UV Set", Float) = 0 _DecalWeight ("'Weight' {Min:0, Max:1}", Float) = 1 _DecalSpecularity ("'Specularity' {Min:0, Max:1}", Float) = 0.5 _DecalAlphaVertexTint ("'Vertex Alpha Tint' {Min:0, Max:1}", Float) = 0 // Emission [Toggle(_EMISSION)] _Emission ("'Emission' {Feature:{Color:10}}", Float) = 0 [LM_Emission] [HDR] _EmissionColor ("'Tint' {}", Color) = (1,1,1) [LM_Emission] _EmissionMap ("'Mask(RGB)' {Visualize:{RGB}, Parent:_MainTex}", 2D) = "white" {} _IncandescenceMap ("'Effect(RGB)' {Visualize:{RGB}}", 2D) = "white" {} _IncandescenceMapVelocity ("Scroll", Vector) = (0,0,0,0) _IncandescenceMapUV ("UV Set", Float) = 0 [Gamma] _EmissionWeight ("'Weight' {Min:0, Max:1}", Float) = 1 // Rim Emission [Toggle(_RIM_ON)] _Rim ("'Rim Emission' {Feature:{Color:11}}", Float) = 0 [HDR] _RimColor ("'Tint' {}", Color) = (1,1,1) _RimTex ("'Effect(RGB)' {Visualize:{RGB}}", 2D) = "white" {} _RimTexVelocity ("Scroll", Vector) = (0,0,0,0) _RimTexUV ("UV Set", Float) = 0 [Gamma] _RimWeight ("'Weight' {Min:0, Max:1}", Float) = 1 [Gamma] _RimBias ("'Fill' {Min:0, Max:1}", Float) = 0 _RimPower ("'Falloff' {Min:0.01}", Float) = 4 // Dissolve [Toggle(_DISSOLVE_ON)] _Dissolve ("'Dissolve' {Feature:{Color:12}}", Float) = 0 [HDR] _DissolveGlowColor ("'Glow Tint' {}", Color) = (1,1,1,1) _DissolveTex ("'Glow Color(RGB) Opacity(A)' {Visualize:{RGB, A}}", 2D) = "white" {} _DissolveTexUV ("UV Set", Float) = 0 _DissolveCutoff ("'Cutoff' {Min:0, Max:1}", Float) = 0 [Gamma] _DissolveGlowWeight ("'Glow Weight' {Min:0, Max:1}", Float) = 1 _DissolveEdgeWidth ("'Glow Width' {Min:0, Max:1}", Float) = 0.01 // Wetness [Toggle(_WETNESS_ON)] _WetnessProperties ("'Wetness' {Feature:{Color:13}}", Float) = 0 [Toggle(_WETMASKSOURCE_VERTEXCOLORALPHA)] _WetMaskSource ("'Mask Source' {Dropdown:{TextureAlpha:{}, VertexColorAlpha:{_WetMask}}}", Float) = 0 _WetMask ("'Mask(A)' {Visualize:{A}}", 2D) = "white" {} _WetMaskVelocity ("Scroll", Vector) = (0,0,0,0) _WetMaskUV ("UV Set", Float) = 0 _WetMaskStrength ("'Mask Strength' {Min:0, Max:1}", Float) = 1 _WetTint ("'Tint' {}", Color) = (1,1,1,1) _WetNormalMap ("'Normals' {Visualize:{NRM}}", 2D) = "bump" {} _WetNormalMapVelocity ("Scroll", Vector) = (0,0,0,0) _WetNormalMapUV ("UV Set", Float) = 0 _WetWeight ("'Weight' {Min:0, Max:1}", Float) = 1 _WetRoughness ("'Roughness' {Min:0, Max:1}", Float) = 0.2 _WetNormalMapScale ("'Normal Strength' {}", Float) = 1 // Forward Rendering Options _ForwardRenderingOptions ("'Forward Rendering Options' {Section:{Color:19}}", Float) = 0 [ToggleOff] _SpecularHighlights ("'Specular Highlights' {Toggle:{On:{}, Off:{}}}", Float) = 1.0 [ToggleOff] _GlossyReflections ("'Glossy Reflections' {Toggle:{On:{}, Off:{}}}", Float) = 1.0 // Advanced Options _AdvancedOptions ("'Advanced Options' {Section:{Color:20}}", Float) = 0 _RenderQueue ("'Render Queue' {RenderQueue:{}}", Float) = 0 _EnableInstancing ("'Enable Instancing' {EnableInstancing:{}}", Float) = 0 } SubShader { Tags { "Queue" = "AlphaTest" "IgnoreProjector" = "True" "RenderType" = "Opaque" "ForceNoShadowCasting" = "True" //"DisableBatching" = "LODFading" } LOD 300 Offset -1,-1 Pass { Name "FORWARD" Tags { "LightMode" = "ForwardBase" } Blend SrcAlpha OneMinusSrcAlpha ZWrite Off Cull Back CGPROGRAM #pragma target 3.0 #pragma exclude_renderers gles #pragma shader_feature EFFECT_BUMP #pragma shader_feature _PARALLAXMAP #pragma shader_feature _BUMPMODE_POM #pragma shader_feature _AO2_ON #pragma shader_feature _DETAIL_MULX2 #pragma shader_feature _NORMALMAP #pragma shader_feature _TEAMCOLOR_ON #pragma shader_feature _DECAL_ON #pragma shader_feature _EMISSION #pragma shader_feature _RIM_ON #pragma shader_feature _DISSOLVE_ON #pragma shader_feature _WETNESS_ON #pragma shader_feature _WETMASKSOURCE_VERTEXCOLORALPHA #pragma shader_feature _ _SPECULARHIGHLIGHTS_OFF #pragma shader_feature _ _GLOSSYREFLECTIONS_OFF //#pragma multi_compile __ LOD_FADE_PERCENTAGE LOD_FADE_CROSSFADE #pragma multi_compile_fwdbase #pragma multi_compile_fog #pragma multi_compile_instancing //#pragma multi_compile __ VTRANSPARENCY_ON #pragma vertex aMainVertexShader #pragma fragment aMainFragmentShader #define UNITY_PASS_FORWARDBASE #define _ALPHABLEND_ON #include "Assets/Alloy/Shaders/Definition/DecalAlpha.cginc" #include "Assets/Alloy/Shaders/Forward/Base.cginc" ENDCG } Pass { Name "FORWARD_DELTA" Tags { "LightMode" = "ForwardAdd" } Blend SrcAlpha One ZWrite Off Cull Back CGPROGRAM #pragma target 3.0 #pragma exclude_renderers gles #pragma shader_feature EFFECT_BUMP #pragma shader_feature _PARALLAXMAP #pragma shader_feature _BUMPMODE_POM #pragma shader_feature _AO2_ON #pragma shader_feature _DETAIL_MULX2 #pragma shader_feature _NORMALMAP #pragma shader_feature _TEAMCOLOR_ON #pragma shader_feature _DECAL_ON #pragma shader_feature _DISSOLVE_ON #pragma shader_feature _WETNESS_ON #pragma shader_feature _WETMASKSOURCE_VERTEXCOLORALPHA #pragma shader_feature _ _SPECULARHIGHLIGHTS_OFF //#pragma multi_compile __ LOD_FADE_PERCENTAGE LOD_FADE_CROSSFADE #pragma multi_compile_fwdadd_fullshadows #pragma multi_compile_fog //#pragma multi_compile __ VTRANSPARENCY_ON #pragma vertex aMainVertexShader #pragma fragment aMainFragmentShader #define UNITY_PASS_FORWARDADD #define _ALPHABLEND_ON #include "Assets/Alloy/Shaders/Definition/DecalAlpha.cginc" #include "Assets/Alloy/Shaders/Forward/Add.cginc" ENDCG } Pass { Name "DEFERRED" Tags { "LightMode" = "Deferred" } // Only overwrite G-Buffer RGB, but weight whole G-Buffer. Blend SrcAlpha OneMinusSrcAlpha, Zero OneMinusSrcAlpha ZWrite Off Cull Back CGPROGRAM #pragma target 3.0 #pragma exclude_renderers nomrt gles #pragma shader_feature EFFECT_BUMP #pragma shader_feature _PARALLAXMAP #pragma shader_feature _BUMPMODE_POM #pragma shader_feature _AO2_ON #pragma shader_feature _DETAIL_MULX2 #pragma shader_feature _NORMALMAP #pragma shader_feature _TEAMCOLOR_ON #pragma shader_feature _DECAL_ON #pragma shader_feature _EMISSION #pragma shader_feature _RIM_ON #pragma shader_feature _DISSOLVE_ON #pragma shader_feature _WETNESS_ON #pragma shader_feature _WETMASKSOURCE_VERTEXCOLORALPHA #pragma shader_feature _ _GLOSSYREFLECTIONS_OFF //#pragma multi_compile __ LOD_FADE_PERCENTAGE LOD_FADE_CROSSFADE #pragma multi_compile_prepassfinal #pragma skip_variants FOG_LINEAR FOG_EXP FOG_EXP2 #pragma multi_compile_instancing #pragma vertex aMainVertexShader #pragma fragment aMainFragmentShader #define UNITY_PASS_DEFERRED #define A_DECAL_ALPHA_FIRSTPASS_SHADER #include "Assets/Alloy/Shaders/Definition/DecalAlpha.cginc" #include "Assets/Alloy/Shaders/Forward/Gbuffer.cginc" ENDCG } Pass { Name "DEFERRED_ALPHA" Tags { "LightMode" = "Deferred" } // Only overwrite GBuffer A. Blend One One ColorMask A ZWrite Off Cull Back CGPROGRAM #pragma target 3.0 #pragma exclude_renderers nomrt gles #pragma shader_feature EFFECT_BUMP #pragma shader_feature _PARALLAXMAP #pragma shader_feature _BUMPMODE_POM #pragma shader_feature _AO2_ON #pragma shader_feature _DETAIL_MULX2 #pragma shader_feature _NORMALMAP #pragma shader_feature _DECAL_ON #pragma shader_feature _DISSOLVE_ON #pragma shader_feature _WETNESS_ON #pragma shader_feature _WETMASKSOURCE_VERTEXCOLORALPHA #pragma shader_feature _ _GLOSSYREFLECTIONS_OFF //#pragma multi_compile __ LOD_FADE_PERCENTAGE LOD_FADE_CROSSFADE #pragma multi_compile_prepassfinal #pragma skip_variants FOG_LINEAR FOG_EXP FOG_EXP2 #pragma multi_compile_instancing #pragma vertex aMainVertexShader #pragma fragment aMainFragmentShader #define UNITY_PASS_DEFERRED #include "Assets/Alloy/Shaders/Definition/DecalAlpha.cginc" #include "Assets/Alloy/Shaders/Forward/Gbuffer.cginc" ENDCG } } FallBack Off CustomEditor "AlloyFieldBasedEditor" }
Extension { #name : #IceRepository } { #category : #'*Iceberg-TipUI' } IceRepository >> gtInspectorItemsIn: composite [ <gtInspectorPresentationOrder: 0> ^ composite fastTable title: 'Packages'; display: [ self workingCopy packages ]; column: 'Name' evaluated: [:each | each name ] width: 400 * World displayScaleFactor; column: 'Status' evaluated: [:each | each asString ] width: 400 * World displayScaleFactor ]
/* pub type PAddrInner = u32; */ pub type PAddr = u32; pub type VAddr = usize; pub const PAGE_SIZE: usize = 0x2000; pub mod virt; pub mod phys; pub mod addresses { pub fn is_global(addr: usize) -> bool { // Kernel area is global (i.e. present in all address spaces) addr >= KERNEL_BASE } pub const IDENT_SIZE: usize = 8*1024*1024; pub const USER_END: usize = 0x8000_0000; pub const KERNEL_BASE: usize = 0x8000_0000; pub const HEAP_START: usize = 0x808_00000; // 8MB because of the 8KB page size pub const HEAP_END : usize = 0x8C0_00000; pub const BUMP_START: usize = 0x8C0_00000; pub const BUMP_END : usize = 0xA00_00000; pub const HARDWARE_BASE: usize = 0xA00_00000; pub const HARDWARE_END : usize = 0xB00_00000; const MAX_RAM_BYTES: usize = 2*1024*1024*1024; pub const PMEMREF_BASE: usize = 0xB00_00000; pub const PMEMREF_END : usize = PMEMREF_BASE + MAX_RAM_BYTES / ::PAGE_SIZE * 4; // 4 bytes / 8KB frame = 1MB? pub const TEMP_BASE: usize = 0xEFF_00000; pub const TEMP_END : usize = 0xF00_00000; pub const STACKS_BASE: usize = 0xF00_00000; pub const STACKS_END: usize = 0xF80_00000; pub const STACK_SIZE: usize = 4*::PAGE_SIZE; }
#shader VERTEX #version 330 core layout(location = 0) in vec4 pos; uniform mat4 model; uniform mat4 view; uniform mat4 projection; out vec4 posColor; void main() { gl_Position = projection * view * model * pos; posColor = pos; }; #shader FRAGMENT #version 330 core out vec4 FragColor; float near = 0.1; float far = 10.0; in vec4 posColor; float LinearizeDepth(float depth) { float z = (depth * 2.0 - 1.0); // back to NDC return (2.0 * near * far) / (far + near - z * (far - near)); } void main() { float depth = LinearizeDepth(gl_FragCoord.z) / far; // divide by far for demonstration FragColor = vec4(vec3(depth) * -1.0 + vec3(0.9f), 1.0);// * posColor; }
/* Copyright 2018-2019 Banco Bilbao Vizcaya Argentaria, S.A. 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 rocksdb import ( "os" "testing" "github.com/bbva/qed/util" "github.com/stretchr/testify/require" ) func TestWriteBatch(t *testing.T) { db, path := newTestDB(t, "TestWriteBatch", nil) defer func() { db.Close() os.RemoveAll(path) }() var ( key1 = []byte("key1") value1 = []byte("val1") key2 = []byte("key2") ) wo := NewDefaultWriteOptions() require.NoError(t, db.Put(wo, key2, []byte("foo"))) // create and fill the write batch wb := NewWriteBatch() defer wb.Destroy() wb.Put(key1, value1) wb.Delete(key2) require.Equal(t, wb.Count(), 2) // perform the batch write require.NoError(t, db.Write(wo, wb)) // check changes ro := NewDefaultReadOptions() v1, err := db.Get(ro, key1) defer v1.Free() require.NoError(t, err) require.Equal(t, v1.Data(), value1) v2, err := db.Get(ro, key2) defer v2.Free() require.NoError(t, err) require.Nil(t, v2.Data()) } func TestDeleteRange(t *testing.T) { db, path := newTestDB(t, "TestDeleteRange", nil) defer func() { db.Close() os.RemoveAll(path) }() wo := NewDefaultWriteOptions() defer wo.Destroy() ro := NewDefaultReadOptions() defer ro.Destroy() var ( key1 = []byte("key1") key2 = []byte("key2") key3 = []byte("key3") key4 = []byte("key4") val1 = []byte("value") val2 = []byte("12345678") val3 = []byte("abcdefg") val4 = []byte("xyz") ) require.NoError(t, db.Put(wo, key1, val1)) require.NoError(t, db.Put(wo, key2, val2)) require.NoError(t, db.Put(wo, key3, val3)) require.NoError(t, db.Put(wo, key4, val4)) actualVal1, err := db.GetBytes(ro, key1) require.NoError(t, err) require.Equal(t, actualVal1, val1) actualVal2, err := db.GetBytes(ro, key2) require.NoError(t, err) require.Equal(t, actualVal2, val2) actualVal3, err := db.GetBytes(ro, key3) require.NoError(t, err) require.Equal(t, actualVal3, val3) actualVal4, err := db.GetBytes(ro, key4) require.NoError(t, err) require.Equal(t, actualVal4, val4) batch := NewWriteBatch() defer batch.Destroy() batch.DeleteRange(key2, key4) _ = db.Write(wo, batch) actualVal1, err = db.GetBytes(ro, key1) require.NoError(t, err) require.Equal(t, actualVal1, val1) actualVal2, err = db.GetBytes(ro, key2) require.NoError(t, err) require.Nil(t, actualVal2) actualVal3, err = db.GetBytes(ro, key3) require.NoError(t, err) require.Nil(t, actualVal3) actualVal4, err = db.GetBytes(ro, key4) require.NoError(t, err) require.Equal(t, actualVal4, val4) } func TestGetLogData(t *testing.T) { var ( key1 = []byte("key1") value1 = []byte("val1") ) // create and fill the write batch wb := NewWriteBatch() defer wb.Destroy() wb.Put(key1, value1) // add log data version := util.Uint64AsBytes(1) wb.PutLogData(version, len(version)) // get log data extractor := NewLogDataExtractor("version") wb.GetLogData(extractor) require.Equal(t, version, extractor.Blob) } func TestWriteBatchSerialization(t *testing.T) { var ( key1 = []byte("key1") value1 = []byte("val1") ) // create and fill the write batch wb := NewWriteBatch() defer wb.Destroy() wb.Put(key1, value1) // add log data version := util.Uint64AsBytes(1) wb.PutLogData(version, len(version)) serialized := wb.Data() deserialized := WriteBatchFrom(serialized) require.Equal(t, serialized, deserialized.Data()) extractor := NewLogDataExtractor("version") defer extractor.Destroy() require.Equal(t, version, deserialized.GetLogData(extractor)) }