Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1221 - 1230 of 2,768 for Add (0.08 seconds)

  1. cmd/bucket-targets.go

    }
    
    type latencyStat struct {
    	lastmin lastMinuteLatency
    	curr    time.Duration
    	avg     time.Duration
    	peak    time.Duration
    	N       int64
    }
    
    func (l *latencyStat) update(d time.Duration) {
    	l.lastmin.add(d)
    	l.N++
    	if d > l.peak {
    		l.peak = d
    	}
    	l.curr = l.lastmin.getTotal().avg()
    	l.avg = time.Duration((int64(l.avg)*(l.N-1) + int64(l.curr)) / l.N)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  2. internal/hash/checksum_test.go

    	checksumCombined = append(checksumCombined, part2Checksum.Raw...)
    	checksumCombined = append(checksumCombined, part3Checksum.Raw...)
    
    	// Create the final checksum (checksum of the combined checksums)
    	// Add BOTH the multipart flag AND the includes-multipart flag
    	finalChecksumType := checksumType | ChecksumMultipart | ChecksumIncludesMultipart
    	finalChecksum := NewChecksumFromData(finalChecksumType, checksumCombined)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

         *
         * @param offset the offset to set
         */
        public void setOffset(final long offset) {
            this.offset = offset;
        }
    
        /**
         * Add RDMA channel information for direct memory access
         *
         * @param remoteKey remote memory key
         * @param address remote memory address
         * @param length length of memory region
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

            @Override
            public boolean removeAll(Collection<?> c) {
                throw uoe();
            }
    
            @Override
            public boolean add(E e) {
                throw uoe();
            }
    
            @Override
            public boolean remove(Object o) {
                throw uoe();
            }
    
            @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jul 07 11:47:42 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. fastapi/exceptions.py

                    Any headers to send to the client in the response.
    
                    Read more about it in the
                    [FastAPI docs for Handling Errors](https://fastapi.tiangolo.com/tutorial/handling-errors/#add-custom-headers)
    
                    """
                ),
            ] = None,
        ) -> None:
            super().__init__(status_code=status_code, detail=detail, headers=headers)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * <p>Note: This means that a test like the following will fail if {@code collection} is a {@code
       * Set}:
       *
       * <pre>
       * collection.add(existingElement);
       * expectAdded(existingElement);</pre>
       *
       * <p>In this case, {@code collection} was not modified as a result of the {@code add()} call, and
       * the test will fail because the number of occurrences of {@code existingElement} is unchanged.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

            searchLog.setUserSessionId("session123");
            searchLog.setClientIp("192.168.1.1");
            searchLog.setSearchWord("test");
            searchLog.setRequestedAt(LocalDateTime.now());
            searchLogList.add(searchLog);
    
            try {
                suggestHelper.indexFromSearchLog(searchLogList);
                assertTrue(true);
            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  8. src/bufio/example_test.go

    }
    
    // The simplest use of a Scanner, to read standard input as a set of lines.
    func ExampleScanner_lines() {
    	scanner := bufio.NewScanner(os.Stdin)
    	for scanner.Scan() {
    		fmt.Println(scanner.Text()) // Println will add back the final '\n'
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "reading standard input:", err)
    	}
    }
    
    // Return the most recent call to Scan as a []byte.
    func ExampleScanner_Bytes() {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 01 21:52:12 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

            // The current version is being worked, is always unreleased
            unreleased.add(currentVersion);
    
            // the tip of the previous major is unreleased for sure, be it a minor or a bugfix
            final Version latestOfPreviousMajor = getLatestVersionByKey(this.groupByMajor, currentVersion.getMajor() - 1);
            unreleased.add(latestOfPreviousMajor);
            if (latestOfPreviousMajor.getRevision() == 0) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        oneValueAccumulator = new PairedStatsAccumulator();
        oneValueAccumulator.add(ONE_VALUE, OTHER_ONE_VALUE);
    
        oneValueAccumulatorByAddAllEmptyPairedStats = new PairedStatsAccumulator();
        oneValueAccumulatorByAddAllEmptyPairedStats.add(ONE_VALUE, OTHER_ONE_VALUE);
        oneValueAccumulatorByAddAllEmptyPairedStats.addAll(emptyAccumulator.snapshot());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 23.5K bytes
    - Click Count (0)
Back to Top