Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 327 for Synchronized (0.93 seconds)

  1. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (1)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .suppressing(suppressForEnumSet())
            .createTestSuite();
      }
    
      /**
       * Tests regular NavigableSet behavior of synchronizedNavigableSet(treeSet); does not test the
       * fact that it's synchronized.
       */
      public Test testsForSynchronizedNavigableSet() {
        return NavigableSetTestSuiteBuilder.using(
                new TestStringSortedSetGenerator() {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                    .filter(ga -> ga.startsWith("org.apache.maven:maven-api-"))
                    .collect(Collectors.toSet());
        }
    
        private ClassRealm newRealm(String id) {
            synchronized (world) {
                String realmId = id;
    
                Random random = new Random();
    
                while (true) {
                    try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

         *
         * @param sessionId the crawler session ID that has finished processing
         */
        public void addFinishedSessionId(final String sessionId) {
            synchronized (finishedSessionIdList) {
                finishedSessionIdList.add(sessionId);
            }
        }
    
        /**
         * Deletes all data associated with a specific crawler session.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

         * @param path The path to match.
         * @return A set of matched label values.
         */
        public Set<String> getMatchedLabelValueSet(final String path) {
            if (labelTypePatternList == null) {
                synchronized (this) {
                    if (labelTypePatternList == null) {
                        buildLabelTypePatternList(ComponentUtil.getComponent(LabelTypeService.class).getLabelTypeList());
                    }
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

     * Provides utility methods for URL processing, site extraction, data mapping,
     * and field configuration handling during the document transformation process.
     */
    public interface FessTransformer {
    
        /**
         * Synchronized LRU cache for storing parent URL encodings.
         * Maps session+parent URL keys to their corresponding character encodings.
         */
        Map<String, String> parentEncodingMap = Collections.synchronizedMap(new LruHashMap<>(1000));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         * @throws DcerpcException if the bind operation fails
         * @throws IOException if an I/O error occurs
         */
        public void bind() throws DcerpcException, IOException {
            synchronized (this) {
                try {
                    state = 1;
                    final DcerpcMessage bind = new DcerpcBind(binding, this);
                    sendrecv(bind);
                } catch (final IOException ioe) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

            ProjectArtifactsCache.CacheRecord recordArtifacts;
            recordArtifacts = projectArtifactsCache.get(cacheKey);
            if (recordArtifacts == null) {
                synchronized (cacheKey) {
                    recordArtifacts = projectArtifactsCache.get(cacheKey);
                    if (recordArtifacts == null) {
                        try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      public void testOrderingUnmodifiable() {
        SetMultimap<String, Integer> multimap = initializeMultimap5();
        assertOrderingReadOnly(Multimaps.unmodifiableMultimap(multimap));
      }
    
      @J2ktIncompatible // Synchronized
      public void testOrderingSynchronized() {
        SetMultimap<String, Integer> multimap = initializeMultimap5();
        assertOrderingReadOnly(synchronizedMultimap(multimap));
      }
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

      private class RecordingPushObserver :
        PushObserver,
        Lockable {
        val events = mutableListOf<Any>()
    
        @Synchronized fun takeEvent(): Any {
          while (events.isEmpty()) {
            wait()
          }
          return events.removeAt(0)
        }
    
        @Synchronized override fun onRequest(
          streamId: Int,
          requestHeaders: List<Header>,
        ): Boolean {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 75.5K bytes
    - Click Count (0)
Back to Top