- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 6,187 for New (0.04 seconds)
-
guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
String read(ByteSource byteSource, Charset cs) throws IOException { return new String(byteSource.read(), cs); } }, USING_CHARSTREAMS_COPY { @Override String read(ByteSource byteSource, Charset cs) throws IOException { StringBuilder sb = new StringBuilder(); try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) { CharStreams.copy(reader, sb);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java
* not want to create a new NbtAddress object for this particular * address from which the query is constructed, we want to populate * the data of the existing address that should be one of several * returned by the node status. */ NodeStatusResponse(final NbtAddress queryAddress) { this.queryAddress = queryAddress; recordName = new Name(); macAddress = new byte[6]; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
assertArrayEquals(new byte[0], lm); assertArrayEquals(new byte[0], nt); } @Test void unsupportedCredentialType() { assertThrows(SmbException.class, () -> new SmbComSessionSetupAndX(mockContext, mockNegotiate, mockAndX, "foo")); } @Test void byteArrayBlob() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
.isEqualTo(21); } public void testRemovalListener_expireAfterWrite() { FakeTicker ticker = new FakeTicker(); AtomicInteger evictionCount = new AtomicInteger(); AtomicInteger applyCount = new AtomicInteger(); AtomicInteger totalSum = new AtomicInteger(); RemovalListener<Integer, AtomicInteger> removalListener = notification -> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 19.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
Object one = new Object(); cache.getUnchecked(one); assertThat(cache.stats()).isEqualTo(EMPTY_STATS); cache.getUnchecked(one); assertThat(cache.stats()).isEqualTo(EMPTY_STATS); Object two = new Object(); cache.getUnchecked(two); assertThat(cache.stats()).isEqualTo(EMPTY_STATS); Object three = new Object(); cache.getUnchecked(three);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
Object one = new Object(); cache.getUnchecked(one); assertThat(cache.stats()).isEqualTo(EMPTY_STATS); cache.getUnchecked(one); assertThat(cache.stats()).isEqualTo(EMPTY_STATS); Object two = new Object(); cache.getUnchecked(two); assertThat(cache.stats()).isEqualTo(EMPTY_STATS); Object three = new Object(); cache.getUnchecked(three);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:00")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("2010/9/7 11:49:10", Locale.JAPAN); assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:10"));
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
byte[] buffer = new byte[256]; int bytesWritten = response.writeBytesWireFormat(buffer, 0); assertEquals(0, bytesWritten); } @Test void testToString() { // Test toString method response = new SmbComQueryInformationResponse(mockConfig, 0L); // Set test valuesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
// When Integer timeout = request.getOverrideTimeout(); // Then assertNull(timeout, "Cancel requests should not override timeout"); } @Test @DisplayName("Test allowChain returns false") void testAllowChain() { // Given Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizerTest.java
public void test_constructor() throws Exception { FullWidthToHalfWidthAlphabetNormalizer normalizer = new FullWidthToHalfWidthAlphabetNormalizer(); assertNotNull(normalizer); } @Test public void test_lowercaseAlphabet() throws Exception { FullWidthToHalfWidthAlphabetNormalizer normalizer = new FullWidthToHalfWidthAlphabetNormalizer();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 4.7K bytes - Click Count (0)