- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 409 for wraps (0.05 seconds)
-
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
// Assert assertEquals(HTTP_UNAUTHORIZED, responseCode); // Since we don't use NTLM, no reconnection should happen } /** * Test that getOutputStream() returns a CacheStream that wraps the underlying stream. * @throws IOException */ @Test void testGetOutputStreamCachesData() throws IOException { // Arrange // Enable output modeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
} return copyInternal((FileInputStream) in, wrap(out)); } if (out instanceof FileOutputStream) { return copyInternal(wrap(in), (FileOutputStream) out); } return copyInternal(wrap(in), wrap(out)); } // //////////////////////////////////////////////////////////////// // from InputStream to WriterCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 45.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
return computingFunction.apply(checkNotNull(key)); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /** * Returns a {@code CacheLoader} which wraps {@code loader}, executing calls to {@link * CacheLoader#reload} using {@code executor}. * * <p>This method is useful only when {@code loader.reload} has a synchronous implementation, such
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
return baseQuery; } return baseQuery + " sort:" + sortField; } /** * Appends a query string to the query buffer with proper formatting. * Handles OR operators and wraps complex queries in parentheses when necessary. * * @param queryBuf the StringBuilder to append to * @param query the query string to append */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
queryContext.addQuery(boolQuery -> { // Don't add any clauses }); // When no clauses are added to a non-MatchAllQuery, it still wraps in BoolQuery QueryBuilder result = queryContext.getQueryBuilder(); assertTrue(result instanceof BoolQueryBuilder); BoolQueryBuilder boolResult = (BoolQueryBuilder) result;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
protected Iterator<Integer> newTargetIterator() { return newArrayList(2, 1, 3).iterator(); } }; assertFailure(tester); } /** * This Iterator wraps another iterator and gives it a bug found in JDK6. * * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
} } return result.toString(); } /** * Generates a URL-safe host string from an InetAddress. * For IPv6 addresses, this wraps the address in brackets and compresses it. * For IPv4 addresses, returns the address as-is. * * @param address the InetAddress to format * @return the URL-safe host string */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
/** * Deletes a dictionary item. * * @param item the item to delete */ public abstract void delete(T item); /** * A paginated list implementation that wraps another list and provides * pagination metadata and functionality. * * @param <E> the type of elements in this list */ public static class PagingList<E> implements List<E> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.2K bytes - Click Count (0) -
README.md
```java import org.codelibs.core.exception.*; // Runtime exception wrappers eliminate try-catch boilerplate try { // Code that might throw checked exceptions return ClassUtil.newInstance(className); // Wraps checked exceptions automatically } catch (ClassNotFoundRuntimeException e) { // Handle the wrapped exception logger.error("Class not found: " + className, e); } ``` ## 🏗️ Architecture & Design PatternsCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
} catch (Exception e) { // Ignore cleanup exceptions in test } } } // The ProtwordsUpdater constructor wraps exceptions in DictionaryException // with message "Failed to write a userDict file." - this is covered by // the constructor's exception handling implementation } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (0)