Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 336 for Synchronized (0.08 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

        /**
         * Ensures that the file handle is open and returns it.
         *
         * @return the open file handle
         * @throws CIFSException if an error occurs opening the file
         */
        protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (!isOpen()) {
                // 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
    - 12.8K bytes
    - Click Count (0)
  5. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  6. android/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: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                if (totalProjects <= 1) {
                    infoMain(building);
                } else {
                    // display progress [i/n]
                    int number;
                    synchronized (this) {
                        number = ++currentVisitedProjectCount;
                    }
                    String progress = " [" + number + '/' + totalProjects + ']';
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
  10. 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)
Back to Top