Examples of seed()


Examples of com.securityinnovation.jNeo.Random.seed()

            Random r = new Random(seed);
            NtruEncryptKey key = NtruEncryptKey.genKey(oid, r);

            seed = makeSeed(oid, "encrypt");
            TVDump.dumpHex("encryptSeed", seed);
            r.seed(seed);
            byte ct[] = key.encrypt(m, r);
            key.decrypt(ct);

            System.out.println("\n\n");
        }
View Full Code Here

Examples of org.apache.maven.SessionScope.seed()

    {
        SessionScope sessionScope = lookup( SessionScope.class );
        try
        {
            sessionScope.enter();
            sessionScope.seed( MavenSession.class, session );

            MojoExecutionScope executionScope = lookup( MojoExecutionScope.class );
            try
            {
                executionScope.enter();
View Full Code Here

Examples of org.apache.maven.execution.scope.internal.MojoExecutionScope.seed()

            MojoExecutionScope executionScope = lookup( MojoExecutionScope.class );
            try
            {
                executionScope.enter();

                executionScope.seed( MavenProject.class, project );
                executionScope.seed( MojoExecution.class, execution );

                Mojo mojo = lookupConfiguredMojo( session, execution );
                mojo.execute();
View Full Code Here

Examples of org.apache.maven.execution.scope.internal.MojoExecutionScope.seed()

            try
            {
                executionScope.enter();

                executionScope.seed( MavenProject.class, project );
                executionScope.seed( MojoExecution.class, execution );

                Mojo mojo = lookupConfiguredMojo( session, execution );
                mojo.execute();

                MojoExecutionEvent event = new MojoExecutionEvent( session, project, execution, mojo );
View Full Code Here

Examples of org.apache.uima.ruta.seed.DefaultSeeder.seed()

    List<AnnotationFS> fn = new ArrayList<AnnotationFS>();
    List<AnnotationFS> tp = new ArrayList<AnnotationFS>();

    // need basics in this test cas too:
    final DefaultSeeder scanner = new DefaultSeeder();
    scanner.seed(test.getDocumentText(), test);
    testAnnotations = expand(testAnnotations, test, getWordTypes(test));
    runAnnotations = expand(runAnnotations, run, getWordTypes(run));

    for (AnnotationFS eachTest : testAnnotations) {
      boolean found = false;
View Full Code Here

Examples of org.apache.uima.ruta.seed.DefaultSeeder.seed()

    if (test.getAnnotationIndex(
            test.getTypeSystem().getType("org.apache.uima.ruta.type.RutaBasic")).size() == 0) {
      // need basics in this test cas too:
      final DefaultSeeder scanner = new DefaultSeeder();
      scanner.seed(test.getDocumentText(), test);
    }
    for (FeatureStructure eachTest : testFSs) {
      boolean found = false;
      for (FeatureStructure eachRun : runFSs) {
        if (match(eachTest, eachRun, wordTypes)) {
View Full Code Here

Examples of org.apache.uima.ruta.seed.DefaultSeeder.seed()

    List<AnnotationFS> fn = new ArrayList<AnnotationFS>();
    List<AnnotationFS> tp = new ArrayList<AnnotationFS>();

    // need basics in this test cas too:
    final DefaultSeeder scanner = new DefaultSeeder();
    scanner.seed(test.getDocumentText(), test);
    testAnnotations = expand(testAnnotations, test, getWordTypes(test));
    runAnnotations = expand(runAnnotations, run, getWordTypes(run));

    for (AnnotationFS eachTest : testAnnotations) {
      boolean found = false;
View Full Code Here

Examples of org.apache.uima.ruta.seed.DefaultSeeder.seed()

    if (test.getAnnotationIndex(
            test.getTypeSystem().getType("org.apache.uima.ruta.type.RutaBasic")).size() == 0) {
      // need basics in this test cas too:
      final DefaultSeeder scanner = new DefaultSeeder();
      scanner.seed(test.getDocumentText(), test);
    }
    for (FeatureStructure eachTest : testFSs) {
      boolean found = false;
      for (FeatureStructure eachRun : runFSs) {
        if (match(eachTest, eachRun, wordTypes)) {
View Full Code Here

Examples of org.apache.uima.ruta.seed.RutaAnnotationSeeder.seed()

        } catch (Exception e) {
          throw new AnalysisEngineProcessException(e);
        }
        try {
          RutaAnnotationSeeder seeder = (RutaAnnotationSeeder) newInstance;
          result.add(seeder.seed(cas.getDocumentText(), cas));
        } catch (Exception e) {
          throw new AnalysisEngineProcessException(e);
        }
      }
    }
View Full Code Here

Examples of org.apache.uima.ruta.seed.RutaAnnotationSeeder.seed()

        } catch (Exception e) {
          throw new AnalysisEngineProcessException(e);
        }
        try {
          RutaAnnotationSeeder seeder = (RutaAnnotationSeeder) newInstance;
          result.add(seeder.seed(cas.getDocumentText(), cas));
        } catch (Exception e) {
          throw new AnalysisEngineProcessException(e);
        }
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.