Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for Fuller (0.19 sec)

  1. cmd/storage-rest-server.go

    				// concurrently, check for it before we
    				// write the filler byte.
    				select {
    				case err := <-doneCh:
    					if err != nil {
    						write([]byte{1})
    						write([]byte(err.Error()))
    					} else {
    						write([]byte{0})
    					}
    					return
    				default:
    				}
    
    				// Response not ready, write a filler byte.
    				write([]byte{32})
    				if canWrite {
    					w.(http.Flusher).Flush()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. internal/grid/handlers.go

    // Handlers can use this to create a reusable response.
    // The response may be reused, so caller should clear any fields.
    func (h *SingleHandler[Req, Resp]) NewResponse() Resp {
    	return h.newResp()
    }
    
    // NewRequest creates a new request.
    // Handlers can use this to create a reusable request.
    // The request may be reused, so caller should clear any fields.
    func (h *SingleHandler[Req, Resp]) NewRequest() Req {
    	return h.newReq()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  3. internal/logger/logger.go

    		f = strings.TrimPrefix(filepath.ToSlash(f), filepath.ToSlash(trimString))
    	}
    	return filepath.FromSlash(f)
    }
    
    func getSource(level int) string {
    	pc, file, lineNumber, ok := runtime.Caller(level)
    	if ok {
    		// Clean up the common prefixes
    		file = trimTrace(file)
    		_, funcName := filepath.Split(runtime.FuncForPC(pc).Name())
    		return fmt.Sprintf("%v:%v:%v()", file, lineNumber, funcName)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          sink.flush()
        }
    
        override fun close() {
          if (closed) return
          closed = true
          detachTimeout(timeout)
          state = STATE_READ_RESPONSE_HEADERS
        }
      }
    
      /**
       * An HTTP body with alternating chunk sizes and chunk bodies. It is the caller's responsibility
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

       * enqueue messages followed by pongs, but this sends pongs followed by messages. Pongs are always
       * written in the order they were enqueued.
       *
       * If a frame cannot be sent - because there are none enqueued or because the web socket is not
       * connected - this does nothing and returns false. Otherwise this returns true and the caller
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteSource.java

     *
     * <p>{@code ByteSource} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a stream:</b> These methods should return a <i>new</i>, independent
     *       instance each time they are called. The caller is responsible for ensuring that the
     *       returned stream is closed.
     *   <li><b>Convenience methods:</b> These are implementations of common operations that are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    	if err != nil {
    		return nil, err
    	}
    	cl.subroute = &c.subID
    	return cl, nil
    }
    
    // Request allows to do a single remote request.
    // 'req' will not be used after the call and caller can reuse.
    // If no deadline is set on ctx, a 1-minute deadline will be added.
    func (c *Connection) Request(ctx context.Context, h HandlerID, req []byte) ([]byte, error) {
    	if !h.valid() {
    		return nil, ErrUnknownHandler
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  8. internal/etag/etag.go

    //     In this case, the caller has to decrypt the ETag first
    //     before calling Format.
    //     S3 clients expect that the ETag of an SSE-S3 encrypted
    //     single-part object is equal to the object's content MD5.
    //     Formatting the SSE-S3 ETag before decryption will result
    //     in a random-looking ETag which an S3 client will not accept.
    //
    // Hence, a caller has to check:
    //
    //	if method == SSE-S3 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        waiter.awaitWaiting();
        PollingThread poller = new PollingThread(future);
        poller.start();
        PollingThread poller2 = new PollingThread(future);
        poller2.start();
        PollingThread poller3 = new PollingThread(future);
        poller3.start();
        poller.awaitInLoop();
        poller2.awaitInLoop();
        poller3.awaitInLoop();
    
        // The waiter queue should be {poller x 3}->waiter1
        waiter.interrupt();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        waiter.awaitWaiting();
        PollingThread poller = new PollingThread(future);
        poller.start();
        PollingThread poller2 = new PollingThread(future);
        poller2.start();
        PollingThread poller3 = new PollingThread(future);
        poller3.start();
        poller.awaitInLoop();
        poller2.awaitInLoop();
        poller3.awaitInLoop();
    
        // The waiter queue should be {poller x 3}->waiter1
        waiter.interrupt();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
Back to top