- Sort Score
- Num 10 results
- Language All
Results 1981 - 1990 of 2,271 for LENGTH (0.04 seconds)
-
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
final Smb2QueryDirectoryRequest query = new Smb2QueryDirectoryRequest(th.getConfig(), this.fileId); query.setFileName(this.getWildcard()); query.setFileIndex(results[results.length - 1].getFileIndex()); query.setQueryFlags(Smb2QueryDirectoryRequest.SMB2_INDEX_SPECIFIED); try { final Smb2QueryDirectoryResponse r = th.send(query);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
} if (!replacement.startsWith(GROOVY_MATCHER)) { return (u, m) -> m.replaceAll(replacement); } final String template = replacement.substring(GROOVY_MATCHER.length()); return (u, m) -> { final Map<String, Object> paramMap = new HashMap<>(); paramMap.put("url", u); paramMap.put("matcher", m); final Object value =Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
assertThat(file).isNull(); // Write data to go over the threshold if (chunk2 > 0) { write(out, data, chunk1, chunk2, singleByte); file = out.getFile(); assertEquals(dataSize, file.length()); assertTrue(file.exists()); assertThat(file.getName()).contains("FileBackedOutputStream"); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:04:26 GMT 2026 - 8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
// Create a buffer with sample data byte[] buffer = new byte[100]; // Fill with some test data for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i % 256); } int result = resp.readDataWireFormat(buffer, 0, 40); assertNotNull(resp.info);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
private CurlRequest getCurlRequest(final String header) { if (StringUtil.isBlank(header)) { return null; } final String[] values = header.split(" "); if (values.length != 2) { return null; } final String path; if (values[1].startsWith("/")) { path = values[1]; } else { path = "/" + values[1];
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
private static TestEnumMultisetGenerator enumMultisetGenerator() { return new TestEnumMultisetGenerator() { @Override protected Multiset<AnEnum> create(AnEnum[] elements) { return (elements.length == 0) ? EnumMultiset.create(AnEnum.class) : EnumMultiset.create(asList(elements)); } }; } private enum Color { BLUE, RED, YELLOW, GREEN,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
IOException error = new IOException("Connection failed"); // Simulate concurrent failures Thread[] threads = new Thread[5]; for (int i = 0; i < threads.length; i++) { threads[i] = new Thread(() -> failover.handleFailure(failedChannel, error)); threads[i].start(); } // Wait for all threads to complete
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
} @Test void testConcurrentAccess() throws InterruptedException { // Test thread safety Thread[] threads = new Thread[10]; for (int i = 0; i < threads.length; i++) { threads[i] = new Thread(() -> { channelManager.getChannels(); channelManager.getHealthyChannels(); channelManager.getLoadBalancer(); });Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/operations/WordManagementOperations.java
int numberOfSuggestDocs = 0; int numberOfInputDocs = 0; final ElevateWord[] elevateWords = settings.elevateWord().get(); final List<Throwable> errors = new ArrayList<>(elevateWords.length); for (final ElevateWord elevateWord : elevateWords) { final SuggestIndexResponse res = addElevateWord(index, elevateWord, true); numberOfSuggestDocs += res.getNumberOfSuggestDocs();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 6.4K bytes - Click Count (0) -
docs/zh/docs/advanced/custom-response.md
`Response` 类接受如下参数: * `content` - 一个 `str` 或者 `bytes`。 * `status_code` - 一个 `int` 类型的 HTTP 状态码。 * `headers` - 一个由字符串组成的 `dict`。 * `media_type` - 一个给出媒体类型的 `str`,比如 `"text/html"`。 FastAPI(实际上是 Starlette)将自动包含 Content-Length 的头。它还将包含一个基于 `media_type` 的 Content-Type 头,并为文本类型附加一个字符集。 {* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } 如上文所述,接受文本或字节并返回 HTML 响应。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.4K bytes - Click Count (0)