Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 288 for synchronized (0.23 sec)

  1. guava/src/com/google/common/util/concurrent/RateLimiter.java

      @CheckForNull private volatile Object mutexDoNotUseDirectly;
    
      private Object mutex() {
        Object mutex = mutexDoNotUseDirectly;
        if (mutex == null) {
          synchronized (this) {
            mutex = mutexDoNotUseDirectly;
            if (mutex == null) {
              mutexDoNotUseDirectly = mutex = new Object();
            }
          }
        }
        return mutex;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

         */
        @Override
        public boolean isStale () {
            return !this.open || ( this.handle != null && !this.handle.isValid() );
        }
    
    
        @Override
        public synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
            if ( !this.open ) {
                throw new SmbException("Pipe handle already closed");
            }
    
            if ( !isOpen() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  3. internal/disk/fdatasync_linux.go

    // (st_size, as made by say ftruncate(2)), would require a metadata flush.
    //
    // The aim of fdatasync() is to reduce disk activity for applications that
    // do not require all metadata to be synchronized with the disk.
    func Fdatasync(f *os.File) error {
    	return syscall.Fdatasync(int(f.Fd()))
    }
    
    // FadviseDontNeed invalidates page-cache
    func FadviseDontNeed(f *os.File) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 29 23:40:28 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

       * @return a synchronized view of the specified navigable set.
       * @since 13.0
       */
      @GwtIncompatible // NavigableSet
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> NavigableSet<E> synchronizedNavigableSet(
          NavigableSet<E> navigableSet) {
        return Synchronized.navigableSet(navigableSet);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          sink.writeUtf8("\r\n")
          sink.write(source, byteCount)
          sink.writeUtf8("\r\n")
        }
    
        @Synchronized
        override fun flush() {
          if (closed) return // Don't throw; this stream might have been closed on the caller's behalf.
          sink.flush()
        }
    
        @Synchronized
        override fun close() {
          if (closed) return
          closed = true
          sink.writeUtf8("0\r\n\r\n")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            buffer.append(repository.getUrl());
    
            return buffer.toString();
        }
    
        private void writeLastUpdated(File touchfile, String key, String error) {
            synchronized (touchfile.getAbsolutePath().intern()) {
                if (!touchfile.getParentFile().exists()
                        && !touchfile.getParentFile().mkdirs()) {
                    getLogger()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Dfs.java

                if (strictView && ioe instanceof SmbAuthException) {
                    throw (SmbAuthException)ioe;
                }
            }
            return null;
        }
        public synchronized DfsReferral resolve(String domain,
                    String root,
                    String path,
                    NtlmPasswordAuthentication auth) throws SmbAuthException {
            DfsReferral dr = null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

        protected boolean noWaitOnFolder = false;
    
        protected void startCrawling() {
            synchronized (crawlerContext.activeThreadCountLock) {
                crawlerContext.activeThreadCount++;
            }
        }
    
        protected void finishCrawling() {
            synchronized (crawlerContext.activeThreadCountLock) {
                crawlerContext.activeThreadCount--;
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingRequest.java

        @Override
        public DefaultSettingsBuildingRequest setSystemProperties(Properties systemProperties) {
            if (systemProperties != null) {
                this.systemProperties = new Properties();
                synchronized (systemProperties) { // avoid concurrent modification if someone else sets/removes an unrelated
                    // system property
                    this.systemProperties.putAll(systemProperties);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Enums.java

        return result;
      }
    
      @GwtIncompatible // java.lang.ref.WeakReference
      static <T extends Enum<T>> Map<String, WeakReference<? extends Enum<?>>> getEnumConstants(
          Class<T> enumClass) {
        synchronized (enumConstantCache) {
          Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass);
          if (constants == null) {
            constants = populateCache(enumClass);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top