- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 230 for isInitialized (0.06 sec)
-
src/test/java/jcifs/context/SingletonContextTest.java
void testInitAlreadyInitializedThrowsException() throws CIFSException { // Test attempting to initialize when already initialized SingletonContext.init(null); CIFSException e = assertThrows(CIFSException.class, () -> SingletonContext.init(null)); assertEquals("Singleton context is already initialized", e.getMessage()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
* Striped<Semaphore>}, and {@linkplain #readWriteLock(int) strong} and {@linkplain * #lazyWeakReadWriteLock(int) weak} {@code Striped<ReadWriteLock>}. <i>Strong</i> means that all * stripes (locks/semaphores) are initialized eagerly, and are not reclaimed unless {@code Striped} * itself is reclaimable. <i>Weak</i> means that locks/semaphores are created lazily, and they are
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
this.journalFileBackup = directory / JOURNAL_FILE_BACKUP } @Synchronized @Throws(IOException::class) fun initialize() { assertLockHeld() if (initialized) { return // Already initialized. } // If a bkp file exists, use it instead. if (fileSystem.exists(journalFileBackup)) { // If journal file also exists just delete backup file.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
src/main/java/jcifs/context/SingletonContext.java
* @throws CIFSException if the singleton context is already initialized or there is an error during initialization */ public static synchronized final void init(final Properties props) throws CIFSException { if (INSTANCE != null) { throw new CIFSException("Singleton context is already initialized"); } final Properties p = new Properties(); try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java
// Then // Verify that ptype is set to 0 assertEquals(0, msrpcSamrOpenDomain.getPtype(), "ptype should be initialized to 0"); // Verify that flags are set correctly (DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG) // The actual values for DCERPC_FIRST_FRAG and DCERPC_LAST_FRAG are typically 0x01 and 0x02 respectively.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
DisposableUtil.dispose(); assertThat(MessageFormatter.initialized, is(not(true))); MessageFormatter.getMessage("EMSG0000"); assertThat(MessageFormatter.initialized, is(true)); DisposableUtil.dispose(); assertThat(MessageFormatter.initialized, is(not(true))); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
// A 2-field variant of Double Checked Locking. if (!initialized) { synchronized (lock) { if (!initialized) { T t = delegate.get(); value = t; initialized = true; return t; } } } // This is safe because we checked `initialized`. return uncheckedCastNullableTToT(value); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
cmd/auth-handler_test.go
req := mustNewRequest(method, urlStr, contentLength, body, t) cred := globalActiveCred if err := signRequestV4(req, cred.AccessKey, cred.SecretKey); err != nil { t.Fatalf("Unable to initialized new signed http request %s", err) } return req } // This is similar to mustNewRequest but additionally the request // is signed with AWS Signature V2, fails if not able to do so.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java
* detail message. The cause is not initialized, and may subsequently be * initialized by a call to {@link #initCause}. */ public InterpolatorException() {} /** * Constructs a new InterpolatorException with the specified detail message. * The cause is not initialized, and may subsequently be initialized by * a call to {@link #initCause}. *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
} @Test void testConstructor() { // Test if the offsets are initialized correctly by the constructor. assertEquals(69, smbComNtTransaction.primarySetupOffset, "primarySetupOffset should be initialized to 69"); assertEquals(51, smbComNtTransaction.secondaryParameterOffset, "secondaryParameterOffset should be initialized to 51"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)