- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 1,378 for while (0.08 sec)
-
guava-tests/test/com/google/common/io/CharSourceTest.java
assertTrue(source.wasStreamOpened()); assertFalse(source.wasStreamClosed()); StringWriter writer = new StringWriter(); char[] buf = new char[64]; int read; while ((read = reader.read(buf)) != -1) { writer.write(buf, 0, read); } reader.close(); writer.close(); assertTrue(source.wasStreamClosed()); assertEquals(STRING, writer.toString()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
CrawlingParameterUtil.setCrawlerContext(crawlerContext); CrawlingParameterUtil.setUrlQueueService(urlQueueService); CrawlingParameterUtil.setDataService(dataService); try { while (crawlerContext.getStatus() != CrawlerStatus.DONE && isContinue(threadCheckCount)) { final UrlQueue<?> urlQueue = urlQueueService.poll(crawlerContext.sessionId); if (isValid(urlQueue)) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 15.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
*/ inline fun binarySearch( position: Int, limit: Int, compare: (Int) -> Int, ): Int { // Do the binary searching bit. var low = position var high = limit - 1 while (low <= high) { val mid = (low + high) / 2 val compareResult = compare(mid) when { compareResult < 0 -> high = mid - 1 compareResult > 0 -> low = mid + 1 else -> return mid // Match!
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Apr 02 11:39:58 UTC 2024 - 9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:14:04 UTC 2021 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
} /** * Creates a Type-2 message using the given raw Type-2 material. * * @param material The raw Type-2 material used to construct this message. * @throws IOException If an error occurs while parsing the material. */ public Type2Message(byte[] material) throws IOException { parse(material); } /** * Returns the challenge for this message. *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
//@Test public void testSessionMaintenance () throws IOException, InterruptedException { try ( SmbFile f = getDefaultShareRoot() ) { checkConnection(f); while ( true ) { f.list(); Thread.sleep(5000); } } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
File artifactFile = new File(repository.getBasedir(), path); if (artifactFile.exists()) { if (!artifactFile.delete()) { throw new IOException("Failure while attempting to delete artifact " + artifactFile); } } } protected DefaultRepositorySystemSession initRepoSession() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
} private ClassRealm newRealm(String id) { synchronized (world) { String realmId = id; Random random = new Random(); while (true) { try { ClassRealm classRealm = world.newRealm(realmId, null); logger.debug("Created new class realm {}", realmId);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
And the `dict` you receive as `weights` will actually have `int` keys and `float` values. /// ## Recap With **FastAPI** you have the maximum flexibility provided by Pydantic models, while keeping your code simple, short and elegant. But with all the benefits: * Editor support (completion everywhere!) * Data conversion (a.k.a. parsing / serialization) * Data validation * Schema documentation
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.4K bytes - Viewed (0) -
internal/grid/README.md
Likely this means that this connection will not be able to saturate network bandwidth. Therefore, using this for large payloads will likely be slower than using a separate connection, and other connections will be blocked while the large payload is being sent. ## Handlers & Routes Handlers have a predefined Handler ID. In addition, there can be several *static* subroutes used to differentiate between different handlers of the same ID.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0)