Examples of end()


Examples of edu.umd.cs.findbugs.log.Profiler.end()

                }
            }
        } catch (CheckedAnalysisException e) {
            AnalysisContext.logError("error:", e);
        } finally {
            profiler.end(CheckCallSitesAndReturnInstructions.class);
        }
    }

    private void examineCallSite(Location location, ConstantPoolGen cpg, TypeDataflow typeDataflow)
            throws DataflowAnalysisException, CFGBuilderException, ClassNotFoundException {
View Full Code Here

Examples of edu.washington.cs.knowitall.sequence.LayeredTokenMatcher.end()

    String patternStr = "There_w are_w CD_p [B-NP_n I-NP_n]+ (IN_p [B-NP_n I-NP_n]+)*";
    LayeredTokenPattern pat = new LayeredTokenPattern(patternStr);
    LayeredTokenMatcher m = pat.matcher(seq);
    assertTrue(m.find());
    assertEquals(0, m.start());
    assertEquals(6, m.end());
  }
 
  @Test
  public void testMatcher2() throws SequenceException {
    String patternStr = "B-NP_n I-NP_n*";
 
View Full Code Here

Examples of erjang.CharCollector.end()

      if (unicode) {
        CharArrayWriter out = new CharArrayWriter();
        CharCollector cc = new CharCollector(StandardCharsets.UTF_8, out);
        try {
          ESeq rest = io_or_char_list.collectCharList(cc, ERT.NIL);
          cc.end();
        } catch (CollectingException e) {
          return null;
        } catch (InvalidElementException e) {
          return null;
        } catch (IOException e) {
View Full Code Here

Examples of flex2.tools.oem.ProgressMeter.end()

            symbolTable.cleanClassTable();
            symbolTable.adjustProgress();

            if (meter != null)
            {
                meter.end();
            }
        }

        return units;
    }
View Full Code Here

Examples of io.vertx.core.http.HttpClientRequest.end()

        HttpClientRequest request = httpClient.request(HttpMethod.GET, port, host, "/rest/test/json", response -> {
            verifyResponse(response, 200, MediaType.APPLICATION_JSON, "{}");
        });

        request.end();
        await();
    }

    @Test
    public void test_getJsonp() throws Exception {
View Full Code Here

Examples of io.vertx.core.http.HttpServerResponse.end()

        // Set error status and end
        Response.Status status = Response.Status.INTERNAL_SERVER_ERROR;
        response.setStatusCode(status.getStatusCode());
        response.setStatusMessage(status.getReasonPhrase());
        response.end();

    }

    /**
     * {@inheritDoc}
 
View Full Code Here

Examples of java.awt.PrintJob.end()

    if(pjob != null) { 
      Graphics printGraphics = pjob.getGraphics();
      if (currentPage == 1) {
        doTest(printGraphics, documentDimension);
        printGraphics.dispose();
        pjob.end();
      }
      else {
        doSecondPageTest(printGraphics);
        printGraphics.dispose();
        pjob.end();
View Full Code Here

Examples of java.util.regex.MatchResult.end()

        }
        assertEquals("1", s.next());
        assertEquals("2", s.next());
        result = s.match();
        assertEquals(2, result.start());
        assertEquals(3, result.end());
        assertEquals(2, result.start(0));
        assertEquals(3, result.end(0));
        assertEquals("2", result.group());
        assertEquals("2", result.group(0));
        assertEquals(0, result.groupCount());
View Full Code Here

Examples of java.util.regex.Matcher.end()

        methodName=methodName.startsWith("is")? methodName.substring(2) : methodName;
        // Pattern p=Pattern.compile("[A-Z]+");
        Matcher m=METHOD_NAME_TO_ATTR_NAME_PATTERN.matcher(methodName);
        StringBuffer sb=new StringBuffer();
        while(m.find()) {
            int start=m.start(), end=m.end();
            String str=methodName.substring(start, end).toLowerCase();
            if(str.length() > 1) {
                String tmp1=str.substring(0, str.length() -1);
                String tmp2=str.substring(str.length() -1);
                str=tmp1 + "_" + tmp2;
View Full Code Here

Examples of java.util.zip.Deflater.end()

     
      capacity += byte_count;
     
    } while (byte_count != 0);
   
    compressor.end();
   
    ByteBuffer outputData = Misc.getByteBuffer(capacity);
   
    for(ByteBuffer buffer : vector) {
      buffer.position(0);
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.