- Sort Score
- Num 10 results
- Language All
Results 811 - 820 of 6,187 for New (0.07 seconds)
-
src/test/java/jcifs/internal/fscc/FileInformationTest.java
long originalValue = 0x123456789ABCDEFL; FileEndOfFileInformation original = new FileEndOfFileInformation(originalValue); // Encode byte[] buffer = new byte[8]; int encoded = original.encode(buffer, 0); assertEquals(8, encoded); // Decode FileEndOfFileInformation decoded = new FileEndOfFileInformation(); int decodedBytes = decoded.decode(buffer, 0, 8);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) -
guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
return new UncheckedThrowingFuture<V>(); } public void complete(RuntimeException e) { if (!super.setException(new WrapperException(checkNotNull(e)))) { throw new IllegalStateException("Future was already complete: " + this); } } public void complete(Error e) { if (!super.setException(new WrapperException(checkNotNull(e)))) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
@CanIgnoreReturnValue static int checkPositive(String role, int x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue static long checkPositive(String role, long x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.2K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
* Fix: Permit multipart file names to contain non-ASCII characters. * New: API to get MockWebServer's dispatcher. * New: API to access headers as `java.time.Instant`. * New: Fail fast if a `SSLSocketFactory` is used as a `SocketFactory`. * New: Log the TLS handshake in `LoggingEventListener`. ## Version 3.12.13 _2021-01-30_
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/PingResponseTest.java
// Test that the constructor and getters work with proper setup FessConfig mockConfig = new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public Set<String> getApiPingEsFieldSet() { return new HashSet<>(); } }; ComponentUtil.register(mockConfig, "fessConfig");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.7K bytes - Click Count (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
server = new Server(port); final ResourceHandler resourceHandler = new ResourceHandler(); resourceHandler.setWelcomeFiles("index.html"); resourceHandler.setBaseResource(ResourceFactory.of(resourceHandler).newResource(Path.of(docRoot.getAbsolutePath()))); logger.info("serving {}", docRoot.getAbsolutePath());Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/settings/TimeoutSettingsTest.java
} @Test public void testSetSearchTimeout() { TimeoutSettings settings = new TimeoutSettings(); settings.setSearchTimeout("30s"); assertEquals("30s", settings.getSearchTimeout()); } @Test public void testSetIndexTimeout() { TimeoutSettings settings = new TimeoutSettings(); settings.setIndexTimeout("2m"); assertEquals("2m", settings.getIndexTimeout());Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
int result = smbRandomAccessFile.read(); assertEquals(-1, result); } @Test void testReadByteArray() throws SmbException { byte[] buffer = new byte[10]; // Mock the read operation doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
final Map<String, Object> map = new HashMap<>(); map.put(FieldNames.TEXT, StringUtil.EMPTY); for (int i = 0; i < readings.length; i++) { map.put(FieldNames.READING_PREFIX + i, new String[] {}); } map.put(FieldNames.FIELDS, new String[] {}); map.put(FieldNames.TAGS, new String[] {}); map.put(FieldNames.ROLES, new String[] {});
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 13.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
if (subValues.length == 3) { return new Tuple4<>(values[0], subValues[0], subValues[1], subValues[2]); } if (subValues.length == 2) { return new Tuple4<>(values[0], subValues[0], subValues[1], StringUtil.EMPTY); } return new Tuple4<>(values[0], values[1], Constants.MAPPING_TYPE_ARRAY, StringUtil.EMPTY);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 92.3K bytes - Click Count (0)