Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,447 for receiver (0.06 sec)

  1. cmd/storage-rest-server.go

    // The returned function should always be called to release resources.
    // An optional error can be sent which will be picked as text only error,
    // without its original type by the receiver.
    // waitForHTTPResponse should be used to the receiving side.
    func keepHTTPReqResponseAlive(w http.ResponseWriter, r *http.Request) (resp func(error), body io.ReadCloser) {
    	bodyDoneCh := make(chan struct{})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  2. src/builtin/builtin.go

    // bidirectional or send-only. It should be executed only by the sender,
    // never the receiver, and has the effect of shutting down the channel after
    // the last sent value is received. After the last value has been received
    // from a closed channel c, any receive from c will succeed without
    // blocking, returning the zero value for the channel element. The form
    //
    //	x, ok := <-c
    //
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 30 23:59:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                // Negative value should be written as-is (interpreted as unsigned by receiver)
                assertEquals(-1L, SMBUtil.readInt8(buffer, 8));
            }
    
            @Test
            @DisplayName("Should handle zero-length read")
            void testZeroLengthRead() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                // Negative value should be written as-is (interpreted as unsigned by receiver)
                assertEquals(-1L, SMBUtil.readInt8(buffer, 8));
            }
    
            @Test
            @DisplayName("Should handle zero-length file ID")
            void testZeroLengthFileId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      }
    
      /**
       * Marks this step as the last step in the {@code ClosingFuture} pipeline. When this step is done,
       * {@code receiver} will be called with an object that contains the result of the operation. The
       * receiver can store the {@link ValueAndCloser} outside the receiver for later synchronous use.
       *
       * <p>After calling this method, you may not call {@link #finishToFuture()}, this method again, or
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  6. cmd/metacache-entries.go

    }
    
    // shallowClone will create a shallow clone of the array objects,
    // but object metadata will not be cloned.
    func (m metaCacheEntriesSorted) shallowClone() metaCacheEntriesSorted {
    	// We have value receiver so we already have a copy.
    	m.o = m.o.shallowClone()
    	return m
    }
    
    // fileInfoVersions converts the metadata to FileInfoVersions where possible.
    // Metadata that cannot be decoded is skipped.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    // and an error is returned explaining why.
    //
    // As a by-product of checking the fields, this function returns paxHdrs, which
    // contain all fields that could not be directly encoded.
    // A value receiver ensures that this method does not mutate the source Header.
    func (h Header) allowedFormats() (format Format, paxHdrs map[string]string, err error) {
    	format = FormatUSTAR | FormatPAX | FormatGNU
    	paxHdrs = make(map[string]string)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. cmd/data-usage-cache.go

    		e.Children = make(dataUsageHashMap, 1)
    	}
    	e.Children[hash.Key()] = struct{}{}
    }
    
    // Create a clone of the entry.
    func (e dataUsageEntry) clone() dataUsageEntry {
    	// We operate on a copy from the receiver.
    	if e.Children != nil {
    		ch := make(dataUsageHashMap, len(e.Children))
    		maps.Copy(ch, e.Children)
    		e.Children = ch
    	}
    
    	if e.AllTierStats != nil {
    		e.AllTierStats = e.AllTierStats.clone()
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ClosingFuture.java

      }
    
      /**
       * Marks this step as the last step in the {@code ClosingFuture} pipeline. When this step is done,
       * {@code receiver} will be called with an object that contains the result of the operation. The
       * receiver can store the {@link ValueAndCloser} outside the receiver for later synchronous use.
       *
       * <p>After calling this method, you may not call {@link #finishToFuture()}, this method again, or
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    		return
    	}
    	setEventStreamHeaders(w)
    
    	// Trace Publisher and peer-trace-client uses nonblocking send and hence does not wait for slow receivers.
    	// Keep 100k buffered channel.
    	// If receiver cannot keep up with that we drop events.
    	traceCh := make(chan []byte, 100000)
    	peers, _ := newPeerRestClients(globalEndpoints)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
Back to top