- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 6,076 for newE (0.02 seconds)
-
android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus()); public void testRegister() { assertEquals(0, registry.getSubscribersForTesting(String.class).size()); registry.register(new StringSubscriber()); assertEquals(1, registry.getSubscribersForTesting(String.class).size()); registry.register(new StringSubscriber());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/Curl.java
return new CurlRequest(Method.POST, url); } /** * Creates a new CurlRequest with the HTTP PUT method for the specified URL. * * @param url the URL to which the PUT request will be sent * @return a new CurlRequest object configured with the PUT method and the specified URL */ public static CurlRequest put(final String url) { return new CurlRequest(Method.PUT, url); }
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 5.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
ImmutableList.of( new ExpectedHashCode( new byte[] { (byte) 0xef, (byte) 0xcd, (byte) 0xab, (byte) 0x89, (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01 }, 0x89abcdef, 0x0123456789abcdefL, "efcdab8967452301"), new ExpectedHashCode( new byte[] {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
assertThrows(NullPointerException.class, () -> { new PropertyConfiguration(null); }); } @Test @DisplayName("Should handle empty properties") void testEmptyProperties() throws CIFSException { // Given Properties emptyProps = new Properties(); // When PropertyConfiguration emptyConfig = new PropertyConfiguration(emptyProps); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java
* parameters with actual credentials. * * <p>Usage example: * <pre> * {@code * Map<String, String> params = new HashMap<>(); * params.put("token_url", "http://example.com/token"); * params.put("login_url", "http://example.com/login"); * Hc5FormScheme formScheme = new Hc5FormScheme(params); * formScheme.authenticate(credentials, executor); * } * </pre> * * <p>Parameters: * <ul>
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 13:09:59 GMT 2026 - 15.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
Files.copy(i18nFile, temp1); moveHelper(true, new UnmovableFile(temp1, false, true), temp2); assertTrue(Files.equal(temp2, i18nFile)); } public void testMoveFailures() throws IOException { File temp1 = createTempFile(); File temp2 = createTempFile(); moveHelper(false, new UnmovableFile(temp1, false, false), temp2); moveHelper(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 22.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
return new Date(((Date) src).getTime()); } if (src instanceof Calendar) { return new Date(((Calendar) src).getTimeInMillis()); } final String str = src.toString(); if (isEmpty(str)) { return null; } if (isNotEmpty(pattern)) { final SimpleDateFormat format = new SimpleDateFormat(pattern, locale);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 20.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
return new Date(((Date) src).getTime()); } if (src instanceof Calendar) { return new Date(((Calendar) src).getTimeInMillis()); } final String str = src.toString(); if (isEmpty(str)) { return null; } if (isNotEmpty(pattern)) { final SimpleDateFormat format = new SimpleDateFormat(pattern, locale);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
void testWriteBytesWireFormatFileIdCopy() { setupMockConfig(); byte[] customFileId = new byte[16]; for (int i = 0; i < 16; i++) { customFileId[i] = (byte) i; } Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE, customFileId); byte[] buffer = new byte[1024]; int written = request.writeBytesWireFormat(buffer, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java
assertThat(loadAllCount.get()).isEqualTo(0); Object unused1 = baseLoader.load(new Object()); @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = baseLoader.reload(new Object(), new Object()); Map<Object, Object> unused2 = baseLoader.loadAll(ImmutableList.of(new Object())); assertThat(loadCount.get()).isEqualTo(1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 3.8K bytes - Click Count (0)