Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 326 for synchronize (0.06 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                throws ModelInterpolationException {
            if (!src.contains("${")) {
                return src;
            }
    
            Logger logger = getLogger();
    
            String result = src;
            synchronized (this) {
                for (ValueSource vs : valueSources) {
                    interpolator.addValueSource(vs);
                }
    
                for (InterpolationPostProcessor postProcessor : postProcessors) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  2. 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)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.received = true;
            synchronized (this) {
                notifyAll();
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#exception(java.lang.Exception)
         */
        @Override
        public void exception(final Exception e) {
            this.exception = e;
            synchronized (this) {
                notifyAll();
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/StandardTable.java

     * since an iteration across all row keys occurs.
     *
     * <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.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    class StandardTable<R, C, V> extends AbstractTable<R, C, V> implements Serializable {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

                }
            }
        }
    
        /**
         * Enforces the maximum session cache size.
         */
        protected void enforceMaxSize() {
            final int maxSize = getMaxSessionSize();
            synchronized (sessionCache) {
                if (sessionCache.size() <= maxSize) {
                    return;
                }
    
                final int toRemove = sessionCache.size() - maxSize;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        public org.apache.maven.api.plugin.descriptor.PluginDescriptor getPluginDescriptorV4() {
            if (pluginDescriptorV4 == null) {
                synchronized (this) {
                    if (pluginDescriptorV4 == null) {
                        pluginDescriptorV4 = org.apache.maven.api.plugin.descriptor.PluginDescriptor.newBuilder()
                                .namespaceUri(null)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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();
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
Back to Top