- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for Begin (0.15 sec)
-
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
statsCache.asMap().entrySet().stream().forEach(e -> { final StatsObject data = e.getValue(); final Long begin = data.remove(BEGIN_KEY); if (begin != null) { printStats(e.getKey(), data, begin, false); } }); } public void begin(final Object keyObj) { getCacheKey(keyObj).ifPresent(key -> { try { statsCache.get(key);
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiReaderTest.java
return new StringReader(text); } }; } public void testSkip() throws Exception { String begin = "abcde"; String end = "fghij"; Reader joinedReader = CharSource.concat(newCharSource(begin), newCharSource(end)).openStream(); String expected = begin + end; assertEquals(expected.charAt(0), joinedReader.read()); CharStreams.skipFully(joinedReader, 1);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java
// Typically developers will need to get a PEM file from their organization's TLS administrator. final X509Certificate comodoRsaCertificationAuthority = Certificates.decodeCertificatePem("" + "-----BEGIN CERTIFICATE-----\n" + "MIIF2DCCA8CgAwIBAgIQTKr5yttjb+Af907YWwOGnTANBgkqhkiG9w0BAQwFADCB\n" + "hTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G\n"
Java - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 9.3K bytes - Viewed (2) -
src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java
localLogMsg.set(buf.toString()); } }; crawlerStatsHelper.init(); } public void test_beginDone() { String key = "test"; crawlerStatsHelper.begin(key); crawlerStatsHelper.done(key); logger.info(localLogMsg.get()); String[] values = localLogMsg.get().split("\t"); assertEquals(3, values.length); assertEquals("url:test", values[0]);
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
@Override protected void implCloseChannel() { throw new RuntimeException("I bet you didn't think Thread.interrupt could throw"); } void doBegin() { super.begin(); } } /** * Because Thread.interrupt() can invoke arbitrary code, it can be slow (e.g. perform IO). To * protect ourselves from that we want to make sure that tasks don't spin too much waiting for the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.6K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/CertificatesJavaTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; public class CertificatesJavaTest { @Test public void testRoundtrip() { String certificateString = "" + "-----BEGIN CERTIFICATE-----\n" + "MIIBmjCCAQOgAwIBAgIBATANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDEwhjYXNo\n" + "LmFwcDAeFw03MDAxMDEwMDAwMDBaFw03MDAxMDEwMDAwMDFaMBMxETAPBgNVBAMT\n"
Java - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Fri Nov 20 02:23:18 GMT 2020 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiReaderTest.java
return new StringReader(text); } }; } public void testSkip() throws Exception { String begin = "abcde"; String end = "fghij"; Reader joinedReader = CharSource.concat(newCharSource(begin), newCharSource(end)).openStream(); String expected = begin + end; assertEquals(expected.charAt(0), joinedReader.read()); CharStreams.skipFully(joinedReader, 1);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
@Override protected void implCloseChannel() { throw new RuntimeException("I bet you didn't think Thread.interrupt could throw"); } void doBegin() { super.begin(); } } /** * Because Thread.interrupt() can invoke arbitrary code, it can be slow (e.g. perform IO). To * protect ourselves from that we want to make sure that tasks don't spin too much waiting for the
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java
* the stack is in reverse order. * @param encoded The serialized trie. * @param start An index in the encoded serialized trie to begin reading characters from. * @param builder A map builder to which all entries will be added. * @return The number of characters consumed from {@code encoded}. */ private static int doParseTrieToBuilder(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Oct 13 19:20:43 GMT 2022 - 4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
} else { populate(rdr, tc); } } } else if ( line.startsWith("#BEGIN_ALTERNATE") ) {} else if ( line.startsWith("#END_ALTERNATE") && this.alt > 0 ) { throw new IOException("no lmhosts alternate includes loaded"); } }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 6.1K bytes - Viewed (0)