- Sort Score
- Num 10 results
- Language All
Results 1181 - 1190 of 2,793 for Bratch (0.06 seconds)
-
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
ExecutorService executor = Executors.newFixedThreadPool(threadCount); for (int i = 0; i < threadCount; i++) { executor.execute(() -> { try { drainQueue(); } catch (Throwable e) { e.printStackTrace(); } }); } executor.shutdown(); } private void drainQueue() throws Exception { for (HttpUrl url; (url = queue.take()) != null; ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jul 23 00:58:06 GMT 2025 - 5K bytes - Click Count (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
? directoryToResponse(path, file) : fileToResponse(path, file); } catch (FileNotFoundException e) { return new MockResponse() .setStatus("HTTP/1.1 404") .addHeader("content-type: text/plain; charset=utf-8") .setBody("NOT FOUND: " + path); } catch (IOException e) { return new MockResponse() .setStatus("HTTP/1.1 500")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java
// try { // int accessFlags = convertAccessFlags(access); // memoryRegister = endpoint.registerMemory(buffer, accessFlags).execute().free(); // } catch (Exception e) { // throw new RuntimeException("Failed to register memory region", e); // } this.memoryRegister = new Object(); // PlaceholderCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/RequestParamTest.java
assertArrayEquals( new RequestParam[] { RequestParam.NONE, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY, RequestParam.RETAIN_PAYLOAD }, values, "values() order should match declaration order"); } // Happy path: valueOf resolves each constant name; toString equals name; ordinal is stable @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java
if (readingConverter == null) { readingConverter = SuggestUtil.createDefaultReadingConverter(client, settings); } try { readingConverter.init(); } catch (final IOException e) { throw new SuggesterException("Failed to initialize reading converter: " + readingConverter.getClass().getName(), e); } if (contentsReadingConverter == null) {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 6.2K bytes - Click Count (0) -
CONTRIBUTING.md
Before code can be accepted all contributors must complete our [Individual Contributor License Agreement (CLA)][cla]. Code Contributions ------------------ Get working code on a personal branch with tests passing before you submit a PR: ``` ./gradlew clean check ``` Please make every effort to follow existing conventions and style in order to keep the code as readable as possible.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 14 08:26:50 GMT 2023 - 2K bytes - Click Count (0) -
docs/contribute/contributing.md
Before code can be accepted all contributors must complete our [Individual Contributor License Agreement (CLA)][cla]. Code Contributions ------------------ Get working code on a personal branch with tests passing before you submit a PR: ``` ./gradlew clean check ``` Please make every effort to follow existing conventions and style in order to keep the code as readable as possible.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 14 08:26:50 GMT 2023 - 2K bytes - Click Count (0) -
docs_src/response_model/tutorial003_03_py310.py
from fastapi import FastAPI from fastapi.responses import RedirectResponse app = FastAPI() @app.get("/teleport") async def get_teleport() -> RedirectResponse:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 241 bytes - Click Count (0) -
guava/src/com/google/common/base/SmallCharMatcher.java
*/ @VisibleForTesting static int chooseTableSize(int setSize) { if (setSize == 1) { return 2; } // Correct the size for open addressing to match desired load factor. // Round up to the next highest power of 2. int tableSize = Integer.highestOneBit(setSize - 1) << 1; while (tableSize * DESIRED_LOAD_FACTOR < setSize) { tableSize <<= 1; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
* @return the sequence number */ public long getSequenceNumber() { return sequenceNumber; } /** * Gets the response sequence number returned by the server. * This should match the request sequence number in a successful response. * * @return the response sequence number */ public long getResponseSequenceNumber() { return responseSequenceNumber; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5.8K bytes - Click Count (0)