Examples of scan()


Examples of com.thoughtworks.qdox.directorywalker.DirectoryScanner.scan()

        Utils.log(getClass().getName(), 1, "[WARNING] Invalid source directory " + m_dirPaths[i] + " ignored");
        continue;
      }
      DirectoryScanner scanner = new DirectoryScanner(dir);
      scanner.addFilter(new SuffixFilter(".java"));
      scanner.scan(new FileVisitor() {
        public void visitFile(File currentFile) {
          registerSourceFile(currentFile);
        }
      });
    }
View Full Code Here

Examples of com.xensource.xenapi.SR.scan()

                snapshotvdi.setNameLabel(conn, "Template " + srcTemplate.getName());
                String parentuuid = getVhdParent(conn, pUuid, snapshotUuid, isISCSI);
                VDI parent = getVDIbyUuid(conn, parentuuid);
                Long phySize = parent.getPhysicalUtilisation(conn);
                tmpl.destroy(conn);
                poolsr.scan(conn);
                try{
                    Thread.sleep(5000);
                } catch (Exception e) {
                }
View Full Code Here

Examples of com.yahoo.ycsb.database.DB.scan()

              fields.add(tokens[i]);
            }
          }

          Vector<HashMap<String, String>> results = new Vector<HashMap<String, String>>();
          int ret = db.scan(table, tokens[1],
              Integer.parseInt(tokens[2]), fields, results);
          System.out.println("Return code: " + ret);
          int record = 0;
          if (results.size() == 0) {
            System.out.println("0 records");
View Full Code Here

Examples of edu.umd.cs.findbugs.ba.BytecodeScanner.scan()

        // Create callback
        UnpackedBytecodeCallback callback = new UnpackedBytecodeCallback(instructionList.length);

        // Scan the method.
        BytecodeScanner scanner = new BytecodeScanner();
        scanner.scan(instructionList, callback);

        UnpackedCode unpackedCode = callback.getUnpackedCode();
        MethodBytecodeSet result = null;
        if (unpackedCode != null) {
            result = unpackedCode.getBytecodeSet();
View Full Code Here

Examples of games.stendhal.server.core.reflectiondebugger.FieldLister.scan()

      admin.sendPrivateText("Entity not found");
      return;
    }

    FieldLister fl = new FieldLister(entity);
    fl.scan();
    admin.sendPrivateText("Entity is of class " + entity.getClass().getName() + "\r\n" + fl.getResult());
  }

}
View Full Code Here

Examples of gherkin.lexer.En.scan()

    }

    public List<List<String>> transitionTable() {
        transitionTable = new ArrayList<List<String>>();
        Lexer lexer = new En(this);
        lexer.scan(FixJava.readResource(machinePath));
        return transitionTable;
    }

    public void tag(String tag, Integer line) {
    }
View Full Code Here

Examples of gherkin.lexer.I18nLexer.scan()

                "       World  \n" +
                "  Scenario Outline:\n" +
                "    Given I have an empty stack\n" +
                "    When I pøsh <x> onto the stack";

        lexer.scan(feature);

        verify(listener).feature("Feature", "Hello", "  Big    \n    World", 1);
        verify(listener).step("Given ", "I have an empty stack", 5);
        verify(listener).step("When ", "I pøsh <x> onto the stack", 6);
    }
View Full Code Here

Examples of gherkin.lexer.Lexer.scan()

    }

    public List<List<String>> transitionTable() {
        transitionTable = new ArrayList<List<String>>();
        Lexer lexer = new En(this);
        lexer.scan(FixJava.readResource(machinePath));
        return transitionTable;
    }

    public void tag(String tag, Integer line) {
    }
View Full Code Here

Examples of gov.nasa.jpf.autodoc.types.scanner.TargetScanner.scan()

   
    Parser parser = new TargetParser();
    TargetScanner scanner = new TargetScanner(parser);
   
    String target = ".";
    ScanData scanData = scanner.scan(target, ScanType.JARS);
   
    List<byte[]> data = scanData.getDatalist();
    List<String> files = scanData.getFilelist();
   
    System.out.println(" jars_");
View Full Code Here

Examples of javassist.bytecode.analysis.SubroutineScanner.scan()

        generate(pool);
        CtClass clazz = pool.get("test.ScannerTest$GeneratedTest");
        CtMethod method = clazz.getDeclaredMethod("doit");

        SubroutineScanner scanner = new SubroutineScanner();
        Subroutine[] subs = scanner.scan(method.getMethodInfo2());

        verifySubroutine(subs, 31, 31, new int[]{125, 25});
        verifySubroutine(subs, 32, 31, new int[]{125, 25});
        verifySubroutine(subs, 33, 31, new int[]{125, 25});
        verifySubroutine(subs, 60, 31, new int[]{125, 25});
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.