Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 326 for synchronize (0.51 seconds)

  1. src/main/java/jcifs/smb1/smb1/Dfs.java

         * @param path the path to resolve
         * @param auth the authentication credentials
         * @return a DFS referral for the resolved path
         * @throws SmbAuthException if authentication fails
         */
        public synchronized DfsReferral resolve(String domain, String root, final String path, final NtlmPasswordAuthentication auth)
                throws SmbAuthException {
            DfsReferral dr = null;
            final long now = System.currentTimeMillis();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

        abstract val fileSystemOperations: FileSystemOperations
    
        private
        var hasCleaned = false
    
        val logger = Logging.getLogger(CachesCleaner::class.java)
    
        fun cleanUpCaches() {
            synchronized(this) {
                if (hasCleaned) {
                    return
                }
                logger.lifecycle("Cleaning up caches...")
                val homeDir = parameters.homeDir.get()
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.2K bytes
    - Click Count (1)
  3. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        Subscriber s1 = Subscriber.create(bus, this, getTestSubscriberMethod("recordingMethod"));
        assertThat(s1).isInstanceOf(Subscriber.SynchronizedSubscriber.class);
    
        // a thread-safe method should not create a synchronized subscriber
        Subscriber s2 = Subscriber.create(bus, this, getTestSubscriberMethod("threadSafeMethod"));
        assertThat(s2).isNotInstanceOf(Subscriber.SynchronizedSubscriber.class);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 21:52:12 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

      private TearDownStack buildTearDownStack() {
        TearDownStack result = new TearDownStack();
        tearDownStack.addTearDown(
            () -> {
              synchronized (result.lock) {
                assertEquals(
                    "The test should have cleared the stack (say, by virtue of running runTearDown)",
                    0,
                    result.stack.size());
              }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

        }
    
        @Override
        public void setFile(File file) {
            throw new UnsupportedOperationException("transformed artifact file cannot be set");
        }
    
        @Override
        public synchronized File getFile() {
            try {
                String state = mayUpdate();
                if (state == null) {
                    return null;
                }
                return target.toFile();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                                boolean contains = pool.contains(null); // Should handle gracefully
                                successCount.incrementAndGet();
                            } catch (Exception e) {
                                synchronized (exceptions) {
                                    exceptions.add(e);
                                }
                            }
                        }
                        long threadEnd = System.nanoTime();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  7. dbflute_fess/dfprop/littleAdjustmentMap.dfprop

        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o refreshMap: (NotRequired - Default map:{projectName=$$AutoDetect$$ ; requestUrl=http://localhost:8386/})
        #  If you use synchronizer and specify this property, no need to refresh(F5) your eclipse project.
        #  The projectName can be set plural names by slash '/'. e.g. sea/land
        #
        #; refreshMap = map:{
        #    ; projectName = $$AutoDetect$$
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jul 25 06:04:16 GMT 2015
    - 8.8K bytes
    - Click Count (0)
  8. internal/cachevalue/cache.go

    	// If NoWait is set, Get() will return the last good value,
    	// if TTL has expired but 2x TTL has not yet passed,
    	// but will fetch a new value in the background.
    	NoWait bool
    }
    
    // Cache contains a synchronized value that is considered valid
    // for a specific amount of time.
    // An Update function must be set to provide an updated value when needed.
    type Cache[T any] struct {
    	// updateFn must return an updated value.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 12:50:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        Subscriber s1 = Subscriber.create(bus, this, getTestSubscriberMethod("recordingMethod"));
        assertThat(s1).isInstanceOf(Subscriber.SynchronizedSubscriber.class);
    
        // a thread-safe method should not create a synchronized subscriber
        Subscriber s2 = Subscriber.create(bus, this, getTestSubscriberMethod("threadSafeMethod"));
        assertThat(s2).isNotInstanceOf(Subscriber.SynchronizedSubscriber.class);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 21:52:12 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

        assertTrue(Thread.holdsLock(mutex));
        return super.isEmpty();
      }
    
      /*
       * We don't assert that the lock is held during calls to iterator(), stream(), and spliterator:
       * `Synchronized` doesn't guarantee that it will hold the mutex for those calls because callers
       * are responsible for taking the mutex themselves:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top