- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 286 for isSame (1.55 sec)
-
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
byte[] buffer1 = BufferCache.getBuffer(); buffer1[0] = (byte) 0xAB; buffer1[1] = (byte) 0xCD; BufferCache.releaseBuffer(buffer1); // When - Get another buffer (might be the same one from cache) byte[] buffer2 = BufferCache.getBuffer(); // Then - Buffer should be valid assertNotNull(buffer2, "Reused buffer should not be null");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java
ResponseData responseData = new ResponseData(); assertTrue(deserializedRule.match(responseData)); } /** * Test multiple rules with same ResponseProcessor */ public void test_multipleRulesWithSameProcessor() { TestResponseProcessor sharedProcessor = new TestResponseProcessor("shared");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 22.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapImage.java
*/ public class SitemapImage implements Serializable { private static final long serialVersionUID = 1L; /** * The URL of the image. * In some cases, the image URL may not be on the same domain as your main site. */ private String loc; /** * The caption of the image. */ private String caption; /** * The geographic location of the image.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:34:36 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
assertNotNull(buf, "getBuffer should never return null"); assertEquals(5, buf.length, "Newly allocated buffer length should match config maximum size"); } // Happy path: get -> release -> get returns same instance, zeroed on release @Test @DisplayName("Release stores buffer for reuse and zeroes its contents") void releaseStoresAndZeroesBuffer() { BufferCacheImpl impl = new BufferCacheImpl(2, 10);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
assertNotNull(pooled1); // Test wrapping same object multiple times PooledObject<TestComponent> pooled2 = factory.wrap(component); assertNotNull(pooled2); assertNotSame(pooled1, pooled2); // Different PooledObject instances assertSame(pooled1.getObject(), pooled2.getObject()); // Same wrapped object } /** * Test factory configuration independence
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 13:07:01 UTC 2025 - 36.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
@Test @DisplayName("Context accessor returns constructor-provided context") void contextAccessor() { assertSame(ctx, transport.getContext()); } @Test @DisplayName("acquire returns same instance") void acquireReturnsSameInstance() { SmbTransportImpl acquired = transport.acquire(); assertSame(transport, acquired); transport.close(); // release once } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmFlags.java
* authentication. */ int NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED = 0x00002000; /** * Sent by the server to indicate that the server and client are * on the same machine. This implies that the server will include * a local security context handle in the Type 2 message, for * use in local authentication. */ int NTLMSSP_NEGOTIATE_LOCAL_CALL = 0x00004000;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
assertNull(bothNullException.getMessage()); assertNull(bothNullException.getCause()); } @Test @DisplayName("Test deprecated getRootCause method returns the same as getCause") @SuppressWarnings("deprecation") public void testGetRootCause() { // Test with no cause TransportException noCauseException = new TransportException("No cause");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java
assertNotNull(retrieved); assertEquals(1, retrieved.length); assertNull(retrieved[0]); } public void test_multipleOperationsOnSameKey() { // Test multiple operations on the same key ExtractData data = new ExtractData(); // First operation data.putValue("key", "value1"); assertEquals("value1", data.getValues("key")[0]);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
return Objects.hash(Arrays.hashCode(inputs), output); } /** * Compares this CharMappingItem with another object for equality. * Two CharMappingItem objects are equal if they have the same inputs and output. * Note: inputs arrays are sorted in the constructor, so no sorting is needed here. * * @param obj the object to compare with * @return true if the objects are equal, false otherwise
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 7.9K bytes - Viewed (0)