Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 266 for synchronize (0.75 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

                    this.uhe = uhe;
                } catch (final Exception ex) {
                    this.uhe = new UnknownHostException(ex.getMessage());
                } finally {
                    synchronized (sem) {
                        sem.count--;
                        sem.notify();
                    }
                }
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

                            BufferCache.releaseBuffer(buffer);
                            successCount.incrementAndGet();
                        }
                    } catch (Exception e) {
                        synchronized (exceptions) {
                            exceptions.add(e);
                        }
                    } finally {
                        endLatch.countDown();
                    }
                });
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

        private static class IOExceptionOccurProperties extends Properties {
    
            /**
             *
             */
            private static final long serialVersionUID = 1L;
    
            @Override
            public synchronized void load(final InputStream inStream) throws IOException {
                throw new IOException("load");
            }
    
        }
    
        /**
         * {@link org.codelibs.core.io.PropertiesUtil#load(Properties, String)}
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            // When - Release session to trigger cleanup
            session.release();
    
            // Then - Trees should be cleared (we can't directly verify as it's internal,
            // but the cleanup code with synchronized block ensures it happens atomically)
            // The important part is that no exception occurs and the operation is atomic
        }
    
        /**
         * Test concurrent acquire and release operations.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     * strategies.
     *
     * <ul>
     *   <li>SafeAtomicHelper: uses Atomic FieldsUpdaters to implement synchronization
     *   <li>SynchronizedHelper: uses {@code synchronized} blocks for synchronization
     * </ul>
     *
     * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

             *
             * @param newState new lease state
             */
            public synchronized void updateState(int newState) {
                this.leaseState = newState;
                this.lastAccessTime = System.currentTimeMillis();
            }
    
            /**
             * Increment the epoch value
             */
            public synchronized void incrementEpoch() {
                this.epoch++;
            }
    
            /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    synchronized (result) {
                        result.addMissingArtifact(artifact);
                    }
                } catch (ArtifactResolutionException e) {
                    // This is really a wagon TransferFailedException so something went wrong after we successfully
                    // retrieved the metadata.
    
                    synchronized (result) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            final int[] callCount = { 0 };
    
            SearchLogHelper mockSearchLogHelper = new SearchLogHelper() {
                @Override
                public void storeSearchLog() {
                    synchronized (lock) {
                        callCount[0]++;
                        if (callCount[0] % 2 == 0) {
                            throw new RuntimeException("Even call error");
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

                                List<Map<String, Object>> results =
                                        processor.search("*", new TestSearchRequestParams(0, 10, 0), OptionalThing.empty());
                                synchronized (allResults) {
                                    allResults.add(results);
                                }
                            } catch (InterruptedException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                this.fp = 0L;
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        /**
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            // ensure file is open
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
Back to Top