Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for AppendTo (0.11 sec)

  1. guava-tests/test/com/google/common/base/JoinerTest.java

        assertSame(sb1FromIterable, joiner.appendTo(sb1FromIterable, set));
        assertEquals(0, sb1FromIterable.length());
    
        StringBuilder sb1FromIterator = new StringBuilder();
        assertSame(sb1FromIterator, joiner.appendTo(sb1FromIterator, set));
        assertEquals(0, sb1FromIterator.length());
    
        StringBuilder sb2 = new StringBuilder();
        assertSame(sb2, joiner.appendTo(sb2, array));
        assertEquals(0, sb2.length());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-utils_test.go

    			allVersionIDs = append(allVersionIDs, fi.TierFreeVersionID())
    		} else {
    			versions = append(versions, fi)
    			allVersionIDs = append(allVersionIDs, fi.VersionID)
    		}
    	}
    	buf, err := xl.AppendTo(nil)
    	if err != nil {
    		t.Fatalf("Failed to serialize xlmeta %v", err)
    	}
    	fivs, err := getFileInfoVersions(buf, basefi.Volume, basefi.Name, false)
    	if err != nil {
    		t.Fatalf("getFileInfoVersions failed: %v", err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. internal/hash/checksum.go

    func NewChecksumString(alg, value string) *Checksum {
    	return NewChecksumWithType(NewChecksumType(alg), value)
    }
    
    // AppendTo will append the checksum to b.
    // 'parts' is used when checksum has ChecksumMultipart set.
    // ReadCheckSums reads the values back.
    func (c *Checksum) AppendTo(b []byte, parts []byte) []byte {
    	if c == nil {
    		return nil
    	}
    	var tmp [binary.MaxVarintLen32]byte
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    		}
    
    		buf, err = xlMeta.AppendTo(metaDataPoolGet())
    		defer metaDataPoolPut(buf)
    		if err != nil {
    			return err
    		}
    	} else {
    		if err = xlMeta.Load(buf); err != nil {
    			// Corrupted data, reset and write.
    			xlMeta = xlMetaV2{}
    		}
    
    		if err = xlMeta.AddVersion(fi); err != nil {
    			return err
    		}
    
    		buf, err = xlMeta.AppendTo(metaDataPoolGet())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  5. cmd/metacache-entries.go

    	if len(selected.cached.versions) == 0 {
    		return nil, false
    	}
    
    	// Reserialize
    	var err error
    	selected.metadata, err = selected.cached.AppendTo(metaDataPoolGet())
    	if err != nil {
    		bugLogIf(context.Background(), err)
    		return nil, false
    	}
    	return selected, true
    }
    
    // firstFound returns the first found and the number of set entries.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Splitter.java

          @Override
          public Iterator<String> iterator() {
            return splittingIterator(sequence);
          }
    
          @Override
          public String toString() {
            return Joiner.on(", ")
                .appendTo(new StringBuilder().append('['), this)
                .append(']')
                .toString();
          }
        };
      }
    
      private Iterator<String> splittingIterator(CharSequence sequence) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/MediaType.java

                  (String value) ->
                      (TOKEN_MATCHER.matchesAllOf(value) && !value.isEmpty())
                          ? value
                          : escapeAndQuote(value));
          PARAMETER_JOINER.appendTo(builder, quotedParameters.entries());
        }
        return builder.toString();
      }
    
      private static String escapeAndQuote(String value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    				meta:   encoded,
    			}
    			return nil
    		}
    	}
    	return fmt.Errorf("addVersion: Internal error, unable to add version")
    }
    
    // AppendTo will marshal the data in z and append it to the provided slice.
    func (x *xlMetaV2) AppendTo(dst []byte) ([]byte, error) {
    	// Header...
    	sz := len(xlHeader) + len(xlVersionCurrent) + msgp.ArrayHeaderSize + len(dst) + 3*msgp.Uint32Size
    	// Existing + Inline data
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  9. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                    '</div>' +
                '</div>';
    
            this.parentEl = (options.parentEl && $(options.parentEl).length) ? $(options.parentEl) : $(this.parentEl);
            this.container = $(options.template).appendTo(this.parentEl);
    
            //
            // handle all the possible options overriding defaults
            //
    
            if (typeof options.locale === 'object') {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/bootstrap.min.js

     e=this,n=o.default(this._element).hasClass(dt)?dt:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),o.default(this._backdrop).appendTo(document.body),o.default(this._element).on(vt,(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._triggerBackdropTransition():e.hide())})),n&&d.reflow(this._backdrop),o.defa...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 61.1K bytes
    - Viewed (0)
Back to top