Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 206 for sum (0.07 sec)

  1. tests/joins_test.go

    	iv := DB.Table(`table_invoices`).Select(`seller, SUM(total) as total, SUM(paid) as paid, SUM(balance) as balance`).Group(`seller`)
    	stmt = dryDB.Table(`table_employees`).Select(`id, name, iv.total, iv.paid, iv.balance`).Joins(`LEFT JOIN (?) AS iv ON iv.seller = table_employees.id`, iv).Scan(&user).Statement
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. internal/hash/reader.go

    				return 0, SizeTooLarge{Want: r.expectedMax, Got: r.bytesRead}
    			}
    		}
    
    		if r.sha256 != nil {
    			if sum := r.sha256.Sum(nil); !bytes.Equal(r.contentSHA256, sum) {
    				return n, SHA256Mismatch{
    					ExpectedSHA256:   hex.EncodeToString(r.contentSHA256),
    					CalculatedSHA256: hex.EncodeToString(sum),
    				}
    			}
    		}
    		if r.contentHasher != nil {
    			if r.contentHash.Type.Trailing() {
    				var err error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/AbstractCache.java

          return new CacheStats(
              negativeToMaxValue(hitCount.sum()),
              negativeToMaxValue(missCount.sum()),
              negativeToMaxValue(loadSuccessCount.sum()),
              negativeToMaxValue(loadExceptionCount.sum()),
              negativeToMaxValue(totalLoadTime.sum()),
              negativeToMaxValue(evictionCount.sum()));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  4. istioctl/pkg/metrics/metrics_test.go

    	mockProm := mockPromAPI{
    		cannedResponse: map[string]prometheus_model.Value{
    			"sum(rate(istio_requests_total{destination_workload=~\"details.*\", destination_workload_namespace=~\".*\",reporter=\"destination\"}[1m0s]))": prometheus_model.Vector{ // nolint: lll
    				&prometheus_model.Sample{Value: 0.04},
    			},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 01:35:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. go.env

    # The environment overrides everything else.
    
    # Use the Go module mirror and checksum database by default.
    # See https://proxy.golang.org for details.
    GOPROXY=https://proxy.golang.org,direct
    GOSUMDB=sum.golang.org
    
    # Automatically download newer toolchains as directed by go.mod files.
    # See https://go.dev/doc/toolchain for details.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 06 19:18:46 UTC 2023
    - 505 bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

      public void testHashCode() {
        int expectedHashCode = 0;
        for (Entry<K, V> entry : getSampleEntries()) {
          expectedHashCode += hash(entry);
        }
        assertEquals(
            "A Map's hashCode() should be the sum of those of its entries.",
            expectedHashCode,
            getMap().hashCode());
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. cmd/site-replication.go

    			}
    			// no mismatch
    			for _, s := range slc {
    				sum := info.StatsSummary[s.DeploymentID]
    				if !olockCfgMismatch && olockCfgCount == numSites {
    					sum.ReplicatedLockConfig++
    				}
    				if !versionCfgMismatch && versionCfgCount == numSites {
    					sum.ReplicatedVersioningConfig++
    				}
    				if !sseCfgMismatch && sseCfgCount == numSites {
    					sum.ReplicatedSSEConfig++
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        }
      }
    
      /** getAndAccumulate with sum adds given value to current, and returns previous value */
      public void testGetAndAccumulateWithSum() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          for (double x : VALUES) {
            for (double y : VALUES) {
              aa.set(i, x);
              double z = aa.getAndAccumulate(i, y, Double::sum);
              assertBitEquals(x, z);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. cmd/bitrot-whole.go

    // Returns whole-file bitrot reader.
    func newWholeBitrotReader(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, tillOffset int64, sum []byte) *wholeBitrotReader {
    	return &wholeBitrotReader{
    		disk:       disk,
    		volume:     volume,
    		filePath:   filePath,
    		verifier:   &BitrotVerifier{algo, sum},
    		tillOffset: tillOffset,
    		buf:        nil,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LongAddable.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    interface LongAddable {
      void increment();
    
      void add(long x);
    
      long sum();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 918 bytes
    - Viewed (0)
Back to top