`

test code 09-18-2

 
阅读更多
object FunnelUtil {

  var gson: Gson = new GsonBuilder().create
  val maxFunnelLength = 10
  var beginTimestamp = 0
  var eventLength = 0
  var eventMap : mutable.HashMap[Short,Byte] = null
  def initEventMap(eventDesc :String) ={
    val initEventMap = new mutable.HashMap[Short,Byte]()
    var index :Byte= 0
    eventDesc.split(",").foreach( event_id => {
      initEventMap += event_id.toShort -> index
      index = index.+(1).toByte
    })
    eventMap = initEventMap
  }
分享到:
评论

相关推荐

    Python库 | codeclimate-test-reporter-0.0.3.tar.gz

    python库。 资源全名:codeclimate-test-reporter-0.0.3.tar.gz

    googletest-release-1.6.0.zip

    googletest-release-1.6.0 gtest的官方网站是: http://code.google.com/p/googletest/ 从官方的使用文档里,你几乎可以获得你想要的所有东西 http://code.google.com/p/googletest/wiki/GoogleTestPrimer ...

    codetest2006-2010

    《codetest2006-2010:探索嵌入式软件测试的历程与实践》 在IT领域,嵌入式软件测试是一项至关重要的工作,它涉及到硬件和软件的深度融合,确保设备运行稳定、高效且符合用户需求。"codetest2006-2010"这一主题,...

    test-code-9.rar_testcode 实验

    达盛arm实验代码,初学者可以参考一下,基础

    Agile Java Crafting Code with Test-Driven Development

    Presents an expert overview of TDD and agile programming techniques from the Java developer's perspective Brings together practical best practices for Java, TDD, and OO design Walks through setting ...

    IEC 60704-2-18-2022 Test code for the determination of ...

    IEC 60704-2-18-2022 Household and similar electrical appliances - Test code for the determination of airborne acoustical noise -.pdf

    interview-code test

    interview-code test.pdf

    CodeTest_PCI的使用-CodeTest

    CodeTest 是一款用于软件测试和硬件验证的工具,尤其在PCI(Peripheral Component Interconnect)设备的测试中发挥了重要作用。PCI是一种广泛使用的计算机总线标准,允许外部设备高速连接到主板上,例如网络适配器、...

    11-2 testcode

    11-2 testcode

    ISO 230-2-2014 , Test Code for Machine Tools-4th Ed.pdf

    国际标准原文,国标依据此文件的第三版制订了《GBT 17421.2-2016 机床检验通则》。 这是第四版,高清英文版。 This part of ISO 230 specifies methods for testing and evaluating the accuracy and repeatability ...

    Test-Driven iOS Development with Swift 4(3rd)_Code 源码

    Test-Driven iOS Development with Swift 4(3rd)_Code 源码 第3版 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    cloudtest-1.0.4-b201302231138PM Release

    About CloudTest License CloudTest is an open source project initiated by the individual, which is distributed on Apatche Licenses 2.0 releases. Every organization or individual is fully granted for ...

    test-driven-java-development-2nd2018

    we'll write a code that implements that test, run all the tests, and see them succeed; and finally, we'll refactor the code and try to make it better. Chapter 4, Unit Testing – Focusing on What You ...

    Test-Driven Java Development - Second Edition.pdf

    This book will teach the concepts of test driven development in Java so you can build clean, maintainable and robust code About This Book Explore the most popular TDD tools and frameworks and become...

    BURNINTEST--硬件检测工具

    PassMark BurnInTest V5.3 Copyright (C) 1999-2008 PassMark Software All Rights Reserved http://www.passmark.com Overview ======== Passmark's BurnInTest is a software tool that allows all the major sub...

    CodeTEST_native的使用

    CodeTEST_native是一款用于软件在电路(Software-In-Circuit, SWIC)测试的工具,尤其适用于嵌入式系统中的代码测试。本指南将详细介绍如何在主机平台上利用CodeTEST_native进行SWIC版测试,主要涵盖以下四个步骤: ...

    TestPlugins---SourceCode.zip_partition

    NokiaCooker will automatically download and install new updates - Fixed: Can t detect partition data was shown, when opening some core fw files - Improved: NaviFirm+ v2.0 - Improved: you can disable ...

Global site tag (gtag.js) - Google Analytics