Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 1,653 for length (0.16 sec)

  1. cmd/storage-rest-client.go

    func (client *storageRESTClient) callGet(ctx context.Context, rpcMethod string, values url.Values, body io.Reader, length int64) (io.ReadCloser, error) {
    	if values == nil {
    		values = make(url.Values)
    	}
    	values.Set(storageRESTDiskID, *client.diskID.Load())
    	respBody, err := client.restClient.CallWithHTTPMethod(ctx, http.MethodGet, rpcMethod, values, body, length)
    	if err != nil {
    		return nil, toStorageErr(err)
    	}
    	return respBody, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/AbstractByteHasher.java

      /** Updates this hasher with the given byte. */
      protected abstract void update(byte b);
    
      /** Updates this hasher with the given bytes. */
      protected void update(byte[] b) {
        update(b, 0, b.length);
      }
    
      /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */
      protected void update(byte[] b, int off, int len) {
        for (int i = off; i < off + len; i++) {
          update(b[i]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                  public SampleElements<E> samples() {
                    return delegate.samples();
                  }
    
                  @Override
                  public E[] createArray(int length) {
                    return delegate.createArray(length);
                  }
    
                  @Override
                  public Iterable<E> order(List<E> insertionOrder) {
                    List<E> list = new ArrayList<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. misc/chrome/gophertool/popup.js

    function openURL(url) {
      chrome.tabs.create({ "url": url })
    }
    
    function addLinks() {
      var links = document.getElementsByTagName("a");
      for (var i = 0; i < links.length; i++) {
        var url = links[i].getAttribute("url");
        if (url)
          links[i].addEventListener("click", function () {
            openURL(this.getAttribute("url"));
          });
      }
    }
    
    window.addEventListener("load", function () {
      addLinks();
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sun Oct 21 17:05:21 UTC 2012
    - 1020 bytes
    - Viewed (0)
  5. src/bytes/buffer.go

    var ErrTooLarge = errors.New("bytes.Buffer: too large")
    var errNegativeRead = errors.New("bytes.Buffer: reader returned negative count from Read")
    
    const maxInt = int(^uint(0) >> 1)
    
    // Bytes returns a slice of length b.Len() holding the unread portion of the buffer.
    // The slice is valid for use only until the next buffer modification (that is,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/InternetDomainName.java

        // levels equals the number of dots that are getting clipped away, then add the length of each
        // clipped part to get the length of the leading substring that is being removed.
        int substringFrom = levels;
        for (int i = 0; i < levels; i++) {
          substringFrom += parts.get(i).length();
        }
        String ancestorName = name.substring(substringFrom);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Striped64.java

        } else h = hc[0];
        boolean collide = false; // True if last slot nonempty
        for (; ; ) {
          Cell[] as;
          Cell a;
          int n;
          long v;
          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
              if (busy == 0) { // Try to attach new Cell
                Cell r = new Cell(x); // Optimistically create
                if (busy == 0 && casBusy()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/lib/lib-query.libsonnet

    {
      sum(query, by=[]):
        if std.length(by) == 0 then
          'sum (%s)' % [query]
        else
          'sum by (%s) (%s)' % [std.join(',', by), query],
      irate(query):
        'irate(%s[$__rate_interval])' % query,
      rate(query):
        'rate(%s[$__rate_interval])' % query,
      round(query, by=0.01):
        'round(%s, %s)' % [query, by],
      quantile(quantile, query):
        'histogram_quantile(%s, %s)' %[quantile, query],
      labels(metric_name, labels):
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            dstIndex += writeHeaderWireFormat(dst, dstIndex);
            dstIndex += writeAndXWireFormat(dst, dstIndex);
            this.length = dstIndex - start;
    
            if ( this.digest != null ) {
                this.digest.sign(dst, this.headerStart, this.length, this, this.getResponse());
            }
    
            return this.length;
        }
    
    
        /*
         * We overload this because we want readAndXWireFormat to
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                }
                catch ( UnsupportedEncodingException uee ) {
                    throw new RuntimeCIFSException(uee);
                }
                int i, u;
                int end = userInfo.length();
                for ( i = 0, u = 0; i < end; i++ ) {
                    char c = userInfo.charAt(i);
                    if ( c == ';' ) {
                        dom = userInfo.substring(0, i);
                        u = i + 1;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
Back to top