Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 1,111 for appends (0.07 seconds)

  1. android/guava/src/com/google/common/collect/Sets.java

        public int hashCode() {
          /*
           * The sum of the sums of the hash codes in each subset is just the sum of
           * each input element's hash code times the number of sets that element
           * appears in. Each element appears in exactly half of the 2^n sets, so:
           */
          return inputSet.keySet().hashCode() << (inputSet.size() - 1);
        }
    
        @Override
        public String toString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/Quantiles.java

     *
     * <p>When calling {@link ScaleAndIndex#compute} (in {@linkplain ScaleAndIndexes#compute either
     * form}), the memory requirement is 8*N bytes for the copy of the dataset plus an overhead which is
     * independent of N (but depends on the quantiles being computed). When calling {@link
     * ScaleAndIndex#computeInPlace computeInPlace} (in {@linkplain ScaleAndIndexes#computeInPlace
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            // omitMarker = "\n...[omitted]...\n" (18 chars), suffix="" (no sources), bodyBudget = 500 - 0 - 18 = 482
            // Content of 482 chars is <= bodyBudget, so returned with suffix (empty) appended as-is
            final String content = "X".repeat(482);
            final ChatMessage msg = ChatMessage.assistantMessage(content);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  4. cmd/server_test.go

    		// execute the http request.
    		response, err = s.client.Do(request)
    		c.Assert(err, nil)
    		// assert the status of http response.
    		c.Assert(response.StatusCode, http.StatusOK)
    		// Append all objects.
    		delObjReq.Objects = append(delObjReq.Objects, ObjectToDelete{
    			ObjectV: ObjectV{
    				ObjectName: objName,
    			},
    		})
    	}
    	// Marshal delete request.
    	deleteReqBytes, err := xml.Marshal(delObjReq)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/ByteStreams.java

       * WritableByteChannel)}:
       *
       * <ol>
       *   <li>Use sendfile(2) or equivalent. Requires that both the input channel and the output
       *       channel have their own file descriptors. Generally this only happens when both channels
       *       are files or sockets. This performs zero copies - the bytes never enter userspace.
       *   <li>Use mmap(2) or equivalent. Requires that either the input channel or the output channel
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

         * when {@link LookupContext#pushedUserProperties} is null will push user properties IF key does not already
         * exist among Java System Properties, and collects all they key it pushes. Second invocation happens AFTER
         * {@link PropertyContributor} SPI invocation, and "refreshes" already pushed user properties by re-writing them
         * as SPI may have modified them.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * equal to the result of applying {@code countFunction} to the inputs.
       *
       * <p>If the mapped elements contain duplicates (according to {@code comparator}), the first
       * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of
       * the outputs of {@code countFunction.applyAsInt(t)} for each {@code t} mapped to that element.
       *
       * @since 33.2.0 (available since 22.0 in guava-jre)
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/io/CopyUtil.java

            try {
                final char[] buf = new char[DEFAULT_BUF_SIZE];
                int len;
                int amount = 0;
                while ((len = in.read(buf)) != -1) {
                    out.append(buf, 0, len);
                    amount += len;
                }
                return amount;
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  9. internal/bucket/lifecycle/lifecycle_test.go

    }
    
    func TestNoncurrentVersionsLimit(t *testing.T) {
    	// test that the lowest max noncurrent versions limit is returned among
    	// matching rules
    	var rules []Rule
    	for i := 1; i <= 10; i++ {
    		rules = append(rules, Rule{
    			ID:     strconv.Itoa(i),
    			Status: "Enabled",
    			NoncurrentVersionExpiration: NoncurrentVersionExpiration{
    				NewerNoncurrentVersions: i,
    				NoncurrentDays:          ExpirationDays(i),
    			},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/CompactHashMap.java

     * supported. Null keys and values are supported.
     *
     * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and
     * amortized) constant time operations. Expected in the hashtable sense (depends on the hash
     * function doing a good job of distributing the elements to the buckets to a distribution not far
     * from uniform), and amortized since some operations can trigger a hash table resize.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
Back to Top