Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 471 for blocking (0.04 seconds)

  1. cmd/main.go

    // Main main for minio server.
    func Main(args []string) {
    	// Set the minio app name.
    	appName := filepath.Base(args[0])
    
    	if debugNoExit {
    		freeze := func(_ int) {
    			// Infinite blocking op
    			<-make(chan struct{})
    		}
    
    		// Override the logger os.Exit()
    		logger.ExitFunc = freeze
    
    		defer func() {
    			if err := recover(); err != nil {
    				fmt.Println("panic:", err)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jul 30 22:59:48 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

            } finally {
              taskRunner.withLock {
                activeThreads--
                startNextTask()
              }
            }
          }
        }
      }
    
      /**
       * This blocking queue hooks into a fake clock rather than using regular JVM timing for functions
       * like [poll]. It is only usable within task faker tasks.
       */
      private inner class TaskFakerBlockingQueue<T>(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        val pooled1 = planReusePooledConnection()
        if (pooled1 != null) return pooled1
    
        // Attempt a deferred plan before new routes.
        if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst()
    
        // Do blocking calls to plan a route for a new connection.
        val connect = planConnect()
    
        // Now that we have a set of IP addresses, make another attempt at getting a connection from
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. README.md

    configured to fall back for broad connectivity.
    
    Using OkHttp is easy. Its request/response API is designed with fluent builders and immutability. It
    supports both synchronous blocking calls and async calls with callbacks.
    
    A well behaved user agent
    -------------------------
    
    OkHttp follows modern HTTP specifications such as
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. internal/grid/muxserver.go

    			wg.Wait()
    			defer xioutil.SafeClose(handlerIn)
    			m.handleInbound(c, inbound, handlerIn)
    		}(m.inbound)
    	}
    	// Fill outbound block.
    	// Each token represents a message that can be sent to the client without blocking.
    	// The client will refill the tokens as they confirm delivery of the messages.
    	for range outboundCap {
    		m.outBlock <- struct{}{}
    	}
    
    	// Handler goroutine.
    	var handlerErr atomic.Pointer[RemoteErr]
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/AbstractCache.java

        /**
         * Records cache misses. This should be called when a cache request returns a value that was not
         * found in the cache. This method should be called by the loading thread, as well as by threads
         * blocking on the load. Multiple concurrent calls to {@link Cache} lookup methods with the same
         * key on an absent value should result in a single call to either {@code recordLoadSuccess} or
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/AbstractCache.java

        /**
         * Records cache misses. This should be called when a cache request returns a value that was not
         * found in the cache. This method should be called by the loading thread, as well as by threads
         * blocking on the load. Multiple concurrent calls to {@link Cache} lookup methods with the same
         * key on an absent value should result in a single call to either {@code recordLoadSuccess} or
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  8. README.md

    - **Flexible Text Processing**: Configurable converters and normalizers for text transformation
    - **OpenSearch Integration**: Seamless integration with OpenSearch/Elasticsearch clusters
    - **Asynchronous Operations**: Non-blocking suggestion requests with callback support
    - **Index Management**: Automatic index creation, switching, and maintenance
    - **Customizable Scoring**: User boost, document frequency, and query frequency weighting
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun Aug 31 03:31:14 GMT 2025
    - 12.1K bytes
    - Click Count (1)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                // Create a file where .mvn directory should be (to cause creation failure)
                Path mvnFile = projectDir.resolve(".mvn");
                Files.writeString(mvnFile, "blocking file");
    
                UpgradeContext context = createMockContext(projectDir);
    
                // Mock successful strategy execution
                when(mockOrchestrator.executeStrategies(Mockito.any(), Mockito.any()))
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  10. internal/ioutil/ioutil.go

    type DeadlineWriter struct {
    	io.WriteCloser
    	timeout time.Duration
    	err     error
    }
    
    // NewDeadlineWriter wraps a writer to make it respect given deadline
    // value per Write(). If there is a blocking write, the returned Writer
    // will return whenever the timer hits (the return values are n=0
    // and err=context.DeadlineExceeded.)
    func NewDeadlineWriter(w io.WriteCloser, timeout time.Duration) io.WriteCloser {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top