Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 326 for synchronize (0.68 seconds)

  1. 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 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 29 23:40:28 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

        }
    
        @Test
        public void test_crawlerList_synchronization() {
            // Test that the crawler list is synchronized
            List<org.codelibs.fess.crawler.Crawler> crawlerList = webFsIndexHelper.crawlerList;
            assertTrue(crawlerList.getClass().getName().contains("Synchronized"));
        }
    
        @Test
        public void test_defaultValues() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

        check(socket == null)
        val socket = serverSocket!!.accept()!!
        this.socket = socket
    
        // Bail out now if this instance was closed while waiting for the socket to accept.
        synchronized(this) {
          if (executor.isShutdown) {
            socket.close()
            return
          }
        }
        val outputStream = socket.getOutputStream()
        val inputStream = socket.getInputStream()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

          return false;
        }
      }
    
      private static final class RecordingRunnable implements Runnable {
        final CountDownLatch wasRun = new CountDownLatch(1);
    
        // synchronized so that checkState works as expected.
        @Override
        public synchronized void run() {
          checkState(wasRun.getCount() > 0);
          wasRun.countDown();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  5. 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);
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/SystemUtil.java

         *
         * @return The compiled Pattern for sensitive key matching
         */
        private static Pattern getSensitivePattern() {
            if (sensitivePattern == null) {
                synchronized (SystemUtil.class) {
                    if (sensitivePattern == null) {
                        final String patternStr = System.getProperty(FessConfig.APP_LOG_SENSITIVE_PROPERTY_PATTERN, DEFAULT_SENSITIVE_PATTERN);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 03:32:50 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
        @Override
        public synchronized void close() throws IOException {
            if (this.opened) {
                this.opened = false;
                final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
                this.handle.sendrecv(rpc);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

        protected CrawlerClientFactory crawlerClientFactory;
    
        /**
         * List of URLs to be deleted, cached for batch processing.
         * All access is synchronized via indexUpdateCallback lock.
         */
        protected List<String> deleteUrlList = new ArrayList<>();
    
        /** Maximum size of the delete URL cache before batch deletion is triggered. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/ElevateWord.java

        public void setLabelTypeIds(final String[] labelTypeIds) {
            this.labelTypeIds = labelTypeIds;
        }
    
        public List<LabelType> getLabelTypeList() {
            if (labelTypeList == null) {
                synchronized (this) {
                    if (labelTypeList == null) {
                        final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        address: Address,
        call: RealCall,
        routes: List<Route>?,
        requireMultiplexed: Boolean,
      ): RealConnection? {
        for (connection in connections) {
          // In the first synchronized block, acquire the connection if it can satisfy this call.
          val acquired =
            connection.withLock {
              when {
                requireMultiplexed && !connection.isMultiplexed -> {
                  false
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 11.1K bytes
    - Click Count (0)
Back to Top