Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,576 for pcount (0.11 sec)

  1. src/internal/coverage/cformat/format.go

    	if fm.cm == coverage.CtrModeSet {
    		if count != 0 || pcount != 0 {
    			result = 1
    		}
    	} else {
    		// Use saturating arithmetic.
    		result, _ = cmerge.SaturatingAdd(pcount, count)
    	}
    	fm.p.unitTable[ukey] = result
    }
    
    // sortUnits sorts a slice of extcu objects in a package according to
    // source position information (e.g. file and line). Note that we don't
    // include function name as part of the sorting criteria, the thinking
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

                Map<String, String> fieldRuleMap = newLinkedHashMap();
                fieldRuleMap.put("title", "//TITLE");
                fieldRuleMap.put("body", "//BODY");
                fieldRuleMap.put("pcount", "count(//P)");
                fieldRuleMap.put("true", "true()");
                fieldRuleMap.put("false", "false()");
                xpathTransformer.setFieldRuleMap(fieldRuleMap);
            }
            {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/tutorial/count/tests/count.sample.conf

    # tag::cli[]
    # gradle --quiet count
    # end::cli[]
    executable: gradle
    args: count
    flags: --quiet
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 127 bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java

            }
        }
    
        /**
         * Converts this amount to an equivalent amount in the specified units.
         *
         * @return The converted amount.
         */
        public Amount<Q> toUnits(Units<Q> units) {
            if (units.equals(this.units)) {
                return this;
            }
            return new Amount<>(this.units.scaleTo(value, units), units);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/resource/amount.go

    	exponent = int32(-a.Dec.Scale())
    	amount := big.NewInt(0).Set(mantissa)
    	// move all factors of 10 into the exponent for easy reasoning
    	amount, times := removeBigIntFactors(amount, bigTen)
    	exponent += times
    
    	// make sure exponent is a multiple of 3
    	for exponent%3 != 0 {
    		amount.Mul(amount, bigTen)
    		exponent--
    	}
    
    	return append(out, amount.String()...), exponent
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 19:42:28 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/tutorial/count/tests/count.out

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go

    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			counts := test.counts
    			if len(counts) == 0 {
    				counts = map[string]int64{}
    			}
    			countsFn := func(key string) (int64, error) {
    				return counts[key], test.countErr
    			}
    			watchCountsFn := func(_ *apirequest.RequestInfo) int {
    				return test.watchCount
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. tests/delete_test.go

    	if len(results) != 2 {
    		t.Errorf("failed to return delete data, got %v", results)
    	}
    
    	var count int64
    	DB.Model(&User{}).Where("name IN ?", []string{users[0].Name, users[1].Name, users[2].Name}).Count(&count)
    	if count != 1 {
    		t.Errorf("failed to delete data, current count %v", count)
    	}
    }
    
    func TestDeleteReturning(t *testing.T) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  9. src/math/big/floatconv.go

    	exp2 := int64(len(z.mant))*_W - fnorm(z.mant)
    	exp5 := int64(0)
    
    	// determine binary or decimal exponent contribution of radix point
    	if fcount < 0 {
    		// The mantissa has a radix point ddd.dddd; and
    		// -fcount is the number of digits to the right
    		// of '.'. Adjust relevant exponent accordingly.
    		d := int64(fcount)
    		switch b {
    		case 10:
    			exp5 = d
    			fallthrough // 10**e == 5**e * 2**e
    		case 2:
    			exp2 += d
    		case 8:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/EnumMultiset.java

      @Override
      public int setCount(E element, int count) {
        checkIsE(element);
        checkNonnegative(count, "count");
        int index = element.ordinal();
        int oldCount = counts[index];
        counts[index] = count;
        size += count - oldCount;
        if (oldCount == 0 && count > 0) {
          distinctElements++;
        } else if (oldCount > 0 && count == 0) {
          distinctElements--;
        }
        return oldCount;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top