Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 269 for Synchronized (0.06 seconds)

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

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java

        }
    
        /**
         * Plexus: Populates the lifecycle map from the injected list of lifecycle mappings (if not already done).
         */
        private synchronized void initLifecycleMap() {
            if (lifecycleMap == null) {
                lifecycleMap = new HashMap<>();
    
                if (lifecycles != null) {
                    for (Lifecycle lifecycle : lifecycles) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  2. 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)
  3. guava/src/com/google/common/collect/TreeBasedTable.java

     * {@link Map} specified in the {@link Table} interface.
     *
     * <p>Note that this implementation is not synchronized. If multiple threads access this table
     * concurrently and one of the threads modifies the table, it must be synchronized externally.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">{@code Table}</a>.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          delegate.clear();
        }
    
        @Override
        public Collection<V> values() {
          assertTrue(Thread.holdsLock(mutex));
          /* TODO: verify that the Collection is also synchronized? */
          return delegate.values();
        }
    
        @Override
        public Set<Cell<R, C, V>> cellSet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.cellSet();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. 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)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java

         */
        private final int priority;
    
        /**
         * Parses the phase identifier.
         *
         * @param phase the phase identifier.
         * @return the {@link PhaseId}.
         */
        public static synchronized PhaseId of(String phase) {
            return INSTANCES.computeIfAbsent(phase, PhaseId::new);
        }
    
        /**
         * Constructor.
         *
         * @param phase the phase identifier string.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

    /**
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    class Graph {
    
        final Map<String, Set<String>> graph = new LinkedHashMap<>();
    
        synchronized void addEdge(String from, String to) throws CycleDetectedException {
            if (graph.computeIfAbsent(from, l -> new HashSet<>()).add(to)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Maps.java

       *
       * @param bimap the bimap to be wrapped in a synchronized view
       * @return a synchronized view of the specified bimap
       */
      @J2ktIncompatible // Synchronized
      public static <K extends @Nullable Object, V extends @Nullable Object>
          BiMap<K, V> synchronizedBiMap(BiMap<K, V> bimap) {
        return Synchronized.biMap(bimap, null);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
Back to Top