Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 249 for isSynchronized (0.06 sec)

  1. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            when(address.getHostName()).thenReturn("testhost");
    
            transport = new SmbTransportImpl(context, address, 445, null, 0, false);
        }
    
        /**
         * Test that pre-auth integrity hash is properly synchronized
         */
        @Test
        @DisplayName("Pre-auth integrity hash should be thread-safe")
        void testPreauthHashThreadSafety() throws Exception {
            // Setup SMB3.1.1 negotiation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

            try (SmbFileHandleImpl fh = ensureOpen()) {}
        }
    
        /**
         * @param file
         * @param openFlags
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbWatchHandleTest.java

                private final Object lock = new Object();
                private int watchCount = 0;
    
                @Override
                public List<FileNotifyInformation> watch() throws CIFSException {
                    synchronized (lock) {
                        watchCount++;
                        try {
                            // Simulate some processing time
                            Thread.sleep(10);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. docs/smb3-features/06-witness-protocol-design.md

        private final int batchSize = 10;
        private final long batchTimeout = 100;  // 100ms
        
        public void addNotification(WitnessNotification notification) {
            synchronized (pendingNotifications) {
                pendingNotifications.offer(notification);
                
                if (pendingNotifications.size() >= batchSize) {
                    processBatch();
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common_test.go

    			t.Errorf("Unexpected error: %v", dataErrsPerDisk[diskIndex])
    		}
    
    		if disk == nil {
    			t.Errorf("Drive erroneously filtered, driveIndex: %d", diskIndex)
    		}
    	}
    
    	// Test 2: Not synchronized modtime
    	erasureDisks = s.getDisks()
    	partsMetadataBackup := partsMetadata[0]
    	partsMetadata[0].ModTime = partsMetadata[0].ModTime.Add(-1 * time.Hour)
    
    	errs = make([]error, len(erasureDisks))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>This method is not type-safe, as it may be called on elements that are not mutually
       * comparable.
       *
       * <p>This method is safe to use even when {@code elements} is a synchronized or concurrent
       * collection that is currently being modified by another thread.
       *
       * @throws ClassCastException if the elements are not mutually comparable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  7. docs/en/docs/async.md

    As the execution time is consumed mostly by waiting for <abbr title="Input and Output">I/O</abbr> operations, they call them "I/O bound" operations.
    
    It's called "asynchronous" because the computer / program doesn't have to be "synchronized" with the slow task, waiting for the exact moment that the task finishes, while doing nothing, to be able to take the task result and continue the work.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        public void deleteBadWord(final String badWord) {
            suggester.indexer().deleteBadWord(badWord);
            refresh();
        }
    
        /**
         * Refreshes the suggest index.
         */
        public synchronized void refresh() {
            suggester.refresh();
            if (popularWordHelper != null) {
                popularWordHelper.clearCache();
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

                    dataMap.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(dataMap));
                }
    
                languageHelper.updateDocument(dataMap);
    
                synchronized (docList) {
                    docList.add(ingest(paramMap, dataMap));
                    final long contentSize = indexingHelper.calculateDocumentSize(dataMap);
                    docList.addContentSize(contentSize);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

        public SmbClient() {
            super();
        }
    
        /**
        * Initializes the SMB client.
        * @see org.codelibs.fess.crawler.client.AbstractCrawlerClient#init()
        */
        @Override
        public synchronized void init() {
            if (smbAuthenticationHolder != null) {
                return;
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing SmbClient...");
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
Back to top