- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 906 for Instance (0.05 sec)
-
src/test/java/jcifs/smb1/util/LogStreamTest.java
// Test getInstance when no instance has been set // Should default to System.err LogStream instance = LogStream.getInstance(); assertNotNull(instance); // Getting instance again should return the same instance LogStream instance2 = LogStream.getInstance(); assertSame(instance, instance2); } @Test void testSetInstanceAndGetInstance() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
SmbShareInfo instance3 = new SmbShareInfo("SHARE2", 0, "remark1"); Object notAShareInfo = new Object(); assertTrue(instance1.equals(instance2)); // Should be equal based on netName assertFalse(instance1.equals(instance3)); // Should not be equal assertFalse(instance1.equals(notAShareInfo)); // Should not be equal to other types
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interner.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
// Use reflection to reset the singleton instance between tests @BeforeEach @AfterEach void resetSingleton() { try { Field instance = SingletonContext.class.getDeclaredField("INSTANCE"); instance.setAccessible(true); instance.set(null, null); } catch (NoSuchFieldException | IllegalAccessException e) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java
byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 }; SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config); // When int result = instance.readParameterWordsWireFormat(buffer, 0); // Then assertEquals(8, result); assertEquals(0xffffL, instance.getCount()); } /** * Test of readParameterWordsWireFormat with zero count */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
docs/en/docs/advanced/advanced-dependencies.md
But we want to be able to parameterize that fixed content. ## A "callable" instance { #a-callable-instance } In Python there's a way to make an instance of a class a "callable". Not the class itself (which is already a callable), but an instance of that class. To do that, we declare a method `__call__`: {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java
* @return This builder instance. */ public SuggesterBuilder settings(final SuggestSettings settings) { this.settings = settings; settingsBuilder = null; return this; } /** * Sets the suggest settings builder. * @param settingsBuilder The suggest settings builder. * @return This builder instance. */Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/Traverser.java
* <p> * If a root package is specified at instance construction, the specified class name is interpreted as a relative name from the root package. * </p> * * @param className the class name * @return <code>true</code> if the class file exists in the resources handled by this instance */ boolean isExistClass(final String className);Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java
* This class provides factory methods for creating instances of extensible enums * such as Language, PathScope, and ProjectScope. * * @since 4.0.0 */ abstract class ExtensibleEnums { /** * Creates a new Language instance with the specified ID. * * @param id the identifier for the language * @return a new Language instance */ static Language language(String id) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.8K bytes - Viewed (0) -
fess-crawler-lasta/src/main/resources/crawler.xml
<component name="crawler" class="org.codelibs.fess.crawler.Crawler" instance="prototype" > </component> <!-- Crawler Thread --> <component name="crawlerThread" class="org.codelibs.fess.crawler.CrawlerThread" instance="prototype" > </component> <!-- Entity --> <component name="accessResult" class="org.codelibs.fess.crawler.entity.AccessResultImpl" instance="prototype" > </component>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Tue Nov 28 13:40:25 UTC 2017 - 1.7K bytes - Viewed (0)